1.6 KiB
1.6 KiB
title_tag, meta_desc, title, h1, weight, menu, aliases
title_tag | meta_desc | title | h1 | weight | menu | aliases | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Deploy the Stack | Kubernetes | This page provides an overview of how to deploy a Kubernetes project as a Pulumi Stack. | Deploy stack | Pulumi & Kubernetes: Deploy stack | 5 |
|
|
Deploy the stack:
$ pulumi up
This command instructs Pulumi to determine the resources needed to create the stack. A preview is shown of the changes that will be made:
Previewing update (dev)
Type Name Plan
+ pulumi:pulumi:Stack quickstart-dev create
+ └─ kubernetes:apps/v1:Deployment app-dep create
Outputs:
name: "app-dep-92efcbdf"
Resources:
+ 2 to create
Do you want to perform this update? [Use arrows to move, type to filter]
yes
> no
details
Select yes
using the arrows and hit enter to create the resources in Kubernetes.
Do you want to perform this update? yes
Updating (dev)
Type Name Status
+ pulumi:pulumi:Stack quickstart-dev created (3s)
+ └─ kubernetes:apps/v1:Deployment app-dep created (1s)
Outputs:
name: "app-dep-b7413dae"
Resources:
+ 2 created
Duration: 10s
The name
of the deployment that we exported is shown as a stack output.
{{< console-note >}}
Next, we'll make some modifications to the program.
{{< get-started-stepper >}}