Kubernetes Prow Robot
1a4e1f6534
Merge pull request #96528 from andrewsykim/service-topology-gate
...
core/v1: document that topologyKeys requires the ServiceTopology feature gate
2020-11-12 16:03:35 -08:00
Kubernetes Prow Robot
94b17881fc
Merge pull request #96454 from Sh4d1/revert_92312
...
Revert "Merge pull request #92312 from Sh4d1/kep_1860"
2020-11-12 16:03:24 -08:00
Kubernetes Prow Robot
765d949bfc
Merge pull request #96440 from robscott/endpointslice-pre-ga
...
Adding NodeName to EndpointSlice API, deprecation updates
2020-11-12 16:03:13 -08:00
Kubernetes Prow Robot
ae95984e88
Merge pull request #96426 from damemi/print-scheduler-config
...
Log defaulted kube-scheduler component config at startup
2020-11-12 16:03:01 -08:00
David Porter
16f71c6d47
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.
2020-11-12 21:47:55 +00:00
David Porter
2343689ce7
Add systemd package to interface with dbus
...
* Add a new package under nodeshutdown "systemd"
* Package uses dbus to interface with logind to manage shutdown
inhibitors
* Make github.com/godbus/dbus a new explicit dependency
* Update vendor and go modules
2020-11-12 21:46:44 +00:00
Christian Huffman
701b42ca2b
Corrected CSIDriver validation rebase issues
2020-11-12 16:45:26 -05:00
Christian Huffman
8444823bed
Remove duplicate CSIDriver name validation
2020-11-12 16:32:36 -05:00
Christian Huffman
3287dbf914
Adjust CSIDriver validation to check objectmeta
2020-11-12 16:30:40 -05:00
Christian Huffman
4d2d063635
Included e2e test for CSIDriver FSGroupPolicy
2020-11-12 16:30:38 -05:00
Christian Huffman
01f70d69b7
Move CSIVolumeFSGroupPolicy to beta
2020-11-12 16:28:54 -05:00
Christian Huffman
6b9348e878
Relax validation for CSIVolumeFSGroupPolicy
2020-11-12 16:26:20 -05:00
Kubernetes Prow Robot
6d5cb36d36
Merge pull request #96499 from sbangari/overlaysourcevip
...
Choosing the right source VIP for local endpoints
2020-11-12 13:17:36 -08:00
Kubernetes Prow Robot
27c2525a13
Merge pull request #96444 from roycaihw/rbac-hook-retry-503
...
RBAC initialization: actually retry if we failed to reconcile some objects
2020-11-12 13:17:01 -08:00
Kubernetes Prow Robot
798eb07720
Merge pull request #96443 from alaypatel07/cronjob-controller-2-follow-up
...
handle slow cronjob lister in cronjob controller v2 and improve memory footprint
2020-11-12 13:16:52 -08:00
Kubernetes Prow Robot
4b46d44e0c
Merge pull request #96327 from robscott/app-protocol-ga
...
Graduating AppProtocol to GA
2020-11-12 13:16:39 -08:00
Kubernetes Prow Robot
55856ed727
Merge pull request #93130 from zshihang/master
...
plumb service account token down to csi driver
2020-11-12 13:16:25 -08:00
Mike Dame
14fa76d92f
Log defaulted kube-scheduler component config at startup
2020-11-12 16:03:11 -05:00
Rob Scott
84e4b30a3e
Updates related to PR feedback
...
- Remove feature gate consideration from EndpointSlice validation
- Deprecate topology field, note that it will be removed in future
release
- Update kube-proxy to check for NodeName if feature gate is enabled
- Add comments indicating the feature gates that can be used to enable
alpha API fields
- Add comments explaining use of deprecated address type in tests
2020-11-12 12:30:50 -08:00
Andrew Sy Kim
08774ecc74
core/v1: document that topologyKeys requires the ServiceTopology feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-12 14:33:49 -05:00
Kubernetes Prow Robot
e38b1b94f8
Merge pull request #96399 from andrewsykim/service-config
...
move service controller config to k8s.io/cloud-provider/controllers/service/config
2020-11-12 11:21:57 -08:00
Kubernetes Prow Robot
71331d8596
Merge pull request #96372 from serathius/sanitization-kubelet
...
Add --experimental-logging-sanitization flag to kubelet
2020-11-12 11:21:12 -08:00
Kubernetes Prow Robot
e21ce4bae2
Merge pull request #96355 from andyzhangx/acr-mi-fix2
...
fix pull image error from multiple ACRs using azure managed identity
2020-11-12 11:20:54 -08:00
Kubernetes Prow Robot
3e43d5b92a
Merge pull request #96292 from wangyx1992/cleanup-scheduler-log-capatilization
...
cleanup: fix log capitalization in scheduler
2020-11-12 11:20:45 -08:00
Kubernetes Prow Robot
ee0d35895d
Merge pull request #96190 from soltysh/kubectl_staging
...
Move the remaining kubectl bits to k8s.io/kubectl
2020-11-12 11:20:23 -08:00
Kubernetes Prow Robot
df794c1dda
Merge pull request #96054 from alvaroaleman/increase
...
Allow debugging kubelet image pull times
2020-11-12 11:20:14 -08:00
David Eads
e0a2383699
stop serving deleted APIs
2020-11-12 14:19:58 -05:00
Clayton Coleman
264496cc41
scheduler: Implement resource metrics at /metrics/resources
...
Implement pod resource metrics as described in KEP 1916. The new
`/metrics/resources` endpoint is exposed on the active scheduler
and reports kube_pod_resources* metrics that present the effective
requests and limits for all resources on the pods as calculated by
the scheduler and kubelet. This allows administrators using the
system to quickly perform resource consumption, reservation, and
pending utilization calculations when those metrics are read.
Because metrics calculation is on-demand, there is no additional
resource consumption incurred by the scheduler unless the endpoint
is scraped.
2020-11-12 12:37:38 -05:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Kubernetes Prow Robot
f653e6cf92
Merge pull request #94624 from dims/deprecate-dockershim
...
Deprecate Dockershim
2020-11-12 08:04:50 -08:00
Yixiang2019
842cc6b4e2
cleanup: fix log capitalization in scheduler
...
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn >
2020-11-12 20:10:26 +08:00
Marek Siarkowicz
8e60d75c15
Add --experimental-logging-sanitization flag to Kubelet
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net >
2020-11-12 12:32:19 +01:00
Krzysztof Wiatrzyk
b7714918db
Run ./update-all.sh
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
7b0ccaa1e9
Add tests for getPodDeviceRequest() for devicemanager
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
ba1e8abce7
Add tests for GetPodTopologyHints() for devicemanager
...
* Add additional test cases returned by getPodScopeTestCases()
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
1c4a1ba6ae
Update topology hints tests to use pod object for devicemanager
...
Pod object is more flexible to use and construct
* Update TestGetTopologyHints() to work according to new test cases
* Update topologyHintTestCase{} to include proper field
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
7ad65bf22d
Add tests for GetPodTopologyHints() for cpumanager
...
* Add tests for getPodRequestedCPU()
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
35b1f28d0f
Refactor topology hints tests for cpumanager
...
* Extract common tests cases that will be used for both GetTopologyHints()
and GetPodTopologyHints()
* Extract machineInfo as it will be used for both functions as well
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Krzysztof Wiatrzyk
656a08afdf
Move scope specific tests from topologymanager under particular scopes
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Krzysztof Wiatrzyk
c786c9a533
Move common tests from topologymanager under scope
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Krzysztof Wiatrzyk
f5c0fe4ef6
Update topologymanager tests after adding scopes
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Byonggon Chun
9da0912a33
Implement devicemanager.GetPodLevelTopologyHints() function
...
* Add podDevices() func
* Add getPodDeviceRequest() func
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
sw.han
27b7bcb41c
Implement the cpumanager.GetPodTopologyHints() function
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Krzysztof Wiatrzyk
6db58b2e92
Update logging to use a format util
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:55 +01:00
Krzysztof Wiatrzyk
b2be584e5b
Implement topology manager scopes
...
* Add topologyScopeName parameter to NewManager().
* Add scope interface and structure that implement common logic
* Add pod scope & container scopes
* Add pod lifecycle functions
Co-authored-by: sw.han <sw.han@samsung.com >
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:54 +01:00
sw.han
f5997fe537
Add GetPodTopologyHints() interface to Topology/CPU/Device Manager
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:54 +01:00
Krzysztof Wiatrzyk
ec552e6dc6
Add flag value validation of TopologyManagerPolicy
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:54 +01:00
Krzysztof Wiatrzyk
a05eead211
Add flag value validation of TopologyManagerScope
...
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com >
2020-11-12 12:25:54 +01:00
sw.han
d070bff273
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 >
2020-11-12 12:25:54 +01:00
andyzhangx
48ba8830cd
fix pull image error from multiple ACRs using azure managed identity
...
fix comments
fix comment
fix comments
fix comments
fix comments
fix comments
fix bazel
2020-11-12 09:51:26 +00:00