withExtraArg

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
interface K3sClusterResource {
// ... omitted for brevity
withExtraArg(arg: string): K3sClusterResource;
}

Signature

methodwithExtraArgbuilder
Appends a raw argument to the `k3s server` command line.
withExtraArg(arg: string): K3sClusterResource
argstringThe raw argument to append, e.g. `--write-kubeconfig-mode=644`. Call this method multiple times to append additional arguments.
K3sClusterResource

Applies to

This method applies to the following types: