You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without `RunWithKubernetes(...)`, `AddKubeOps<TProject>(...)` keeps the operator in explicit-start mode forlocal Aspire runs. Standalone manifest publish does not require `AddKubernetesEnvironment(...)`, Helm, or a live cluster; publishing with a Kubernetes environment generates an Aspire Helm chart, while`aspire deploy` installs that chart into the selected environment.
148
105
149
106
## Packages
150
107
@@ -201,4 +158,4 @@ In short:
201
158
202
159
## Motivation
203
160
204
-
KubeOps aims to provide a first-class experience for developing Kubernetes operators within the .NET ecosystem, offering an alternative to Go-based SDKs like Kubebuilder and Operator SDK, while embracing familiar C# patterns and tooling.
161
+
KubeOps aims to provide a first-class experience for developing Kubernetes operators within the .NET ecosystem, offering an alternative to Go-based SDKs like Kubebuilder and Operator SDK, while embracing familiar C# patterns and tooling.
Copy file name to clipboardExpand all lines: docs/docs/operator/aspire.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ await host.RunAsync();
54
54
-**HTTP resilience**— the standard resilience handler (retries, circuit breaker, timeouts) is applied to all `HttpClient` instances.
55
55
-**Health checks**— a default `self` liveness check tagged `live`.
56
56
57
-
:::tipOperator name
57
+
:::tip[Operator name]
58
58
The OpenTelemetry service name and the tracing source name must match `OperatorSettings.Name` — otherwise the operator's reconciliation traces are never captured. Call `AddKubeOpsServiceDefaults()`**after**`AddKubernetesOperator()` so KubeOps can resolve the configured name automatically. If you must call it earlier, pass the name explicitly (and keep it in sync with `OperatorSettings.Name`):
59
59
60
60
```csharp
@@ -96,7 +96,7 @@ builder.Build().Run();
96
96
-`RunWithKubernetes(k8s)` opts the operator into local execution against a Kubernetes target.
97
97
-`PublishAsKubernetesOperator(k8s)` includes the operator, CRDs, RBAC, and service account in the Aspire Kubernetes publish/deploy output.
98
98
99
-
:::noteProject reference
99
+
:::note[Project reference]
100
100
When referencing `KubeOps.Aspire.Hosting` from an AppHost, mark it as a normal code reference so the AppHost SDK does not treat it as a resource:
0 commit comments