Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure.Provisioning.KubernetesConfiguration.FluxConfigurations simplifies declarative resource provisioning in .NET.
Getting started
Install the package
Install the client library for .NET with NuGet:
dotnet add package Azure.Provisioning.KubernetesConfiguration.FluxConfigurations --prerelease
Prerequisites
You must have an Azure subscription.
Authenticate the client
Azure.Provisioning libraries do not authenticate directly. When you deploy the generated infrastructure, the deployment tool uses your Azure credentials.
Key concepts
This library allows you to specify Kubernetes Flux configuration infrastructure in a declarative style using .NET. You can then use azd to deploy your infrastructure to Azure without writing or maintaining Bicep or ARM templates.
Examples
Create a Flux configuration
Infrastructure infra = new();
FluxConfiguration flux =
new(nameof(flux), FluxConfiguration.ResourceVersions.V2025_04_01)
{
Namespace = "flux-system",
GitRepository = new FluxGitRepository
{
Uri = "https://github.com/Azure/arc-k8s-demo",
},
};
infra.Add(flux);
Troubleshooting
- File an issue via GitHub Issues.
- Check previous questions or ask new ones on Stack Overflow using Azure and .NET tags.
Next steps
Use the generated Infrastructure with the Azure Developer CLI to provision your resources.
Contributing
For details on contributing to this repository, see the contributing guide.
Azure SDK for .NET