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
Pawel Rapacz
16c7bf4db4
Implement e2e tests for pod scope alignment
...
A suite of e2e tests was created for Topology Manager
so as to test pod scope alignment feature.
Co-authored-by: Pawel Rapacz <p.rapacz@partner.samsung.com>
Co-authored-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com>
Signed-off-by: Cezary Zukowski <c.zukowski@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
Qi Ni
b33715711e
Support custom tags for cloud provider managed resources
2020-11-12 18:59:25 +08:00
Kubernetes Prow Robot
f170d33e1f
Merge pull request #95908 from chenk008/fix_quantity_string
...
check nil pointer in String method
2020-11-12 02:40:50 -08:00
Antonio Ojea
be1ed2f43a
use uncommon ports for e2e network test
...
since we added tests to check connectivity against pods with
hostNetwork: true, there is the possibility that those pods
fail to run because the port is being used in the host.
Current test were using port 8080,8081 and 8082 that are commonly
used in hosts for other applications.
If the service is not ready after a certain time, and we are using
Pods with hostNetwork: true we assume that there is a conflict
and skip this test.
2020-11-12 11:09:01 +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
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Sravanth Bangari
6c68ca5a9e
Choosing the right source VIP for local endpoints
2020-11-11 23:29:07 -08:00
Kubernetes Prow Robot
9223413a77
Merge pull request #95579 from masap/fix_cidr_warning
...
test: Fix using deprecated default cluster IPs
2020-11-11 22:38:49 -08:00
Kubernetes Prow Robot
bdac36b57e
Merge pull request #84206 from mucahitkurt/refactor/remove-mount-volume-check-orphaned-pod-cleanup
...
check volume directories instead of mounts for cleanupOrphanedPodDirs
2020-11-11 21:24:49 -08:00
Jeremy Edwards
26cdcde3d5
Configure StackdriverLogging Windows service to restart on failure.
2020-11-11 21:04:21 -08:00
Kubernetes Prow Robot
d233111f5b
Merge pull request #94196 from andrewsykim/registry-creds
...
kubelet: add alpha credential provider plugins
2020-11-11 19:59:11 -08:00
cici37
443f829703
Adding sample files to demonstrate how cloud provider leverage CCM.
2020-11-11 19:50:06 -08:00
Kubernetes Prow Robot
a7ae99d364
Merge pull request #94439 from claudiubelu/tests/agnhost-usage-refactor-3
...
tests: Refactor agnhost image pod usage - common (part 2)
2020-11-11 18:49:12 -08:00
Rob Scott
b98cab7740
Updating EndpointSlice strategy to cover alpha NodeName field
2020-11-11 18:25:54 -08:00
Qi Ni
5077ff79d9
Support high availability ports
2020-11-12 09:57:11 +08:00
Kubernetes Prow Robot
bffdc87241
Merge pull request #95282 from xing-yang/snapshot_ga
...
Move Snapshot to GA
2020-11-11 17:34:50 -08:00
Alvaro Aleman
801a52c06d
Allow debugging kubelet image pull times
...
This PR changes the buckets of the
kubelet_runtime_operation_duration_seconds metric to be
metrics.ExponentialBuckets(.005, 2.5, 14) in order to
allow debugging image pull times. Right now the biggest bucket is 10
seconds, which is an ordinary time frame to pull an image, making the
metric useless for the aforementioned usecase.
2020-11-11 20:18:36 -05:00
Jing Xu
8c953c21ba
Separate in-tree gcepd driver for windows
...
Add a separate in-tree gcepd driver for windows cluster because it does
not support certain features as Linux driver.
Change-Id: I2fca86b3f32f17db7703c46a36944d9ee51f355f
2020-11-11 17:07:00 -08:00
Rob Scott
ff46573692
Cleaning up EndpointSlice update validation tests
2020-11-11 16:50:50 -08:00
Rob Scott
506861c0a0
Removing "IP" from supported EndpointSlice address types in kube-proxy
2020-11-11 16:50:45 -08:00
Rob Scott
877ad98c53
Updating ControlPlane to support NodeName field
2020-11-11 16:50:40 -08:00
Rob Scott
d985438772
Updating EndpointSlice controllers to support NodeName field
2020-11-11 16:50:36 -08:00
Rob Scott
e9573eef4c
Adding EndpointSliceNodeName feature gate
2020-11-11 16:50:29 -08:00
Rob Scott
9613f79add
Adding NodeName to EndpointSlice API, deprecation updates
...
In addition to adding NodeName, this notes that the topology field will
be deprecated soon. It also removes the IP address type that was
deprecated in Kubernetes 1.17 and intended to be removed in 1.20.
2020-11-11 16:50:23 -08:00
Alay Patel
15089aab94
update bazel
2020-11-11 19:47:11 -05:00
Anago GCB
fbc589f35d
CHANGELOG: Update directory for v1.19.4 release
2020-11-11 23:56:57 +00:00
Alay Patel
d6ca5b8d14
handle the case for slow cronjob lister, add unit tests
2020-11-11 18:48:57 -05:00
Alay Patel
41c82e69ed
convert to stardard lister, use []*batchv1.Job instead of []batchv1.Job
2020-11-11 18:48:57 -05:00
Kubernetes Prow Robot
667d1c2c3f
Merge pull request #93370 from alaypatel07/add-new-cronjob-controller
...
Add cronjob controller v2
2020-11-11 15:42:50 -08:00
Haowei Cai
9bf7fcfc76
actually retry if we failed to reconcile some objects
...
retry RBAC initialization for up to 30 seconds, kill server on failure
2020-11-11 15:39:12 -08:00
Jing Xu
56373aa10d
Update storage test suits for Windows
...
Update storage test suits to enable some tests on Windows
Change-Id: I1f596bb9f7a0f41ae398aec43406ee5c753cdce3
2020-11-11 15:22:47 -08:00
Kubernetes Prow Robot
8be0a29ce0
Merge pull request #95747 from SataQiu/fix-job-default-20201021
...
Fix the validation logic for Job/CronJob RestartPolicy field
2020-11-11 14:35:00 -08:00