Skip to content

Add readiness/liveness probes to k8s CaaS resources #2187

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

Merged
merged 24 commits into from
May 24, 2021

Conversation

RobertLucian
Copy link
Member

@RobertLucian RobertLucian commented May 20, 2021

checklist:

  • run make test and make lint
  • test manually (i.e. build/push all images, restart operator, and re-deploy APIs)

@miguelvr miguelvr self-requested a review May 20, 2021 22:27
@miguelvr miguelvr changed the title CaaS probes Add readiness probes to k8s resources May 20, 2021
@miguelvr miguelvr changed the title Add readiness probes to k8s resources Add readiness probes to k8s CaaS resources May 20, 2021
@RobertLucian RobertLucian changed the title Add readiness probes to k8s CaaS resources Add readiness/liveness probes to k8s CaaS resources May 21, 2021
@@ -62,6 +62,7 @@ type StringValidation struct {
CastScalar bool
AllowCortexResources bool
RequireCortexResources bool
DockerImage bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this for? user container image? In any case, I think it needs a better naming scheme, since docker is a company

Copy link
Member Author

Choose a reason for hiding this comment

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

It checks whether it's a valid docker image registry path. We can do this in a separate PR as this is a literal copy-paste from the other configreader validations.

@RobertLucian RobertLucian merged commit 5d21a40 into feature/caas-api May 24, 2021
@RobertLucian RobertLucian deleted the caas/probes branch May 24, 2021 15:17
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