EKCO is responsible for performing various operations to maintain the health of a kURL cluster.
make docker-image
kubectl apply -k deploy/
This method is very much out of sync and doesn't work. The current best way to test is to deploy a kurl cluster and modify the deployment to pull the docker container produced as part of development.
Steps
- make build-ttl.sh - Build the docker container for the current development environment and deploy it to ttl.sh
- Deploy a kurl cluster that includes ecko and any other requirements for testing.
- kubectl edit -n kurl deployment/ekc-operator
- Replace .spec.image with your ttl.sh image
- Replace .spec.imagePullPolicy with "Always"
- kubectl delete pod -l app=ekc-operator -n kurl - Delete the pod in the deployment to pull the new image
To make a new release push a tag in the format v[0-9]+\.[0-9]+\.[0-9]+(-[0-9a-z-]+)?
.
git tag -a v0.1.0 -m "Release v0.1.0" && git push origin v0.1.0