21 lines
317 B
Markdown
21 lines
317 B
Markdown
# Install
|
|
|
|
Taken from https://www.pulumi.com/docs/iac/get-started/kubernetes/
|
|
|
|
```
|
|
curl -fsSL https://get.pulumi.com | sh
|
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
|
pulumi login --local
|
|
pulumi new kubernetes-python -g
|
|
pulumi install
|
|
pulumi stack init
|
|
# Edit __main__.py
|
|
```
|
|
|
|
# Run
|
|
|
|
```bash
|
|
pulumi up
|
|
pulumi down
|
|
```
|