K3sClusterResource Constructors
ClassConstructors1 member
Represents a k3s Kubernetes cluster running as a privileged container resource. Injects the cluster's kubeconfig into a dependent resource.
- Host processes receive
KUBECONFIG=.<host- path> /local/ kubeconfig. yaml - Containers receive
KUBECONFIG=/tmp/and a file-level bind-mount of the container-network kubeconfig variant. Both are applied by thek3s- kubeconfig. yaml Beforesubscriber registered inStart Event Add.K3s Cluster
Constructor(string) Section titled Constructor(string) Represents a k3s Kubernetes cluster running as a privileged container resource. Injects the cluster's kubeconfig into a dependent resource.
- Host processes receive
KUBECONFIG=.<host- path> /local/ kubeconfig. yaml - Containers receive
KUBECONFIG=/tmp/and a file-level bind-mount of the container-network kubeconfig variant. Both are applied by thek3s- kubeconfig. yaml Beforesubscriber registered inStart Event Add.K3s Cluster
public sealed class K3sClusterResource{ public K3sClusterResource( string name) { // ... }}Parameters
namestringThe resource name.