Skip to content

Commit f761189

Browse files
committed
edits
1 parent 6640dc2 commit f761189

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,15 +620,13 @@ For more information on Azure DevOps SSH-RSA deprecation, see [End of SSH-RSA s
620620

621621
### Configure annotation on Flux extension pods
622622

623-
When configuring a solution other than Azure Firewall, [network and FQDN/application rules](/azure/aks/outbound-rules-control-egress#required-outbound-network-rules-and-fqdns-for-aks-clusters) are required for an AKS cluster. To configure these rules when using the Flux extension, use the following commands.
623+
When configuring a solution other than Azure Firewall, [network and FQDN/application rules](/azure/aks/outbound-rules-control-egress#required-outbound-network-rules-and-fqdns-for-aks-clusters) are required for an AKS cluster. Starting with [`microsoft.flux` v1.11.1](extensions-release.md#flux-gitops), Flux controller pods can now set the annotation `kubernetes.azure.com/set-kube-service-host-fqdn` in their pod specifications. This allows traffic to the API Server's domain name even when a Layer 7 firewall is present, facilitating deployments during extension installation. To configure this annotation when using the Flux extension, use the following commands.
624624

625625
```azurecli
626626
# Create flux extension with annotation
627627
628628
az k8s-extension create --resource-group <resource-group> --cluster-name <cluster-name> --cluster-type <cluster-type> --name flux --extension-type microsoft.flux --config setKubeServiceHostFqdn=true
629-
```
630-
631-
```azurecli
629+
632630
# Update flux extension with annotation
633631
634632
az k8s-extension update --resource-group <resource-group> --cluster-name <cluster-name> --cluster-type <cluster-type> --name flux --config setKubeServiceHostFqdn=true

0 commit comments

Comments
 (0)