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

Wait for theatre resources to be ready #278

Merged
merged 2 commits into from
Jun 13, 2023
Merged

Conversation

rnaveiras
Copy link
Contributor

@rnaveiras rnaveiras commented Jun 13, 2023

  • Wait for theatre resources to be ready

At the moment, we are waiting for the first round of resources to be ready but
we aren't waiting for the theatre components.

This PR adds that wait to ensure that all pods are ready after installing the
theatre resources. So we ensure that we are prepared for the acceptance test suite.

It also improves the timeout on the CommandContext. If, for any reason, the
kubectl command doesn't finish due to their timeout, we add a deadline
to exec via the context deadline. It will help to see issues in
the future, or no clear error codes return via kubectl.

  • kustomize overaly: Override CPU allocation

Reduce CPU allocation. One of the reasons why some workloads never
start in GitHub actions was because we didn't have enough CPU. They
controllers were always in not a Running state.

I need more time to go into the details of how much CPU allocation
we've in GitHub actions using kind. So, I took the approach of reducing
this for the acceptance test.

At the moment, we are waiting for the first round of resources to be
ready but we aren't waiting for the theatre components.

This PR adds that wait to ensure that all pods are ready after
installing the theatre resources. So we ensure that we are prepared for
the acceptance test suite.

It also improves the timeout on the ComandContext. If, for any reason,
the kubectl command doesn't finish due to their timeout, we add a
deadline to exec via the context deadline. It will help to see issues in
the future, or no clear error codes return via kubectl.
Reduce CPU allocation. One of the reasons why some workloads never
start in GitHub actions was because we didn't have enough CPU. They
controllers were always in not a Running state.

I need more time to go into the details of how much CPU allocation
we've in GitHub actions using kind. So, I took the approach of reducing
this for the acceptance test.
@rnaveiras rnaveiras merged commit 4f0964c into master Jun 13, 2023
@rnaveiras rnaveiras deleted the rnaveiras-theatre-resources branch June 13, 2023 12:14
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