K3sClusterOptions Properties
ClassProperties12 members
Advanced options for
K3sBuilderExtensions.AddK3sCluster. Gets or sets the number of agent (worker) nodes. Defaults to
0 (single-node cluster). public int AgentCount { get; set; } Gets or sets the pod IP address range in CIDR notation (
--cluster-cidr). Defaults to k3s built-in value of 10.42.0.0/16 when null. public string? ClusterCidr { get; set; } Gets the list of built-in k3s components to disable (each passed as
--disable=<component>). public IList<string> DisabledComponents { get; }Remarks
Common values:
traefik, coredns, local-storage. Note that servicelb and metrics-server are already disabled by default. Gets the list of raw arguments appended verbatim to the
k3s server command. public IList<string> ExtraArgs { get; }Gets or sets the Helm installer image name. Defaults to
alpine/helm.public string HelmImage { get; set; }Gets or sets the container registry for the Helm installer image. Defaults to
docker.io.public string HelmRegistry { get; set; }Gets or sets the Helm installer image tag. Defaults to
3.17.3.public string HelmTag { get; set; } Gets or sets the k3s container image tag, e.g.
v1.32.3-k3s1. When null the version bundled with this package is used. public string? ImageTag { get; set; }Gets or sets the kubectl image name. Defaults to
alpine/kubectl.public string KubectlImage { get; set; }Gets or sets the container registry for the kubectl image. Defaults to
docker.io.public string KubectlRegistry { get; set; }Gets or sets the kubectl image tag. Defaults to
1.36.0.public string KubectlTag { get; set; } Gets or sets the Service cluster IP address range in CIDR notation (
--service-cidr). Defaults to k3s built-in value of 10.43.0.0/16 when null. public string? ServiceCidr { get; set; }