apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: judged-network-policy
  namespace: dualoj
spec:
  podSelector:
    matchLabels:
      app: judged
  policyTypes:
    - "Egress"
  egress:
    - to:
        - podSelector:
            matchLabels:
              app: judger
