1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: allow-all-internal namespace: monitoring spec: podSelector: {} policyTypes: - Ingress - Egress ingress: - from: - podSelector: {} egress: - to: - podSelector: {}