-
Alex ubuntu vm authored
Added a working example of the L2S-M usage, showcasing the benefits of using L2S-M in isolating Pods
Alex ubuntu vm authoredAdded a working example of the L2S-M usage, showcasing the benefits of using L2S-M in isolating Pods
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
content-server.yaml 688 B
apiVersion: apps/v1
kind: Deployment
metadata:
name: content-server
spec:
selector:
matchLabels:
app: test4
replicas: 1
template:
metadata:
labels:
app: test4
annotations:
k8s.v1.cni.cncf.io/networks: v-network-2
spec:
containers:
- name: content-server
image: alexdecb/video-server-test:1
command: ["/bin/sh", "-c", "ip a add 10.0.2.2/24 dev net1 && ip route add 10.0.1.0/24 via 10.0.2.1 dev net1 && trap : TERM INT; sleep infinity & wait"]
imagePullPolicy: Always
securityContext:
capabilities:
add: ["NET_ADMIN"]
#nodeName: test-l2sm-uc3m-polito-3