K3sClusterResource.withDisabledComponent

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

Signature

methodwithDisabledComponentbuilder
Disables a built-in k3s component (`--disable=<component>`).
withDisabledComponent(component: string): K3sClusterResource
componentstringThe component name to disable. Common values include `traefik`, `servicelb`, `metrics-server`, `coredns`, and `local-storage`. Call this method multiple times to disable more than one component.
K3sClusterResource

Defined on

This method is defined on the following type: