Skip to content

Getting started

Prerequisites

  • go version v1.24.0+
  • docker version 17.03+
  • kubectl version v1.11.3+
  • Access to a Kubernetes v1.11.3+ cluster

Build and deploy

  1. Build and push the image:
sh
make docker-build docker-push IMG=<some-registry>/sonic-operator:tag
  1. Install CRDs:
sh
make install
  1. Deploy the controller:
sh
make deploy IMG=<some-registry>/sonic-operator:tag

Create resources

Apply sample manifests and then edit them for your environment:

sh
kubectl apply -k config/samples/

Uninstall

sh
kubectl delete -k config/samples/
make uninstall
make undeploy
EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.