File tree 2 files changed +6
-6
lines changed
Aspire.Hosting.Kubernetes
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ dotnet add package Aspire.Hosting.Docker
14
14
15
15
## Usage example
16
16
17
- Then, in the _ AppHost.cs_ file of ` AppHost ` , register the publisher :
17
+ Then, in the _ AppHost.cs_ file of ` AppHost ` , add the environment :
18
18
19
19
``` csharp
20
- builder .AddPublisher < DockerComposePublisher >( " docker- compose" );
20
+ builder .AddDockerComposeEnvironment ( " compose" );
21
21
```
22
22
23
23
``` shell
24
- aspire publish -t docker-compose -o artifacts
24
+ aspire publish -o docker-compose- artifacts
25
25
```
26
26
27
27
## Feedback & contributing
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ dotnet add package Aspire.Hosting.Kubernetes
14
14
15
15
## Usage example
16
16
17
- Then, in the _ AppHost.cs_ file of ` AppHost ` , register the publisher :
17
+ Then, in the _ AppHost.cs_ file of ` AppHost ` , add the environment :
18
18
19
19
``` csharp
20
- builder .AddPublisher < KubernetesPublisher > (" k8s" );
20
+ builder .AddKubernetesEnvironment (" k8s" );
21
21
```
22
22
23
23
``` shell
24
- aspire publish -t k8s -o artifacts
24
+ aspire publish -o k8s- artifacts
25
25
```
26
26
27
27
## Feedback & contributing
You can’t perform that action at this time.
0 commit comments