-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
fix: protokube restart always and spawn new containers #7927
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @MqllR! |
Hi @MqllR. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MqllR The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
CLA signed |
@MqllR: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1 similar comment
@MqllR: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
c161d7c
to
f659b00
Compare
/assign @mikesplain |
Hi @MqllR! This looks pretty good. Have you tested this? Were you able to replicate the crashing issue and confirm this protects things (as it should)? /ok-to-test |
Hi @mikesplain ! I reproduced the issue with sending a sig term to journald. This is how I reproduce:
Then, the service protokube will start to flap and create new failing containers:
To test my configuration, I edited the systemd conf and tested it again:
It fixes the issue as expected. We must test with a full kops deployment but I'm fighting a bit to build the binary. |
@MqllR can I ask you why the docker command starts with a |
Hi @maruina, |
Thanks! I learned a new thing :) |
Hi @mikesplain, I've build nodeup and run it to verify the output. It's the expected result. |
@MqllR: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@MqllR: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Since the merge of #7986, the change I proposed has been implemented inside... don't sure to see the relation between splitting the CRI/containerd and protokube systemd! |
The issue is described here #7928
TL;DR
The systemd service for protokube enter in an infinity loop and flood new containers.