Skip to content

Commit fc84874

Browse files
authored
Apply suggestions from code review
remove reimage, add test env warning
1 parent 3b5f5fd commit fc84874

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

articles/aks/enable-fips-nodes.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ FIPS-enabled node pools also have a *kubernetes.azure.com/fips_enabled=true* lab
147147
FIPS-enabled node pools also have a *kubernetes.azure.com/fips_enabled=true* label, which deployments can use to target those node pools.
148148
149149
## Update an existing Linux node pool to enable or disable FIPS (preview)
150-
150+
Existing node pools can be updated to enable or disable FIPS. If you are planning to migrate your node pools from non-fips to fips, you should validate if your application is working properly in a test environment first before migrating a production environment. This should prevent issues caused by the fips kernel blocking some weak cipher/encrypt, e.g. md4/md4 that is not FIPS compliant.
151151
### Limitations
152-
- FIPS cannot be enabled via node pool update for for Windows node pools
152+
* FIPS cannot be enabled via node pool update for for Windows node pools
153+
* You need the Azure CLI version 5.0.0b3 or later installed and configured to use the `--enable-fips-image` and `--disable-fips-image` fields with the `az aks nodepool update` command. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
153154
154155
[!INCLUDE [preview features callout](~/reusable-content/ce-skilling/azure/includes/aks/includes/preview/preview-callout.md)]
155156
@@ -200,9 +201,8 @@ Existing Linux node pools can be updated to enable FIPS. When updating an existi
200201
--enable-fips-image
201202
```
202203
203-
2. Re-image your node pool to complete the change from a non-fips image to a fips image.
204204
205-
3. Verify your node pool is FIPS-enabled using the [`az aks show`][az-aks-show] command and query for the *enableFIPS* value in *agentPoolProfiles*.
205+
2. Verify your node pool is FIPS-enabled using the [`az aks show`][az-aks-show] command and query for the *enableFIPS* value in *agentPoolProfiles*.
206206
207207
```azurecli-interactive
208208
az aks show \
@@ -221,7 +221,7 @@ Existing Linux node pools can be updated to enable FIPS. When updating an existi
221221
nodepool1 False
222222
```
223223
224-
4. List the nodes using the `kubectl get nodes` command.
224+
3. List the nodes using the `kubectl get nodes` command.
225225
226226
```azurecli-interactive
227227
kubectl get nodes
@@ -237,13 +237,13 @@ Existing Linux node pools can be updated to enable FIPS. When updating an existi
237237
aks-nodepool1-12345678-vmss000000 Ready agent 34m v1.19.9
238238
```
239239
240-
5. Run a deployment with an interactive session on one of the nodes in the FIPS-enabled node pool using the `kubectl debug` command.
240+
4. Run a deployment with an interactive session on one of the nodes in the FIPS-enabled node pool using the `kubectl debug` command.
241241
242242
```azurecli-interactive
243243
kubectl debug node/aks-np-12345678-vmss000000 -it --image=mcr.microsoft.com/dotnet/runtime-deps:6.0
244244
```
245245
246-
6. From the interactive session output, verify the FIPS cryptographic libraries are enabled. Your output should look similar to the following example output:
246+
5. From the interactive session output, verify the FIPS cryptographic libraries are enabled. Your output should look similar to the following example output:
247247
248248
```output
249249
root@aks-np-12345678-vmss000000:/# cat /proc/sys/crypto/fips_enabled
@@ -265,9 +265,8 @@ Existing Linux node pools can be updated to enable FIPS. When updating an existi
265265
--disable-fips-image
266266
```
267267
268-
2. Re-image your node pool to complete the change from a fips image to a non-fips image.
269268
270-
3. Verify your node pool is not FIPS-enabled using the [`az aks show`][az-aks-show] command and query for the *enableFIPS* value in *agentPoolProfiles*.
269+
2. Verify your node pool is not FIPS-enabled using the [`az aks show`][az-aks-show] command and query for the *enableFIPS* value in *agentPoolProfiles*.
271270
272271
```azurecli-interactive
273272
az aks show \

0 commit comments

Comments
 (0)