aks-baseline
aks-baseline copied to clipboard
Cluster Stamp deployment fails because flux is not getting ready
az deployment group create -g rg-bu0001a0008 -f cluster-stamp.bicep -p targetVnetResourceId=${RESOURCEID_VNET_CLUSTERSPOKE_AKS_BASELINE} clusterAdminAadGroupObjectId=${AADOBJECTID_GROUP_CLUSTERADMIN_AKS_BASELINE} a0008NamespaceReaderAadGroupObjectId=${AADOBJECTID_GROUP_A0008_READER_AKS_BASELINE} k8sControlPlaneAuthorizationTenantId=${TENANTID_K8SRBAC_AKS_BASELINE} appGatewayListenerCertificate=${APP_GATEWAY_LISTENER_CERTIFICATE_AKS_BASELINE} aksIngressControllerCertificate=${AKS_INGRESS_CONTROLLER_CERTIFICATE_BASE64_AKS_BASELINE} domainName=${DOMAIN_NAME_AKS_BASELINE} gitOpsBootstrappingRepoHttpsUrl=${GITOPS_REPOURL} gitOpsBootstrappingRepoBranch=${GITOPS_CURRENT_BRANCH_NAME} location=germanywestcentral
Error
{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/<redacted>/resourceGroups/rg-bu0001a0008/providers/Microsoft.Resources/deployments/cluster-stamp","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/<redacted>/resourceGroups/rg-bu0001a0008/providers/Microsoft.ContainerService/managedClusters/aks-6bgglaz6lzbri/providers/Microsoft.KubernetesConfiguration/extensions/flux","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"ExtensionOperationFailed","message":"The extension operation failed with the following error: Error: [ InnerError: [Helm installation failed : Timed out waiting for the resource to come to a ready/completed stateDeployment is not ready: flux-system/fluxconfig-controller. 0 out of 1 expected pods are ready : Recommendation Please contact Microsoft support for further inquiries : InnerError [an error occurred while uninstalling the release. original install error: timed out waiting for the condition: timed out waiting for the condition]]] occurred while doing the operation : [Create] on the config.","additionalInfo":[]}]}]}}