This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Pods take a long time to create after bootstrap #1090
Labels
Comments
johananl
added
bug
Something isn't working
area/kubernetes
Core Kubernetes stuff
labels
Oct 16, 2020
In case it becomes relevant, I'm seeing the following logs from kube-apiserver while waiting for the pods to create:
EDIT: I'm actually not sure if I got this while waiting for pods. Leaving this here in case it helps somehow. |
Looks like this is hard to reproduce. |
OK, looks like the following is a red herring, too:
I'm seeing these messages also under normal operation. |
Just in case, #1085 is now merged. I'll try to reproduce it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes pods take a long time to get created immediately after cluster bootstrap. During these times, running e.g.
kubectl get deployment
can result in the following:The deployment object is created, however no related pods are shown in
kubectl get pods
. The cluster eventually converges after a couple of minutes and the problem doesn't seem to occur again.Some pods were already created as this was happening, however for example the httpbin pods took more than 3 minutes to create:
I think this has to do with either kube-controller-manager or kube-scheduler, not sure which.
In case it's relevant, I'm seeing the following logs in kube-scheduler while waiting for the pods to appear, however the repeating messages at the end seem to keep showing up also when everything seems to be working:
I'm not sure how easy this is going to be to reproduce, however following is what I used when I saw this:
lokoctl version:
v0.4.1-202-g48cb56df
Cluster config:
The text was updated successfully, but these errors were encountered: