You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/azure.md
+73-125
Original file line number
Diff line number
Diff line change
@@ -175,34 +175,6 @@ stringData:
175
175
"loadBalancerSku": "standard",
176
176
"excludeMasterFromStandardLB": false,
177
177
}
178
-
---
179
-
apiVersion: rbac.authorization.k8s.io/v1beta1
180
-
kind: ClusterRole
181
-
metadata:
182
-
labels:
183
-
kubernetes.io/cluster-service: "true"
184
-
name: system:azure-cloud-provider-secret-getter
185
-
rules:
186
-
- apiGroups: [""]
187
-
resources: ["secrets"]
188
-
resourceNames: ["azure-cloud-config"]
189
-
verbs:
190
-
- get
191
-
---
192
-
apiVersion: rbac.authorization.k8s.io/v1beta1
193
-
kind: ClusterRoleBinding
194
-
metadata:
195
-
labels:
196
-
kubernetes.io/cluster-service: "true"
197
-
name: system:azure-cloud-provider-secret-getter
198
-
roleRef:
199
-
apiGroup: rbac.authorization.k8s.io
200
-
kind: ClusterRole
201
-
name: system:azure-cloud-provider-secret-getter
202
-
subjects:
203
-
- kind: ServiceAccount
204
-
name: azure-cloud-config
205
-
namespace: kube-system
206
178
```
207
179
208
180
## Using the Out-of-tree Azure Cloud Provider
@@ -212,109 +184,85 @@ roleRef:
212
184
213
185
1. Select **External** from the **Cloud Provider** drop-down in the **Cluster Configuration** section.
214
186
215
-
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.
216
-
- 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.
187
+
2. Under **Cluster Configuration > Advanced**, click **Add** under **Additional Controller Manager Args** and add this flag: `--configure-cloud-routes=false`.
217
188
218
-
3. Under **Cluster Configuration > Advanced**, click **Add** under **Additional Controller Manager Args** and add this flag: `--configure-cloud-routes=false`.
189
+
3. 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.
219
190
220
-
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/).
191
+
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.
4. Under **Cluster Configuration > Add-on Config**, add the cloud controller manager manifest shown below into **Additional Manifest**.
194
+
Note that this 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/).
195
+
196
+
Alternatively, you can also install the cloud controller manager using the [Helm CLI](#helm-chart-installation-from-cli).
0 commit comments