The etc3 controller provides core capabilities to orchestrate iter8 experiments across different Kubernetes and Openshift stacks.
This section is for iter8 developers and contains documentation on running and testing the etc3 controller locally.
Pre-requisites: kubectl
with acccess to a kubernetes cluster.
To install KFServing and the iter8-kfserving domain package, follow Steps 1 and 2 from here.
For dev/local-test purposes, it is convenient to run the etc3 locally. Follow the above instructions for iter8-kfserving installation, and then delete the etc3 controller as follows.
kubectl delete deployment iter8-controller-manager -n iter8-system
In a separate terminal:
kubectl port-forward -n iter8-system svc/iter8-analytics 8080:8080
You should now be able to access the iter8-analytics service using the OpenAPI UI at http://localhost:8080/docs
make manager
export ITER8_NAMESPACE=iter8-system
export ITER8_ANALYTICS_ENDPOINT=http://127.0.0.1:8080/v2/analytics_results
export DEFAULTS_DIR=../iter8-kfserving/install/iter8-controller/configmaps/defaults
export HANDLERS_DIR=../iter8-kfserving/install/iter8-controller/configmaps/handlers
bin/manager
make test