ekco

module
v0.28.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0

README

Embedded kURL cluster operator (EKCO)

EKCO is responsible for performing various operations to maintain the health of a kURL cluster.

Documentation

Test manually

Deprecated
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

  1. make build-ttl.sh - Build the docker container for the current development environment and deploy it to ttl.sh
  2. Deploy a kurl cluster that includes ecko and any other requirements for testing.
  3. kubectl edit -n kurl deployment/ekc-operator
    1. Replace .spec.image with your ttl.sh image
    2. Replace .spec.imagePullPolicy with "Always"
    3. kubectl delete pod -l app=ekc-operator -n kurl - Delete the pod in the deployment to pull the new image

Release

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

Directories

Path Synopsis
cmd
pkg
ekcoops
Package ekcoops provides a Kubernetes Operator for an embedded kURL cluster.
Package ekcoops provides a Kubernetes Operator for an embedded kURL cluster.
k8s
k8s/mock
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL