From 0ab55435a7e23864eaeed80b68c5ef3715618131 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Thu, 23 Jun 2022 06:29:08 +0000 Subject: [PATCH] pdate doc to reflect latest version, add helm link --- docs/book/src/topics/external-cloud-provider.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/book/src/topics/external-cloud-provider.md b/docs/book/src/topics/external-cloud-provider.md index 4b1bbcaabf..5818c603eb 100644 --- a/docs/book/src/topics/external-cloud-provider.md +++ b/docs/book/src/topics/external-cloud-provider.md @@ -9,9 +9,9 @@ # External Cloud Provider -To deploy a cluster using [external cloud provider](https://github.com/kubernetes/cloud-provider-openstack), create a cluster configuration with the [external cloud provider template](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/templates/cluster-template-external-cloud-provider.yaml). +To deploy a cluster using [external cloud provider](https://github.com/kubernetes/cloud-provider-openstack), create a cluster configuration with the [external cloud provider template](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/templates/cluster-template-external-cloud-provider.yaml) or refer to [helm chart](https://github.com/kubernetes/cloud-provider-openstack/tree/master/charts/openstack-cloud-controller-manager). -## Steps +## Steps of using external cloud provider template - After control plane is up and running, retrieve the workload cluster Kubeconfig: @@ -19,10 +19,12 @@ To deploy a cluster using [external cloud provider](https://github.com/kubernete clusterctl get kubeconfig ${CLUSTER_NAME} --namespace default > ./${CLUSTER_NAME}.kubeconfig ``` -- Deploy a CNI solution +- Deploy a CNI solution (using Calico now) + + Note: choose desired version by replace below ```shell - curl https://docs.projectcalico.org/v3.19/manifests/calico.yaml | sed "s/veth_mtu:.*/veth_mtu: \"1430\"/g" | kubectl --kubeconfig=./${CLUSTER_NAME}.kubeconfig apply -f - + kubectl --kubeconfig=./${CLUSTER_NAME}.kubeconfig apply -f https://docs.projectcalico.org/v3.23/manifests/calico.yaml ``` - Create a secret containing the cloud configuration