The Istio operator is built on the kubebuilder project.
To build the operator and run tests:
- Run
make vendor
- Run
make
If you make changes and would like to try your own version, create your own image:
make docker-build IMG={YOUR_USERNAME}/istio-operator:v0.0.1
make docker-push IMG={YOUR_USERNAME}/istio-operator:v0.0.1
make deploy IMG={YOUR_USERNAME}/istio-operator:v0.0.1
Watch the operator's logs with:
kubectl logs -f -n istio-system istio-operator-controller-manager-0 manager
Create CR and let the operator set up Istio in your cluster (you can change the spec
of Istio
for your needs in the yaml file):
kubectl create -n istio-system -f config/samples/istio_v1beta1_istio.yaml
You should be able to setup Istio's Bookinfo Application at this point or start using it as you wish.