Commit 5507db11 authored by Piotr Szlenk's avatar Piotr Szlenk

Add multicast demo - testing

parent 081d0d64
......@@ -77,6 +77,7 @@ Vagrant.configure("2") do |config|
k8smaster1.vm.provision "file", source: "calico-with-peering/", destination: "$HOME/calico-with-peering"
k8smaster1.vm.provision "file", source: "calico-vxlan-overlay/", destination: "$HOME/calico-vxlan-overlay"
k8smaster1.vm.provision "file", source: "demo/", destination: "$HOME/demo"
k8smaster1.vm.provision "file", source: "demo-multicast/", destination: "$HOME/demo-multicast"
end
config.vm.define("k8s-node-l1-1") do |k8snode1|
......
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
run: pimd
name: pimd
namespace: kube-system
spec:
selector:
matchLabels:
run: pimd
template:
metadata:
labels:
run: pimd
spec:
containers:
- image: piotrszlenk/pimd
imagePullPolicy: Always
name: pimd
resources: {}
securityContext: {}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: multicast-client
name: multicast-client
namespace: space2
spec:
replicas: 4
selector:
matchLabels:
run: multicast-client
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
run: multicast-client
spec:
containers:
- image: piotrszlenk/multicast
name: multicast-client
command: ["/usr/bin/mcjoin"]
args: ["-d", "225.0.0.1"]
resources: {}
restartPolicy: Always
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: multicast-server
name: multicast-server
namespace: space2
spec:
replicas: 1
selector:
matchLabels:
run: multicast-server
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
run: multicast-server
spec:
containers:
- image: piotrszlenk/multicast
name: multicast-server
command: ["/usr/bin/mcjoin"]
args: ["-sd", "225.0.0.1"]
resources: {}
restartPolicy: Always
apiVersion: v1
kind: Namespace
metadata:
name: space2
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment