-
Notifications
You must be signed in to change notification settings - Fork 14
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
VK+KIP displays cells from a previous incarnation #44
Comments
Yes, this is actually expected (but not ideal). I'll go through what's happening to cause this and the way we deal with the issue in Each Kip pod needs to keep track of which cloud instances it is responsible for (starting, stopping, cleaning up). To do this, each kip pod, when it first creates its internal state storage, also creates a UUID that identifies the provider. That UUID is the Each cloud instance gets tagged with the So in the basic case, when you create a virtual kubelet pod, Kip will create its persistent storage and create a Now, when the virtual-kubelet pod is deleted, the instance and cell remain in the system marked with the original How we fix this in deploy/virtual-kubelet.yaml:
containers:
- name: virtual-kubelet
volumeMounts:
- name: data
mountPath: /opt/kip
volumes:
- name: data
hostPath:
path: /opt/kip
type: DirectoryOrCreate Both of these present a non-ideal situation but one that works and was chosen as one of the easiest ways to do it. When the time is right, I'd like to look into alternatives to preserving controller identity across pod restarts. |
Created #131 to deal with all resources left behind by a deleted Kip instance. |
2qs4mvn2pza6teedd6hfz5hiky
)72oxoqlbgrgjrleablteitvrxu
)kubectl get pods
shows zero pods.kubectl get cells
shows nginx and kube-proxy cells from incarnation1.The text was updated successfully, but these errors were encountered: