60
60
clusterctl get kubeconfig capc-cluster > capc-cluster.kubeconfig
61
61
```
62
62
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
64
64
```
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
+
66
73
```
67
74
68
75
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
87
94
```
88
95
89
96
### 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
91
98
```
92
99
% KUBECONFIG=capc-cluster.kubeconfig kubectl get pods -A
93
100
NAMESPACE NAME READY STATUS RESTARTS AGE
@@ -104,6 +111,23 @@ kube-system kube-proxy-6g9zb 1/1
104
111
kube-system kube-proxy-7gjbv 1/1 Running 0 9m18s
105
112
kube-system kube-scheduler-capc-cluster-control-plane-tknwx 1/1 Running 0 9m21s
106
113
```
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
+ ```
107
131
108
132
- Pods in original kind cluster (also called bootstrap cluster, management cluster)
109
133
```
@@ -128,4 +152,4 @@ local-path-storage local-path-provisioner-547f784dff-f2g7r
128
152
```
129
153
<!--
130
154
// ANCHOR_END: common-development
131
- -->
155
+ -->
0 commit comments