https://github.com/cilium/cilium
Raw File
Tip revision: 07b62884ce906a97a6922f9ee35a35efd6cccd55 authored by Chris Tarazi on 03 February 2021, 19:45:44 UTC
Prepare for release v1.9.4
Tip revision: 07b6288
testccnp.yaml
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: test-ccnp
  namespace: kube-system
spec:
  endpointSelector:
    matchLabels:
      k8s-app: clustermesh-apiserver
  ingress:
  - fromEndpoints:
    - matchLabels:
        io.kubernetes.pod.name: runtime
  - toPorts:
    - ports:
      - port: "2379"
        protocol: TCP
back to top