Skip to content
Snippets Groups Projects
Commit 456bc1e5 authored by Alex ubuntu vm's avatar Alex ubuntu vm
Browse files

adjusted deploy so it uses env variables

parent e55b0ce7
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
...@@ -25,14 +25,14 @@ spec: ...@@ -25,14 +25,14 @@ spec:
containers: containers:
- name: l2-ps - name: l2-ps
image: alexdecb/l2-ps:latest image: alexdecb/l2-ps:latest
command: ["/bin/sh", "-c"] command: ["sleep","infinity"]
args: ["ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile=/var/run/openvswitch/ovsdb-server.pid env:
--detach && ovs-vsctl --db=unix:/var/run/openvswitch/db.sock --no-wait init && ovs-vswitchd --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach && - name: NODENAME
ip link set vhost1 up && ip link set vhost2 up && ip link set vhost3 up && ip link set vhost4 up && ip link set vhost5 up && ip link set vhost6 up && ip link set vhost7 up && ip link set vhost8 up && valueFrom:
ip link set vhost9 up && ip link set vhost10 up && ovs-vsctl add-br brtun && ip link set brtun up && fieldRef:
ovs-vsctl add-port brtun vhost1 && ovs-vsctl add-port brtun vhost2 && ovs-vsctl add-port brtun vhost3 && ovs-vsctl add-port brtun vhost4 && ovs-vsctl add-port brtun vhost5 && fieldPath: spec.nodeName
ovs-vsctl add-port brtun vhost6 && ovs-vsctl add-port brtun vhost7 && ovs-vsctl add-port brtun vhost8 && ovs-vsctl add-port brtun vhost9 && ovs-vsctl add-port brtun vhost10 && - name: NVPODS
/bin/sleep 3650d"] value: "10"
imagePullPolicy: Always imagePullPolicy: Always
securityContext: securityContext:
capabilities: capabilities:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment