This is a simple deployment guide for the operator on a kind cluster
To set up this operator on a kind follow the instructions below:
-
Make sure you have golang installed on your machine, The go-lang version that this operator was built on is go1.15.7 darwin/amd64
-
Kind installed
Modify the file config/skydive_v1_skydive.yaml and pick what you wish to deploy (insert true or false in the relevant field), the options are as follows:
- Skydive agents
- Skydive analyzer
- Service route
Install kind on your machine, use this quick start guide for help, make sure that your have a running kind cluster and that kubectl commands refer to relevant context.
If for some reason you have changed your KUBECONFIG default location please update the KUBECONFIG environment variable by using this command:
export KUBECONFIG=$PATH_TO_YOUR_KUBECONFIG
run the script :
./deploy_operator_on_kind.sh
Modify the current config/skydive_v1_skydive.yaml and pick what you wish to deploy (insert true or false in the relevant field), the options are as follows:
- Skydive agents
- Skydive analyzer
You can provide the skydive operator with environments variables in order to customize your skydive deployment. Checkout this example of crd to get started with providing environment variables to the skydive operator, full list of acceptable enviorment variables are listed here
- Check that all the pods and services are running and afterwards run the following command:
kubectl port-forward service/skydive-analyzer 8082:8082 --namespace=skydive
- Now open browser on localhost:8082