Skip to content

Commit f8c5bee

Browse files
authored
Merge pull request #1654 from CecileRobertMichon/azure-quickstart-docs
📖 Add Azure tabs to quickstart book
2 parents 65ee17c + d2f0ce8 commit f8c5bee

File tree

2 files changed

+323
-7
lines changed

2 files changed

+323
-7
lines changed

docs/book/src/tasks/installation.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Cluster API requires an existing kubernetes cluster accessible via kubectl, choo
1111

1212
1. **Kind**
1313

14-
{{#tabs name:"kind-cluster" tabs:"AWS|vSphere|OpenStack,Docker"}}
15-
{{#tab AWS|vSphere|OpenStack}}
14+
{{#tabs name:"kind-cluster" tabs:"AWS|Azure|vSphere|OpenStack,Docker"}}
15+
{{#tab AWS|Azure|vSphere|OpenStack}}
1616

1717
<aside class="note warning">
1818

@@ -104,7 +104,7 @@ kubectl create -f {{#releaselink gomodule:"sigs.k8s.io/cluster-api-bootstrap-pro
104104

105105
#### Install Infrastructure Provider
106106

107-
{{#tabs name:"tab-installation-infrastructure" tabs:"AWS,Docker,vSphere,OpenStack"}}
107+
{{#tabs name:"tab-installation-infrastructure" tabs:"AWS,Azure,Docker,vSphere,OpenStack"}}
108108
{{#tab AWS}}
109109

110110
<aside class="note warning">
@@ -135,6 +135,33 @@ curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api-provider-aws" asset:"in
135135
| kubectl create -f -
136136
```
137137

138+
{{#/tab }}
139+
{{#tab Azure}}
140+
141+
<aside class="note warning">
142+
143+
<h1>Action Required</h1>
144+
145+
For more information about authorization, AAD, or requirements for Azure, visit the [Azure Provider Prerequisites](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/master/docs/getting-started.md#prerequisites) document.
146+
147+
</aside>
148+
149+
Check the [Azure provider releases](https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases) for an up-to-date components file.
150+
151+
```bash
152+
# Create the base64 encoded credentials
153+
export AZURE_SUBSCRIPTION_ID_B64="$(echo -n "$AZURE_SUBSCRIPTION_ID" | base64 | tr -d '\n')"
154+
export AZURE_TENANT_ID_B64="$(echo -n "$AZURE_TENANT_ID" | base64 | tr -d '\n')"
155+
export AZURE_CLIENT_ID_B64="$(echo -n "$AZURE_CLIENT_ID" | base64 | tr -d '\n')"
156+
export AZURE_CLIENT_SECRET_B64="$(echo -n "$AZURE_CLIENT_SECRET" | base64 | tr -d '\n')"
157+
```
158+
159+
```bash
160+
curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api-provider-azure" asset:"infrastructure-components.yaml" version:"0.3.x"}} \
161+
| envsubst \
162+
| kubectl create -f -
163+
```
164+
138165
{{#/tab }}
139166
{{#tab Docker}}
140167

0 commit comments

Comments
 (0)