-
Notifications
You must be signed in to change notification settings - Fork 345
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
ImagePullBackOff when node failed #2485
Comments
So, technically the pull secret is stored on the namespace and it should be shared among all nodes, so if a node is deleted and the pod (here we are in the Kubernetes domain, the Camel K operator should not interfere with that behavior) recreated on another node, the same pull secret used by previous node should be used by the new one. So I assume you're currently not using them but want to.. The trait you've configured should be correct. |
Yes @nicolaferraro , I am using pull-secret trait for integration. Actually I see 2 pods created when I apply integration.
And rs that contain imagPullSecret is scaled to 0:
Seems that both replicaSets are revisions of deployment gmail made by integration :
And second revision doesn't contain imagePull secrets(maybe it is patched not properly or so). From events I see that both pods assigned to one node:
So I am thinking that first pod download image on node and second using this image while node is up. And when node crashes active replicaSet can't pull image. Thanks |
This issue has been automatically marked as stale due to 90 days of inactivity. |
Hello,
First of all thanks for great project !
I am running camel-k integration on GKE cluster with preemptible nodes.(nodes recreated daily)
Currently I have to delete and apply integration each time k8s migrate pod to other node because of
ImagePullBackOff
error:I've added next triats to integration:
But it don't take affect on deployment made for this integration.
Operator version:
The text was updated successfully, but these errors were encountered: