Operator is a component of the ioFog Kubernetes Control Plane. It is responsible for consuming Control Plane CRDs for the purposes of deploying ioFog Control Planes to Kubernetes clusters.
Go 1.17.9+ is a prerequisite.
See all make
commands by running:
make help
To build, go ahead and run:
make build
Note that the Makefile targets have a number of tooling dependencies. These are installed automatically if not present (as the Azure build/test pipeline requires them), but for local development, you can use your own install method for the tools. They are:
- controller-gen: k8s component
- kustomize: k8s component
- golangci-lint: linting
- kubectl: CLI for controlling k8s
- bats: Bash-based testing framework
Run project unit tests:
make test
export KUBECONFIG=~/.kube/config
bin/iofog-operator