Skip to content

The Kubernetes operator that helps with running Kaoto in K8s clusters

Notifications You must be signed in to change notification settings

lhein/kaoto-operator

This branch is 185 commits behind KaotoIO/kaoto-operator:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b6b892c · Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Jul 13, 2023
Jul 13, 2023
Jul 13, 2023
Jul 13, 2023
Jul 31, 2023
Jul 13, 2023
Sep 11, 2023
Jul 13, 2023
Sep 29, 2023
Sep 29, 2023
Jul 13, 2023

Repository files navigation

This repository consist of Kaoto operator and other Kubernetes resources that helps to run Kaoto in the Kubernetes cluster.

Kaoto operator

The Kubernetes operator that manages Kaoto instance within the Kubernetes clusters.

Kubernetes resources

Multiresource yaml files to deploy to plain kubernetes.

Install Kaoto

Plain Kubernetes (Minikube)

  • Install and run a Minikube instance with ingress addon enabled.
  • Install Kaoto from the multi-resource yaml kubectl apply -k https://github.com/KaotoIO/kaoto-operator//config/standalone
    • this will create kaoto-system namespace and install Kaoto Operatorand
  • Create sample Kaoto CR kubectl apply -f https://raw.githubusercontent.com/KaotoIO/kaoto-operator/main/config/samples/designer.yaml
  • Waith the the ingrees admits the endoint
    NAME       PHASE   ENDPOINT
    designer   Ready   http://192.168.49.2/designer/
    
  • Kaoto should be accessible at http:/$(minikube ip)/designer

Using the Operator

  • Clone kaoto-operator repository
  • Run make deploy which creates kaoto-system project and deploy all necessary resources
  • Deploy Kaoto Custom Resource sample: kubectl apply -f config/samples/designer.yaml

Local development

Run Operator inside the cluster

  1. Start minikube win ingress controller enabled: minikube start --addons ingress
  2. Point docker to minikube internal registry: eval $(minikube -p minikube docker-env)
  3. Build the Operator: make build
  4. Build the Operator Image: make docker-build
  5. Deploy Operator: make deploy
  6. Create sample Kaoto CR: kubectl apply -f config/samples/designer.yaml
  7. (Optional) Undeploy everything: make undeploy

Run locally outside the cluster

  1. Start minikube win ingress controller enabled: minikube start --addons ingress
  2. Run operator locally: make run/local
  3. Create sample Kaoto CR: kubectl apply -f config/samples/designer.yaml
  4. (Optional) Undeploy Kaoto: kubectl delete kaoto kaoto-demo

About

The Kubernetes operator that helps with running Kaoto in K8s clusters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 76.8%
  • Makefile 17.0%
  • Shell 3.7%
  • Dockerfile 2.5%