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
Deploy the Bicep template using the `az deployment group` command.
104
+
105
+
```azurecli
106
+
az deployment group create \
107
+
--resource-group myResourceGroup \
108
+
--template-file ./my-bicep-file-path.bicep \
109
+
--parameters clusterName=myAKSCluster
110
+
```
111
+
112
+
---
113
+
75
114
### Configure automatic updates
76
115
77
116
If you create Azure App Configuration extension without specifying a version, `--auto-upgrade-minor-version`*is automatically enabled*, configuring the Azure App Configuration extension to automatically update its minor version on new releases.
78
117
79
118
You can disable auto update by specifying the `--auto-upgrade-minor-version` parameter and setting the value to `false`.
80
119
120
+
#### [Azure CLI](#tab/cli)
121
+
81
122
```azurecli
82
123
--auto-upgrade-minor-version false
83
124
```
84
125
126
+
#### [Bicep](#tab/bicep)
127
+
128
+
```bicep
129
+
properties {
130
+
autoUpgradeMinorVersion: false
131
+
}
132
+
```
133
+
134
+
---
135
+
85
136
### Targeting a specific version
86
137
87
138
The same command-line argument is used for installing a specific version of Azure App Configuration Kubernetes Provider or rolling back to a previous version. Set `--auto-upgrade-minor-version` to `false` and `--version` to the version of Azure App Configuration Kubernetes Provider you wish to install. If the `version` parameter is omitted, the extension installs the latest version.
88
139
140
+
#### [Azure CLI](#tab/cli)
141
+
89
142
```azurecli
90
143
az k8s-extension create --cluster-type managedClusters \
91
144
--cluster-name myAKSCluster \
@@ -97,6 +150,44 @@ az k8s-extension create --cluster-type managedClusters \
97
150
--version 2.0.0-preview
98
151
```
99
152
153
+
#### [Bicep](#tab/bicep)
154
+
155
+
Create a Bicep template using the following example.
156
+
157
+
```bicep
158
+
@description('The name of the Managed Cluster resource.')
0 commit comments