Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cluster creation test #192

Merged
merged 4 commits into from
Jan 21, 2025
Merged

Add Cluster creation test #192

merged 4 commits into from
Jan 21, 2025

Conversation

enrichman
Copy link
Collaborator

@enrichman enrichman commented Jan 17, 2025

Ref:


This PR adds a first Cluster creation test.

It will check for the readiness state of the server and kubelet, and it will wait for the bootstrap secret to be created.

Note that we are not yet checking for it to be "functional". A next PR will be made, after a small check and refactor of the kubeconfig generation.

⚠️ Warning ⚠️

The PullPolicy for the kubelet was removed, with the default IfNotPresent. This is because we are pushing dev images locally, and they do not exists in the remote registry.

For testing development you should be aware that the image in your environment could be cached, and other tags should be used instead. Using the latest tag should enable the Always policy.
We could think adding a dedicated environment variable, or enable this strategy when the debug is true.

@enrichman enrichman self-assigned this Jan 20, 2025
@enrichman enrichman requested a review from briandowns January 21, 2025 09:07
@enrichman enrichman merged commit 3f49593 into rancher:main Jan 21, 2025
3 checks passed
@enrichman enrichman deleted the 166-test branch January 21, 2025 16:53
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.

3 participants