Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithExtraArg

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
func (K3sClusterResource) 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

The same builder, for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: