Commit Graph

26 Commits

Author SHA1 Message Date
David Porter 083baa13ba Implement shutdown manager in kubelet
Implements KEP 2000, Graceful Node Shutdown:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2000-graceful-node-shutdown

* Add new FeatureGate `GracefulNodeShutdown` to control
enabling/disabling the feature
* Add two new KubeletConfiguration options
  * `ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods`
* Add new package, `nodeshutdown` that implements the Node shutdown
manager
  * The node shutdown manager uses the systemd inhibit package, to
  create an system inhibitor, monitor for node shutdown events, and
  gracefully terminate pods upon a node shutdown.

Kubernetes-commit: 16f71c6d47843c359e78c0eea2f34814f4cf055b
2020-11-02 23:18:36 +00:00
sw.han f377a8f13e Add kubelet configuration flag 'topology-manager-scope'
add kubelet config option.
* --topology-manager-scope=[ container | pod ]
* default=container

Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com>

Kubernetes-commit: d070bff273bc867f5568c916f99e099283b280aa
2020-10-01 16:57:10 +02:00
Sergey Kanzhelev c41dcd641c follow up cleanup after SupportPodPidLimits GA
Kubernetes-commit: 2a9228eb3c0ecabd2c513691820a731ae7654646
2020-09-14 18:50:24 +00:00
Sri Saran Balaji Vellore Rajakumar 0062b169bd Add support for disabling /logs endpoint in kubelet
Kubernetes-commit: 05240c9218e84a3bfeb2ced62824b33b0b23efe5
2020-01-15 20:37:39 -08:00
amash bdcb3bc592 add LoggingConfiguration struct to component-base/config
Kubernetes-commit: 3ab25f18766d83ca56672880aae77fa4cece0e91
2020-06-26 01:03:27 +04:30
amash 063b0e8247 add loggingConfig struct to kubelet config
Kubernetes-commit: ac8d2e897876c3c823a91ce4ab9ae2a908aff8e3
2020-06-16 15:17:14 +04:30
amash 12c6fe7453 add --logging-format flag to kubelet
Kubernetes-commit: ba8189a4f2bc48651463ab9afe39de1860ffcf57
2020-05-28 18:10:17 +04:30
Amim Knabben 07084fda3c Moving Kubelet kernel-memgc-notification to configuration file
Kubernetes-commit: c39cf28ed35200bd9b20ee1408edef73cd3ab7e6
2020-06-06 11:55:43 -04:00
Jordan Liggitt 1a24139985 Promote RotateKubeletClientCertificate to GA
Kubernetes-commit: 71d77b54fd593458993f4521f2f5eba9b94633f5
2020-06-04 12:10:39 -04:00
Amim Knabben 1a56737875 Moving Kubelet --node-status-max-images flag to configuration
Kubernetes-commit: f6246aba6ea791eba239157efb51b2a2ba265f2e
2020-05-19 21:38:04 -04:00
Amim Knabben 17328d62fd Moving enable-server and provider-id
Kubernetes-commit: 8459c9b6f458f1e9e618e7be0d2ad63b5d434fd5
2020-04-25 19:01:17 -04:00
Md Tahsin Rahman e1116566a3 Add tests for KubeletConfig
Kubernetes-commit: ea15f603289b6d8f814dddc60f0e434cc20bf3df
2019-12-08 16:40:14 +06:00
vincent178 3ddeeb32dd move runonce from flag to config
Kubernetes-commit: 745b742de553c685c9293a26830cc8f3173a0e6d
2020-03-15 07:47:55 +08:00
Savitha Raghunathan 8b3026a189 moving volume plugin dir to kubelet config - part 1
Kubernetes-commit: 3234d34714e69817351ed74599dc3a95b831afd4
2020-01-26 15:09:48 -05:00
Marek Siarkowicz f406649070 Add show-hidden-metrics-for-version to kubelet
Kubernetes-commit: d44d5b35f3d5ca2ce0bcc8865e299a013d294f47
2019-11-14 14:38:14 +01:00
Jianzhu Zhang 8624819e0b added --reserved-cpus kubelet command option
Kubernetes-commit: 89dfd244838f21ecaf9bc9bf28662a7cccdd8425
2019-10-07 14:53:41 -04:00
Louise Daly 6ec2bfcff5 Added Single NUMA Node Policy which ensure resource are
aligned on a single NUMA node

Co-authored-by: Kevin Klues <kklues@nvidia.com>

Kubernetes-commit: f6c085f60ee4e3b8ef024e51edc9f408fd30c4e2
2019-08-28 15:20:27 +01:00
Louise Daly 04a455ca48 Renaming strict policy to restricted policy
Restricted policy will fail admission of guaranteed pods where
all requested resources are not available on a single NUMA Node

Kubernetes-commit: 2fb94231d0950fb0bc1d054a70f356d22e337a3e
2019-08-22 07:57:55 +01:00
nolancon aac3f0f055 Enable feature gate and kubelet flags for Topology Manager
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge

nit: dependency added to separate PR

Add check to ensure strict policy cannot be set without feature gate enabled

Topology Manager runs "none" policy by default.

Added constants for policies and updated documentation.

Kubernetes-commit: 705f97e171ffaf124d8709c466e42d614e8984b3
2019-02-21 18:06:10 +00:00
Seth Jennings 69c066f592 kubelet: add allowed sysctl to KubeletConfiguration
Kubernetes-commit: 0c7ce5a7d706613598ae3970504c4551094aee3e
2019-03-11 13:42:56 -05:00
Rong Gao d66b25fe74 fix some mistakes in changelog
Kubernetes-commit: e19530728f947a845a7ab346b9ee405deb2d33f2
2019-05-28 15:16:09 +08:00
Gerard Hickey fcb9f094a8 Fixed default value for ConfigMapAndSecretChangeDetectionStrategy
Kubernetes-commit: 2547993b4ab662d90190491540705b33586f444b
2019-03-30 18:54:17 -07:00
Zhen Wang f6713d9bd0 Update kubelet node status report logic with node lease feature
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.

Kubernetes-commit: 98fc4a107a8e6da008669b2792044a154f4a75a7
2018-10-01 11:32:56 -07:00
Lucas Käldström 7df8849cdf Standardize componentconfig code/comment patterns
Kubernetes-commit: 83d53ea1c2aeda3619c3aafeb9cf7e50c124058e
2018-09-06 13:42:02 +03:00
Lucas Käldström 6e39c8d9a8 autogenerated go code, godeps, bazel and gofmt
Kubernetes-commit: 8b6a7ee07569f2a14fb09c3a540c459467cc62ab
2018-09-02 14:38:59 +03:00
Lucas Käldström c91b84ac8c Move the kubelet's external types to k8s.io/kubelet
Kubernetes-commit: 15760506c204c7ff60d40fb8eafbf7901e41fedc
2018-09-02 14:19:38 +03:00