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

feat: Add Healtchchecks to RadixConfig #1234

Merged
merged 16 commits into from
Dec 11, 2024

Conversation

Richard87
Copy link
Contributor

@Richard87 Richard87 commented Dec 2, 2024

  • Validate only of probe handler is defined
  • Test data is copied correctly

@Richard87 Richard87 self-assigned this Dec 2, 2024
@Richard87 Richard87 linked an issue Dec 2, 2024 that may be closed by this pull request
3 tasks
@Richard87 Richard87 marked this pull request as ready for review December 3, 2024 12:40
@Richard87 Richard87 requested a review from nilsgstrabo December 3, 2024 12:40
Copy link
Contributor

@nilsgstrabo nilsgstrabo left a comment

Choose a reason for hiding this comment

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

Added a few suggestions that we should discuss

pkg/apis/radix/v1/radixapptypes.go Outdated Show resolved Hide resolved
pkg/apis/radix/v1/radixhealthchecktypes.go Outdated Show resolved Hide resolved
pkg/apis/radix/v1/radixhealthchecktypes.go Outdated Show resolved Hide resolved
PeriodSeconds: pointers.Val(rp.PeriodSeconds),
SuccessThreshold: pointers.Val(rp.SuccessThreshold),
FailureThreshold: pointers.Val(rp.FailureThreshold),
// TerminationGracePeriodSeconds: rp.TerminationGracePeriodSeconds,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// TerminationGracePeriodSeconds: rp.TerminationGracePeriodSeconds,

Suggest we remove this if we don't intend to use it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed, fixed

pkg/apis/radix/v1/radixhealthchecktypes.go Show resolved Hide resolved
@Richard87 Richard87 merged commit bc39c7b into master Dec 11, 2024
5 checks passed
@Richard87 Richard87 deleted the feat-custom-health-checks-and-probes branch December 11, 2024 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.

New health probes: readiness, liveness, startup
2 participants