git clone git@github.com:apache/skywalking-swck.git
Edit file config/operator/default/kustomization.yaml
file to change your preferences. If you prefer to your private docker image, a quick path to override OPERATOR_IMG
environment variable : export OPERATOR_IMG=<private registry>/controller:<tag>
Use make
to generate the final manifests and deploy:
make operator-deploy
make operator-install
curl https://raw.githubusercontent.com/apache/skywalking-swck/master/config/operator/samples/default.yaml | kubectl apply -f -
kubectl get oapserver
kubectl get ui
If you encounter any issue, you can check the log of the controller by pulling it from Kubernetes:
# get the pod name of your controller kubectl --namespace skywalking-swck-system get pods # pull the logs kubectl --namespace skywalking-swck-system logs -f [name_of_the_controller_pod]
If you want to custom the manifests templates to generate dedicated Kubernetes resources, please edit YAMLs in pkg/operator/manifests
. After saving your changes, issue make update-templates
to transfer them to binary assets. The last step is to rebuild operator
by make operator-docker-build
.