# Register the AKS-ExtensionManager preview features
az feature register --namespace Microsoft.ContainerService -n AKS-ExtensionManager
# Register provider for cluster extensions
az provider register -n Microsoft.Kubernetes
az provider register -n Microsoft.ContainerService
az provider register -n Microsoft.KubernetesConfiguration
# Monitor the registration process.
az provider show -n Microsoft.Kubernetes -o table
az provider show -n Microsoft.KubernetesConfiguration -o table
az provider show -n Microsoft.ContainerService -o table
# Optional: Setup the Azure CLI extension for cluster extensions
az extension add -n k8s-configuration
az extension add -n k8s-extension
az extension list -o table
# Init Terraform
terraform init
# Execute Terraform plan to see changes
terraform plan
# Execute Terraform apply with automatic approval
terraform apply -auto-approve
# Get needed ID
kubectl get fluxconfigs -A
kubectl get kustomizations -A
kubectl get gitrepositories -A
kubectl get helmreleases -A
kubectl get helmrepositories -A