-
Notifications
You must be signed in to change notification settings - Fork 6.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
Skip retry operation with containerd when etcd installed on host VM #9560
Skip retry operation with containerd when etcd installed on host VM #9560
Conversation
Hi @JRaver. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
/ok-to-test |
I could not get the point of this pull request. |
Because this playbook running on hosts - ((etcd:k8s_cluster:calico_rr) and for this reason I add this check, because if you're trying to run crictl command on hosts where isn't installed contanerd , this step will retry for 5 times *2, and this add additional 10 minutes to deleting process P.S. In our CICD process we use to reinstall sandbox cluster many times, this pr help us save time |
I see the point, thanks for your explanation. /ok-to-test |
roles/reset/tasks/main.yml
Outdated
@@ -80,6 +81,7 @@ | |||
- crictl.stat.exists | |||
- container_manager in ["crio", "containerd"] | |||
- deploy_container_engine | |||
- ansible_facts.services['containerd.service'] is defined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this always be false on cri-o setups ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @floryut , updated PR,I forgot about cri-o, please take a look one more time
f6953f8
to
a2b3a37
Compare
@floryut review one more time please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JRaver Thanks for updating
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, JRaver The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
* Skip retry operation with containerd when etcd installed on host VM (#9560) Signed-off-by: bo.jiang <bo.jiang@daocloud.io> * Update cri-dockerd version Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Co-authored-by: Eugene Artemenko <artemenko.evgeniy@gmail.com>
* Skip retry operation with containerd when etcd installed on host VM (kubernetes-sigs#9560) Signed-off-by: bo.jiang <bo.jiang@daocloud.io> * Update cri-dockerd version Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Co-authored-by: Eugene Artemenko <artemenko.evgeniy@gmail.com>
* Skip retry operation with containerd when etcd installed on host VM (kubernetes-sigs#9560) Signed-off-by: bo.jiang <bo.jiang@daocloud.io> * Update cri-dockerd version Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Co-authored-by: Eugene Artemenko <artemenko.evgeniy@gmail.com>
* Skip retry operation with containerd when etcd installed on host VM (kubernetes-sigs#9560) Signed-off-by: bo.jiang <bo.jiang@daocloud.io> * Update cri-dockerd version Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Co-authored-by: Eugene Artemenko <artemenko.evgeniy@gmail.com>
* Skip retry operation with containerd when etcd installed on host VM (kubernetes-sigs#9560) Signed-off-by: bo.jiang <bo.jiang@daocloud.io> * Update cri-dockerd version Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Co-authored-by: Eugene Artemenko <artemenko.evgeniy@gmail.com>
What type of PR is this?
/kind bug
When etcd installed on host VM and we use containerd in K8S, Kubespray always retry crictl for 5 time, it's took additional time when you delete your cluster .
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: