ahmetb / sample-bundle-deployment-controller

A sample CRD that deploys a bundle of arbitrary Kubernetes resources with pruning/kustomization capabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample-bundle-deployment-controller

A sample CRD that deploys a bundle of arbitrary Kubernetes resources with pruning/kustomization capabilities.

Copyright 2022 Ahmet Alp Balkan.

Setup

  1. Make sure you have Kind, Docker and ko installed.

  2. Create Kind cluster:

    kind create cluster
    
  3. Apply CRD manifests:

    kubectl apply -R -f config/
    
  4. Build and deploy the controller:

    go run ./controller 
    
  5. Apply the sample manifest:

    kubectl apply -f example-deployment.yaml
    

About

A sample CRD that deploys a bundle of arbitrary Kubernetes resources with pruning/kustomization capabilities.


Languages

Language:Go 96.6%Language:Dockerfile 3.4%