Guest User

Untitled

a guest
Nov 2nd, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. apiVersion: networking.k8s.io/v1
  2. kind: NetworkPolicy
  3. metadata:
  4. name: kube-system
  5. namespace: kube-system
  6. spec:
  7. podSelector: {}
  8. policyTypes:
  9. - Ingress
  10. ingress:
  11. - from:
  12. - namespaceSelector:
  13. matchLabels:
  14. name: kube-system
  15. - from:
  16. - namespaceSelector:
  17. matchLabels: {}
  18. ports:
  19. - protocol: TCP
  20. port: 6443
  21. - protocol: TCP
  22. port: 6444
  23. - protocol: TCP
  24. port: 53
  25. - protocol: UDP
  26. port: 53
Advertisement
Add Comment
Please, Sign In to add comment