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

Implement Liveness probe #1

Closed
wants to merge 18 commits into from
Closed

Implement Liveness probe #1

wants to merge 18 commits into from

Conversation

sliaptsou
Copy link
Owner

@sliaptsou sliaptsou commented Feb 5, 2021

DO NOT SUBMIT
Implement Liveness probe (without tests and docs update)

aws#333

jillmon and others added 16 commits February 12, 2021 10:53
* Update stale.yml

Suggested changes for stale bot to include issues with pull requests

* Update stale.yml

* Update stale.yml
* Refactor sqs message handling

Process all messages received one at a time

* Update tests for error handling

The existing tests all assumed that errors should be returned from Monitor() if something fails.  Now those are logged and no event is generated.

Refactor tests to remove go functions and use a channel with non-zero capacity to buffer generated events.

* Return error if no messages can be processed

If none of the messages received from SQS can be processed, return an error.  This will allow the NTH to detect repeated issues processing the queue.
When metric/prometheus endpoint is enabled, we currently have an issue as the
PodSecurityPolicy does not allow the pod to bind the ports. This change sorts
this issue out (aws#365).

Signed-off-by: Maxime VISONNEAU <[email protected]>
* Update README.md

* Update README.md
* Provide node labels for webhook template

* Move node label to interruptionEvent struct

* Fix indent

* Update node-termination-handler.go

Co-authored-by: Brandon Wagner <[email protected]>
@sliaptsou sliaptsou changed the title Implement Liveness probe (without tests and docs update) Implement Liveness probe Mar 12, 2021
@sliaptsou sliaptsou closed this Mar 12, 2021
@sliaptsou sliaptsou deleted the issue-333 branch March 12, 2021 12:48
@sliaptsou sliaptsou restored the issue-333 branch March 12, 2021 12:49
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.

10 participants