apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-left-deployment-1
  namespace: sfc-head
  labels:
    sfc: head-1
spec:
  replicas: 3
  selector:
    matchLabels:
      sfc: head-1
  template:
    metadata:
      labels:
        sfc: head-1

    spec:
      containers:
      - name: nginx-1
        image: rkamudhan/netshoot:v1.0
        imagePullPolicy: IfNotPresent
        stdin: true
        tty: true
        ports:
        - containerPort: 80
        securityContext:
          privileged: true
          capabilities:
            add: ["NET_ADMIN"]
