# WithServerSideApply

- Module: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/go/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.5.1-beta.895`
- Kind: `method`
- Defined on: [`K8sManifestResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/k8smanifestresource.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/2c26a4c9649531d17fce3cbc4c5dea00d61d279c)

Applies the manifest server-side (maps to `kubectl apply --server-side`). Required for large CRDs that exceed the client-side annotation size limit.

## Definition

```go
func (K8sManifestResource) WithServerSideApply(options ...*WithServerSideApplyOptions) K8sManifestResource
```

## Parameters

- `options` (`...*WithServerSideApplyOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithServerSideApplyOptions` argument.

- `ForceConflicts` (`*bool`) -- When `true`, also passes `--force-conflicts` to override field ownership held by another field manager (e.g., a controller). Defaults to `false`.

## Returns

[`K8sManifestResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/k8smanifestresource.md) -- A reference to the `IResourceBuilder`.

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

## Applies to

- [`K8sManifestResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/k8smanifestresource.md)
