AKS Flux Add-On Deployment Hangs

Alex Rankin 0 Reputation points
2024-12-24T21:05:12.9533333+00:00

Hello all,

I have a Bicep configuration with 'Microsoft.KubernetesConfiguration/fluxConfigurations@2023-05-01' specified. Here is my definition:

resource fluxConfig 'Microsoft.KubernetesConfiguration/fluxConfigurations@2023-05-01' = {
  scope: aksCluster
  name: 'flux-config'
  properties: {
    gitRepository: {
      localAuthRef: 'git-auth-secret'
      repositoryRef: {
        branch: 'main'
      }
      syncIntervalInSeconds: 300
      timeoutInSeconds: 300
      url: 'https://github.com/xxx/flux-infra.git'
    }
    kustomizations: {
      apps: {
        path: './apps/staging'
        prune: true
        timeoutInSeconds: 300
        wait: true
      }
    }
    namespace: 'flux-system'
    sourceKind: 'GitRepository'
  }
}

When I attempt to deploy my configuration, the deployment runs for about an hour before timing out. No additional information is provided by the error.

I am not sure how I should proceed with this issue since no logs indicate what operation is getting stuck. What should I check to help provide insights into this issue? Any help is appreciated! Thanks!

Screenshot 2024-12-24 at 4.03.55 PM

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,014 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,205 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.