Skip to content

Commit 19108a0

Browse files
CopilotIEvangelist
andcommitted
Complete Kubernetes deployment article with image placeholder
Co-authored-by: IEvangelist <[email protected]>
1 parent 0d6886c commit 19108a0

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

docs/deployment/kubernetes-deployment.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,21 @@ builder.Build().Run();
142142

143143
#### Publish to Kubernetes
144144

145-
1. Build your project and generate manifests:
145+
Generate Kubernetes manifests using the built-in publishing target:
146146

147-
```dotnetcli
148-
dotnet run --publisher kubernetes --output-path ./k8s-manifests
149-
```
147+
```dotnetcli
148+
dotnet run --publisher kubernetes --output-path ./k8s-manifests
149+
```
150150

151-
1. Apply the generated manifests:
151+
This command generates standard Kubernetes YAML files in the specified output directory that you can deploy using `kubectl` or any GitOps workflow.
152152

153-
```bash
154-
kubectl apply -f ./k8s-manifests
155-
```
153+
#### Deploy the generated manifests
154+
155+
Apply the generated manifests to your cluster:
156+
157+
```bash
158+
kubectl apply -f ./k8s-manifests
159+
```
156160

157161
### Option 3: Create manual Kubernetes manifests
158162

@@ -272,7 +276,7 @@ The Kubernetes extension provides several features that work seamlessly with .NE
272276
- **Port forwarding**: Access cluster services locally
273277
- **Apply manifests**: Deploy YAML files directly from the editor
274278

275-
<!-- TODO: Add screenshot of VS Code with Kubernetes extension showing .NET Aspire deployment -->
279+
:::image type="content" source="media/vscode-kubernetes-extension.png" lightbox="media/vscode-kubernetes-extension.png" alt-text="Visual Studio Code with Kubernetes extension showing .NET Aspire deployment":::
276280

277281
### Debugging workflow
278282

Loading

0 commit comments

Comments
 (0)