This page is out of date.
Please see the relevant page for the latest release: e.g. Release J - Run in Docker
network policy is used to control the traffic flow between endpoints in k8s cluster.
...
Code Block | ||||
---|---|---|---|---|
| ||||
cilium install |
After successful installation, we should see the pods:
Check cilium status:
Code Block | ||||
---|---|---|---|---|
| ||||
cilium status |
Now we have network plugin enabled in k8s cluster, we can then apply network policy to NONRTRIC.
Deploy NONRTRIC
Code Block | ||||
---|---|---|---|---|
| ||||
kubectl apply -f https://raw.githubusercontent.com/yanhuanwang/k8s/master/statefulset/nosdnc.yml |
after deployment, you should be able to see nonrtric services/pods are up and running:
pay attention to the labels above, in this demo we will use labels to define the network-policy rules.
...