Revert Graceful Node Shutdown feature
* Disable Kubelet Graceful Node Shutdown on worker nodes (enabled in Kubernetes v1.25.0 https://github.com/poseidon/typhoon/pull/1222) * Graceful node shutdown shutdown allows 30s for critical pods to shutdown and 15s for regular pods to shutdown before releasing the inhibitor lock to allow the host to shutdown * Unfortunately, both pods and the node are shutdown at the same time at the end of the 45s period without further configuration options. As a result, regular pods and the node are shutdown at the same time. In practice, enabling this feature leaves Error or Completed pods in kube-apiserver state until manually cleaned up. This feature is not ready for general use * Fix issue where Error/Completed pods are accumulating whenever any node restarts (or auto-updates), visible in kubectl get pods * This issue wasn't apparent in initial testing and seems to only affect non-critical pods (due to critical pods being killed earlier) But its very apparent on our real clusters Rel: https://github.com/kubernetes/kubernetes/issues/110755
This commit is contained in:
parent
5f612c82e2
commit
1786e34f33
|
@ -4,6 +4,9 @@ Notable changes between versions.
|
||||||
|
|
||||||
## Latest
|
## Latest
|
||||||
|
|
||||||
|
* Revert Kubelet Graceful Node Shutdown on worker nodes ([#1227](https://github.com/poseidon/typhoon/pull/1227))
|
||||||
|
* Fix issue where non-critical pods are left in Error/Completed state on node shutdown
|
||||||
|
|
||||||
### Addons
|
### Addons
|
||||||
|
|
||||||
* Update kube-state-metrics from v2.5.0 to [v2.6.0](https://github.com/kubernetes/kube-state-metrics/releases/tag/v2.6.0)
|
* Update kube-state-metrics from v2.5.0 to [v2.6.0](https://github.com/kubernetes/kube-state-metrics/releases/tag/v2.6.0)
|
||||||
|
|
|
@ -122,8 +122,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -121,8 +121,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -117,8 +117,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -117,8 +117,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -128,8 +128,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -118,8 +118,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -122,8 +122,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -121,8 +121,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -116,8 +116,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
|
@ -116,8 +116,6 @@ storage:
|
||||||
featureGates:
|
featureGates:
|
||||||
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
LocalStorageCapacityIsolationFSQuotaMonitoring: false
|
||||||
rotateCertificates: true
|
rotateCertificates: true
|
||||||
shutdownGracePeriod: 45s
|
|
||||||
shutdownGracePeriodCriticalPods: 30s
|
|
||||||
staticPodPath: /etc/kubernetes/manifests
|
staticPodPath: /etc/kubernetes/manifests
|
||||||
readOnlyPort: 0
|
readOnlyPort: 0
|
||||||
resolvConf: /run/systemd/resolve/resolv.conf
|
resolvConf: /run/systemd/resolve/resolv.conf
|
||||||
|
|
Loading…
Reference in New Issue