Skip to content

Commit

Permalink
Merge pull request #2883 from CecileRobertMichon/calico-quickstart
Browse files Browse the repository at this point in the history
📖 Add Azure tab for deploy Calico CNI step in quickstart
  • Loading branch information
k8s-ci-robot authored Apr 9, 2020
2 parents 7bb418c + a739c7e commit 262e9b3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/book/src/user/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 262e9b3

Please sign in to comment.