Kubernetes, DevOps, Cloud Computing, Software Development, Programming.
apiVersion: v1 kind: Pod metadata: name: access-denied spec: containers: - name: busybox image: busybox command: ['sh', '-c', 'sleep 3600'] Save it as access-denied.yaml and apply it: kubectl apply -f access-denied.yaml Test connectivity from both pods with the following commands: kubectl exec -it