Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.5 KB

File metadata and controls

54 lines (36 loc) · 1.5 KB

Prerequisite

Configure development cluster

Configuration credentials

Configure an octl profile. It will be used by CAPOSC to create resources.

Create cluster

make setup-dev

This will bootstrap a Kind cluster, configure the docker registry and setup a kind-caposc kubectl context.

Build and deploy

KIND_IMG_TAG=`date '+%Y%m%d-%H%M%S'` make deploy-dev

This will build the CAPOSC image, push it to the docker registry and deploy the CAPOSC manifest.

Clean up

make cleanup-dev

This will delete the Kind cluster.

Upgrading Calico

The .github/actions/deploy_cluster action and the E2E framewwork need to be based on the same Calico version.

When upgrading Calico in the action, you need to upgrade the E2E framework:

curl -L https://raw.githubusercontent.com/projectcalico/calico/vX.Y.Z/manifests/calico.yaml -o ./test/e2e/data/cni/calico/calico.yaml