Skip to content

Commit 64acaa8

Browse files
authored
Merge pull request #262 from kiranchavala/kirandoc
Added cni plugin
2 parents 2da1689 + e830f6f commit 64acaa8

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

docs/book/src/development/common.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,16 @@
6060
clusterctl get kubeconfig capc-cluster > capc-cluster.kubeconfig
6161
```
6262
63-
6. Install calico on the workload cluster so that pods can see each other
63+
6. Install calico or weave net cni plugin on the workload cluster so that pods can see each other
6464
```
65-
KUBECONFIG=capc-cluster.kubeconfig kubectl apply -f https://projectcalico.docs.tigera.io/manifests/calico.yaml
65+
KUBECONFIG=capc-cluster.kubeconfig kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/master/manifests/calico.yaml
66+
67+
```
68+
or
69+
70+
```
71+
KUBECONFIG=capc-cluster.kubeconfig kubectl apply -f https://raw.githubusercontent.com/weaveworks/weave/master/prog/weave-kube/weave-daemonset-k8s-1.11.yaml
72+
6673
```
6774
6875
7. Verify the K8s cluster is fully up. (It may take a minute for the nodes status to all reach *ready* state.)
@@ -87,7 +94,7 @@ KUBECONFIG=capc-cluster.kubeconfig kubectl logs test-thing
8794
```
8895
8996
### kubectl/clusterctl Reference:
90-
- Pods in capc-cluster -- cluster running in Apache CloudStack
97+
- Pods in capc-cluster -- cluster running in Apache CloudStack with calico cni
9198
```
9299
% KUBECONFIG=capc-cluster.kubeconfig kubectl get pods -A
93100
NAMESPACE NAME READY STATUS RESTARTS AGE
@@ -104,6 +111,23 @@ kube-system kube-proxy-6g9zb 1/1
104111
kube-system kube-proxy-7gjbv 1/1 Running 0 9m18s
105112
kube-system kube-scheduler-capc-cluster-control-plane-tknwx 1/1 Running 0 9m21s
106113
```
114+
- Pods in capc-cluster -- cluster running in Apache CloudStack with weave net cni
115+
116+
```
117+
%KUBECONFIG=capc-cluster.kubeconfig kubectl get pods -A
118+
NAMESPACE NAME READY STATUS RESTARTS AGE
119+
default test-thing 0/1 Completed 0 38s
120+
kube-system coredns-5d78c9869d-9xq2s 1/1 Running 0 21h
121+
kube-system coredns-5d78c9869d-gphs2 1/1 Running 0 21h
122+
kube-system etcd-capc-cluster-control-plane-49khm 1/1 Running 0 21h
123+
kube-system kube-apiserver-capc-cluster-control-plane-49khm 1/1 Running 0 21h
124+
kube-system kube-controller-manager-capc-cluster-control-plane-49khm 1/1 Running 0 21h
125+
kube-system kube-proxy-8lfnm 1/1 Running 0 21h
126+
kube-system kube-proxy-brj78 1/1 Running 0 21h
127+
kube-system kube-scheduler-capc-cluster-control-plane-49khm 1/1 Running 0 21h
128+
kube-system weave-net-rqckr 2/2 Running 1 (3h8m ago) 3h8m
129+
kube-system weave-net-rzms4 2/2 Running 1 (3h8m ago) 3h8m
130+
```
107131
108132
- Pods in original kind cluster (also called bootstrap cluster, management cluster)
109133
```
@@ -128,4 +152,4 @@ local-path-storage local-path-provisioner-547f784dff-f2g7r
128152
```
129153
<!--
130154
// ANCHOR_END: common-development
131-
-->
155+
-->

0 commit comments

Comments
 (0)