Skip to content

pulumi-kubernetes-operator-v2.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions 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.

  1. Install Flux into your cluster if you haven't already: flux install
  2. Apply operator/examples/random-yaml/repository.yaml.
  3. Store a Pulumi access token into a Kubernetes Secret: kubectl create secret generic pulumi-api-secret --from-literal=accessToken=$PULUMI_ACCESS_TOKEN.
  4. Apply operator/examples/random-yaml/stack.yaml

The system will perform the following actions:

  1. Create a pod to serve as the execution environment for the stack: kubectl get workspace --watch
  2. Execute pulumi up to deploy the random-yaml program. kubectl get update --watch
  3. Update the Stack status as it progresses: kubectl get stack random-yaml -oyaml --watch

Changelog

  • New pod-based architecture
  • New installer