Skip to content

Conversation

sknat
Copy link
Collaborator

@sknat sknat commented Sep 2, 2025

This patch adds a 'make kind' directive that spins up a kind cluster,
installs Calico, CalicoVPP from a local build VPP and the agent.

This patch adds a 'make kind' directive that spins up a kind
cluster, installs Calico, CalicoVPP from a local build VPP and
the agent.

Signed-off-by: Nathan Skrzypczak <[email protected]>
@sknat sknat self-assigned this Sep 2, 2025
@sknat sknat requested a review from villinadrian September 16, 2025 07:45

kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/master/manifests/tigera-operator.yaml

while [[ "$(kubectl api-resources --api-group=operator.tigera.io | grep Installation)" == "" ]]; do echo "waiting for Installation kubectl resource"; sleep 2; done
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't this suffice?
kubectl -n tigera-operator wait --for=condition=Ready pod --all

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, let me change this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it is not enough to wait for the Pod to be ready, it needs to have created
the CRDs, not sure if there is a proper way to do this with a kubectl wait command.
If that's ok with you, let's merge this as is and if we find a better way at some point, let's revisit it

@sknat sknat merged commit c97d587 into master Sep 16, 2025
5 checks passed
@sknat sknat deleted the nsk-make-kind branch September 16, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants