This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pod-checkpointer: Update to pod-checkpointer image that fixes #432
- Fixes #432. - pod-checkpointer pod logs errors as it cannot talk to the kubelet api as mentioned in the issue. This is becuase the pod-checkpointer queries the localhost at 10250 and 10255 ports to talk to the kubelet API. Since in Lokomotive, we run the kubelet as a pod, this causes `connection refused` errors as nothing is listening at localhost. To rectify the above problem, the solution requires chanves in two places: 1. Provide a way to access the pod's `status.hostIP` as an environment variable named `HOST_IP` to use instead of localhost. This is done by modifying the daemonset configuration of kubelet. 2. Change the pod-checkpointer code to use the `HOST_IP` from above. This is done in the PR: https://github.com/kinvolk/bootkube/pull/2 - Next we update the image tag to use the new pod-checkpointer image. The tag includes the commit id which made this change. - Lastly we update the generated assets. Signed-off-by: Imran Pochi <imran@kinvolk.io>
- Loading branch information