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
+
69
+ ```
70
+ or
71
+
72
+ ```
73
+
74
+ ```
75
+ KUBECONFIG=capc-cluster.kubeconfig kubectl apply -f https://raw.githubusercontent.com/weaveworks/weave/master/prog/weave-kube/weave-daemonset-k8s-1.11.yaml
76
+
66
77
```
67
78
68
79
7. Verify the K8s cluster is fully up. (It may take a minute for the nodes status to all reach *ready* state.)
@@ -87,7 +98,7 @@ KUBECONFIG=capc-cluster.kubeconfig kubectl logs test-thing
87
98
```
88
99
89
100
### kubectl/clusterctl Reference:
90
- - Pods in capc-cluster -- cluster running in Apache CloudStack
101
+ - Pods in capc-cluster -- cluster running in Apache CloudStack with calico cni
91
102
```
92
103
% KUBECONFIG=capc-cluster.kubeconfig kubectl get pods -A
93
104
NAMESPACE NAME READY STATUS RESTARTS AGE
@@ -104,6 +115,23 @@ kube-system kube-proxy-6g9zb 1/1
104
115
kube-system kube-proxy-7gjbv 1/1 Running 0 9m18s
105
116
kube-system kube-scheduler-capc-cluster-control-plane-tknwx 1/1 Running 0 9m21s
106
117
```
118
+ - Pods in capc-cluster -- cluster running in Apache CloudStack with weave net cni
119
+
120
+ ```
121
+ %KUBECONFIG=capc-cluster.kubeconfig kubectl get pods -A
122
+ NAMESPACE NAME READY STATUS RESTARTS AGE
123
+ default test-thing 0/1 Completed 0 38s
124
+ kube-system coredns-5d78c9869d-9xq2s 1/1 Running 0 21h
125
+ kube-system coredns-5d78c9869d-gphs2 1/1 Running 0 21h
126
+ kube-system etcd-capc-cluster-control-plane-49khm 1/1 Running 0 21h
127
+ kube-system kube-apiserver-capc-cluster-control-plane-49khm 1/1 Running 0 21h
128
+ kube-system kube-controller-manager-capc-cluster-control-plane-49khm 1/1 Running 0 21h
129
+ kube-system kube-proxy-8lfnm 1/1 Running 0 21h
130
+ kube-system kube-proxy-brj78 1/1 Running 0 21h
131
+ kube-system kube-scheduler-capc-cluster-control-plane-49khm 1/1 Running 0 21h
132
+ kube-system weave-net-rqckr 2/2 Running 1 (3h8m ago) 3h8m
133
+ kube-system weave-net-rzms4 2/2 Running 1 (3h8m ago) 3h8m
134
+ ```
107
135
108
136
- Pods in original kind cluster (also called bootstrap cluster, management cluster)
109
137
```
@@ -128,4 +156,4 @@ local-path-storage local-path-provisioner-547f784dff-f2g7r
128
156
```
129
157
<!--
130
158
// ANCHOR_END: common-development
131
- -->
159
+ -->
0 commit comments