-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update azure.md #1494
base: main
Are you sure you want to change the base?
Update azure.md #1494
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -100,7 +100,7 @@ | |||||||||||||||||
<details id="v2.6.0-cloud-provider-config-file"> | ||||||||||||||||||
<summary>Example Cloud Provider Config</summary> | ||||||||||||||||||
|
||||||||||||||||||
```yaml | ||||||||||||||||||
```yaml | ||||||||||||||||||
{ | ||||||||||||||||||
"cloud":"AzurePublicCloud", | ||||||||||||||||||
"tenantId": "YOUR TENANTID HERE", | ||||||||||||||||||
|
@@ -120,7 +120,7 @@ | |||||||||||||||||
"useManagedIdentityExtension": false, | ||||||||||||||||||
"useInstanceMetadata": true | ||||||||||||||||||
} | ||||||||||||||||||
``` | ||||||||||||||||||
``` | ||||||||||||||||||
|
||||||||||||||||||
</details> | ||||||||||||||||||
|
||||||||||||||||||
|
@@ -144,7 +144,7 @@ | |||||||||||||||||
|
||||||||||||||||||
Note that the chart reads the Cloud Provider Config from a given secret name in the `kube-system` namespace. Since Azure reads Kubernetes secrets, RBAC also needs to be configured. An example secret for the Cloud Provider Config is shown below. Modify it as needed and create the secret. | ||||||||||||||||||
|
||||||||||||||||||
```yaml | ||||||||||||||||||
```yaml | ||||||||||||||||||
# azure-cloud-config.yaml | ||||||||||||||||||
apiVersion: v1 | ||||||||||||||||||
kind: Secret | ||||||||||||||||||
|
@@ -203,7 +203,7 @@ | |||||||||||||||||
- kind: ServiceAccount | ||||||||||||||||||
name: azure-cloud-config | ||||||||||||||||||
namespace: kube-system | ||||||||||||||||||
``` | ||||||||||||||||||
``` | ||||||||||||||||||
|
||||||||||||||||||
## Using the Out-of-tree Azure Cloud Provider | ||||||||||||||||||
|
||||||||||||||||||
|
@@ -212,14 +212,18 @@ | |||||||||||||||||
|
||||||||||||||||||
1. Select **External** from the **Cloud Provider** drop-down in the **Cluster Configuration** section. | ||||||||||||||||||
|
||||||||||||||||||
:::note | ||||||||||||||||||
When setting **Cloud Provider** to **External**, all nodes will automatically be tainted with node.cloudprovider.kubernetes.io/uninitialized=true until the Cloud Provder is installed. It is recommended to deploy the CPI as an add-on job as described below. | ||||||||||||||||||
Check warning on line 216 in docs/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/azure.md GitHub Actions / runner / vale
|
||||||||||||||||||
::: | ||||||||||||||||||
Comment on lines
+215
to
+217
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Suggestion updates the text to present tense and adds indentation so the note aligns with the text of step 1. |
||||||||||||||||||
|
||||||||||||||||||
2. Prepare the Cloud Provider Configuration to set it in the next step. Note that Rancher automatically creates a new Network Security Group, Resource Group, Availability Set, Subnet, and Virtual Network. If you already have some or all of these created, you must specify them before creating the cluster. | ||||||||||||||||||
- Click **Show Advanced** to view or edit these automatically generated names. Your Cloud Provider Configuration **must** match the fields in the **Machine Pools** section. If you have multiple pools, they must all use the same Resource Group, Availability Set, Subnet, Virtual Network, and Network Security Group. | ||||||||||||||||||
|
||||||||||||||||||
3. Under **Cluster Configuration > Advanced**, click **Add** under **Additional Controller Manager Args** and add this flag: `--configure-cloud-routes=false`. | ||||||||||||||||||
|
||||||||||||||||||
Note that the chart reads the Cloud Provider Config from the secret in the `kube-system` namespace. An example secret for the Cloud Provider Config is shown below. Modify it as needed. Refer to the full list of configuration options in the [upstream docs](https://cloud-provider-azure.sigs.k8s.io/install/configs/). | ||||||||||||||||||
|
||||||||||||||||||
```yaml | ||||||||||||||||||
```yaml | ||||||||||||||||||
apiVersion: helm.cattle.io/v1 | ||||||||||||||||||
kind: HelmChart | ||||||||||||||||||
metadata: | ||||||||||||||||||
|
@@ -312,7 +316,7 @@ | |||||||||||||||||
- kind: ServiceAccount | ||||||||||||||||||
name: azure-cloud-config | ||||||||||||||||||
namespace: kube-system | ||||||||||||||||||
``` | ||||||||||||||||||
``` | ||||||||||||||||||
|
||||||||||||||||||
4. Click **Create** to submit the form and create the cluster. | ||||||||||||||||||
|
||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the expected rendered output here? This block doesn't seem to have the same missing indentation as the other blocks.
The build is also failing without the existing indentation.