pulumi-kubernetes-operator-v2.0-beta.0
Pre-release
Pre-release
github-actions
released this
27 Sep 22:26
·
57 commits
to master
since this release
Overview
IMPORTANT: this is a prerelease and is not intended for use in a production environment.
This is a preview release of PKO "v2" - a major new version of the PulumI Kubernetes Operator. The focus is on improving the scalability and isolation features so to provide a true multi-tenant experience. The API is backwards-compatible, with the exception of cross-namespace references (not supported).
Installation
Follow the instructions in README.md to install the operator.
Optional: install Flux2 (instructions) to use Flux sources.
Usage
Use the Stack API to manage Pulumi deployments in your Kubernetes cluster.
Walkthrough
Here's a walkthrough to use the random-yaml program from pulumi-examples.
- Install Flux into your cluster if you haven't already:
flux install
- Apply operator/examples/random-yaml/repository.yaml.
- Store a Pulumi access token into a Kubernetes Secret:
kubectl create secret generic pulumi-api-secret --from-literal=accessToken=$PULUMI_ACCESS_TOKEN
. - Apply operator/examples/random-yaml/stack.yaml
The system will perform the following actions:
- Create a pod to serve as the execution environment for the stack:
kubectl get workspace --watch
- Execute
pulumi up
to deploy therandom-yaml
program.kubectl get update --watch
- Update the Stack status as it progresses:
kubectl get stack random-yaml -oyaml --watch
Changelog
- New pod-based architecture
- New installer