How to get started, and achieve tasks, using Kubernetes

Edit This Page

Using Calico for NetworkPolicy

You can deploy a cluster using Calico for network policy in the default GCE deployment using the following set of commands:

curl -sS | bash

See the Calico documentation for more options to deploy Calico with Kubernetes.

Once your cluster using Calico is running, you should see a collection of pods running in the kube-system Namespace that support Kubernetes NetworkPolicy.

$ kubectl get pods --namespace=kube-system
NAME                                                 READY     STATUS    RESTARTS   AGE
calico-node-kubernetes-minion-group-jck6             1/1       Running   0          46m
calico-node-kubernetes-minion-group-k9jy             1/1       Running   0          46m
calico-node-kubernetes-minion-group-szgr             1/1       Running   0          46m
calico-policy-controller-65rw1                       1/1       Running   0          46m

There are two main components to be aware of:

Once your cluster is running, you can follow the NetworkPolicy gettting started guide to try out Kubernetes NetworkPolicy.


Create Issue Edit This Page