Quickstart

Quickstart

Build Kubernetes manifests from an OAM Application and a platform ClusterProfile.

1. An application

app.yaml — a single webservice component:

apiVersion: launcher.gokure.dev/v1alpha1
kind: Application
metadata:
  name: hello
spec:
  components:
    - name: web
      type: webservice
      properties:
        image: nginx:1.27
        port: 80
  traits: []

2. A cluster profile

profile.yaml — minimal platform choices:

apiVersion: launcher.gokure.dev/v1alpha1
kind: ClusterProfile
metadata:
  name: minimal
spec: {}

3. Build

# Render to stdout
kurel build app.yaml --profile profile.yaml

# …or write manifests to a directory
kurel build app.yaml --profile profile.yaml -o out/

kurel resolves the application against the profile and emits ready-to-apply Kubernetes manifests (here a Deployment, Service, and ServiceAccount).

Next steps