diff --git a/descriptors/deployments/ping.yaml b/descriptors/deployments/ping.yaml index 0fad55fcf6d8d24f5c2479b14904cc5f6112175f..c03b0d2696a585e0d58682d3f402776af63d223b 100644 --- a/descriptors/deployments/ping.yaml +++ b/descriptors/deployments/ping.yaml @@ -1,25 +1,18 @@ -apiVersion: apps/v1 -kind: Deployment +apiVersion: v1 +kind: Pod metadata: - name: ping-l2sm + name: ping + labels: + app: test2 + annotations: + k8s.v1.cni.cncf.io/networks: first-network spec: - replicas: 1 - selector: - matchLabels: - app: ping-pong - template: - metadata: - labels: - app: ping-pong - annotations: - k8s.v1.cni.cncf.io/networks: my-first-network - spec: - containers: - - name: ping - command: ["/bin/ash", "-c", "trap : TERM INT; sleep infinity & wait"] - image: alpine:latest - securityContext: - capabilities: - add: ["NET_ADMIN"] - # Use this parameter if you want to place the pod in a specific node - # nodeName: + containers: + - name: router + command: ["/bin/ash", "-c", "trap : TERM INT; sleep infinity & wait"] + image: alpine:latest + securityContext: + capabilities: + add: ["NET_ADMIN"] + # Use this parameter if you want to place the pod in a specific node + nodeName: l2sm1