apiVersion: v1 kind: Namespace metadata: name: checkout --- apiVersion: apps/v1 kind: Deployment metadata: name: checkout-api namespace: checkout spec: replicas: 2 selector: matchLabels: app: checkout-api template: metadata: labels: app: checkout-api spec: containers: - name: api image: nginx:latest ports: - containerPort: 8080 securityContext: privileged: true capabilities: add: ["NET_ADMIN"]