- kubectl 1.14+
- deepcopy-gen
$ go get k8s.io/code-generator/cmd/deepcopy-gen - clone into
$GOPATH/src/sigs.k8s.io/cluster-api-provider-exoscale
% make docker-build
% make docker-pushConfiguration is done via the following environement variables.
export EXOSCALE_API_KEY=EXO...
export EXOSCALE_SECRET_KEY=...
export EXOSCALE_COMPUTE_ENDPOINT=https://api.exoscale.com/computekind is required to act as the bootstrap cluster. run calls clusterctl.
% go get -u sigs.k8s.io/kind
% make run
Follow the master bootstrap.
% export KUBECONFIG=$(kind get kubeconfig-path --name=clusterapi)
% kubectl logs -f exoscale-provider-controller-... -n exoscale-provider-systemFollow the node bootstrap.
% kubectl --kubeconfig kubeconfig logs -f exoscale-provider-controllers-... -n exoscale-provider-systemAnd finally.
% kubectl --kubeconfig kubeconfig get nodes
NAME STATUS ROLES AGE VERSION
my-exoscale-master-s5lmn Ready master 4m23s v1.13.3
my-exoscale-node-n7dww Ready <none> 34s v1.13.3Deleting the cluster use clusterctl as well.
% make delete
