Installation¶
Pre-requisite: Kustomize v3+
Get Kustomize v3+ by following these instructions.
Install Iter8 in your Kubernetes cluster as follows.
export TAG=master
kustomize build https://github.com/iter8-tools/iter8/install/core/?ref=${TAG} | kubectl apply -f -
kubectl wait crd -l creator=iter8 --for condition=established --timeout=120s
kustomize build https://github.com/iter8-tools/iter8/install/builtin-metrics/?ref=${TAG} | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all -n iter8-system
Pinning the Iter8 version¶
Iter8 release history is available here. To pin the version of Iter8 during the installation, select any Iter8 version >= v0.5.13 and change the TAG above.
For example, to install version v0.5.14 of Iter8, use export TAG=v0.5.14 in the above commands.
RBAC rules¶
As part of Iter8 installation, the following RBAC rules are also installed in your cluster.
Default RBAC Rules
| Resource | Permissions | Scope |
|---|---|---|
| experiments.iter8.tools | get, list, patch, update, watch | Cluster-wide |
| experiments.iter8.tools/status | get, patch, update | Cluster-wide |
| metrics.iter8.tools | get, list | Cluster-wide |
| jobs.batch | create, delete, get, list, watch | Cluster-wide |
| leases.coordination.k8s.io | get, list, watch, create, update, patch, delete | iter8-system namespace |
| events | create | iter8-system namespace |
| services.serving.knative.dev | get, list, patch, update | Cluster-wide |
| inferenceservices.serving.knative.dev | get, list, patch, update | Cluster-wide |
| virtualservices.networking.istio.io | get, list, patch, update, create, delete | Cluster-wide |
| destinationrules.networking.istio.io | get, list, patch, update, create, delete | Cluster-wide |
| seldondeployments.machinelearning.seldon.io | get, list, patch, update | Cluster-wide |