K8sManifestResource
Classnet10.0
A Kubernetes manifest applied to a Kind cluster via
kubectl apply. namespace Aspire.Hosting.ApplicationModel;
public class K8sManifestResource : Aspire.Hosting.ApplicationModel.KindDeployedResource{ // ...}12 members
Constructors1
Section titled Constructors A Kubernetes manifest applied to a Kind cluster via
kubectl apply. Properties11
Section titled PropertiesClusterReadyTimeout get; setTimeSpan Gets or sets the maximum time to wait for the Kubernetes API to become reachable before running
kubectl apply. CrdWaitTimeout get; setTimeSpan Gets or sets the maximum time to wait for applied CRDs to reach the
Established condition. FieldManager get; setstring? Gets the field manager name used with server-side apply (maps to
kubectl apply --field-manager ). When null, kubectl uses its default ( kubectl). ForceConflicts get; setbool Gets or sets whether to force conflicts on server-side apply (maps to
kubectl apply --server-side --force-conflicts ). Only meaningful when K8sManifestResource.ServerSide is true. IsKustomize get; setbool Gets or sets whether this resource represents a Kustomize overlay directory.
ManifestPath getstring Gets the manifest path passed to
kubectl apply. Accepts an absolute file path, an absolute directory path, or <inline> for standard input. Recursiveget; setbool Gets or sets whether to recursively apply manifests in subdirectories (maps to
kubectl apply --recursive ). Only meaningful when K8sManifestResource.ManifestPath is a directory. ServerSide get; setbool Gets or sets whether to apply the manifest server-side (maps to
kubectl apply --server-side ). Server-side apply is required for large CRDs that exceed the client-side annotation size limit.