Local Testing
Kind
To create a local Kubernetes cluster using Kind you will need the following installed:
- Docker or any container runtime probably
- Kind
- cloud-provider-kind
- kubectl
Scripts:
kind/create.sh- creates a Kind cluster and sets up the gateway
- build and deploy ontime-operator into cluster
- deploy the sample stage
- start
cloud-provider-kind
kind/delete.sh- deletes the Kind cluster
To get the gateway IP address run kubectl get gateway -n kube-system the output will look something like this:
NAMESPACE NAME CLASS ADDRESS PROGRAMMED AGE
kube-system gateway cloud-provider-kind 172.18.0.5 True 23s
Description
Languages
Makefile
71.1%
Smarty
19%
Shell
7.4%
Dockerfile
2.5%