From a739c7e06a8f455fb71f5fe807902fcd9e332af9 Mon Sep 17 00:00:00 2001 From: Cecile Robert-Michon Date: Wed, 8 Apr 2020 09:56:14 -0700 Subject: [PATCH] :book: Add Azure tab for deploy Calico CNI step in quickstart --- docs/book/src/user/quick-start.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/book/src/user/quick-start.md b/docs/book/src/user/quick-start.md index d9561b10d38d..f58771f8b7fa 100644 --- a/docs/book/src/user/quick-start.md +++ b/docs/book/src/user/quick-start.md @@ -484,6 +484,9 @@ kubectl --namespace=default get secret/capi-quickstart-kubeconfig -o jsonpath={. Calico is used here as an example. +{{#tabs name:"tab-deploy-cni" tabs:"AWS|Docker|GCP|vSphere|OpenStack|Metal3,Azure"}} +{{#tab AWS|Docker|GCP|vSphere|OpenStack|Metal3}} + ```bash kubectl --kubeconfig=./capi-quickstart.kubeconfig \ apply -f https://docs.projectcalico.org/v3.12/manifests/calico.yaml @@ -496,6 +499,26 @@ let's check the status using `kubectl get nodes`: kubectl --kubeconfig=./capi-quickstart.kubeconfig get nodes ``` +{{#/tab }} +{{#tab Azure}} + +Azure [does not currently support Calico networking](https://docs.projectcalico.org/reference/public-cloud/azure). As a workaround, it is recommended that Azure clusters use the Calico spec below that uses VXLAN. + +```bash +kubectl --kubeconfig=./capi-quickstart.kubeconfig \ + apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/master/templates/addons/calico.yaml +``` + +After a short while, our nodes should be running and in `Ready` state, +let's check the status using `kubectl get nodes`: + +```bash +kubectl --kubeconfig=./capi-quickstart.kubeconfig get nodes +``` + +{{#/tab }} +{{#/tabs }} + ## Next steps See the [clusterctl] documentation for more detail about clusterctl supported actions.