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 termination message policy to containers #103

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Feb 20, 2020

This PR fixes #102.

ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#container-v1-core

cc @brancz

Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Verification

  • make generate

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@squat
Copy link
Member

squat commented Feb 24, 2020

sounds cool :) One question, Thanos is quite chatty in logs, do you think we output the useful information in the last 2048 bytes?

@brancz
Copy link
Member

brancz commented Feb 24, 2020

It's more of a safety net. I think experience will tell.

@brancz brancz merged commit 5e7af66 into thanos-io:master Feb 24, 2020
@kakkoyun kakkoyun deleted the termination_policy branch February 24, 2020 12:05
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.

Set terminationMessagePolicy to FallbackToLogsOnError
3 participants