Martin Schimandl
12a58f3f15
remove generator from service in kubectl
2020-11-12 17:46:56 +01:00
Andrew Sy Kim
60048ad053
add myself to sig-network-api-reviewers
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-12 11:26:48 -05:00
Kubernetes Prow Robot
f653e6cf92
Merge pull request #94624 from dims/deprecate-dockershim
...
Deprecate Dockershim
2020-11-12 08:04:50 -08:00
Kubernetes Prow Robot
75463bda1d
Merge pull request #92967 from cezaryzukowski/tm-scope
...
Topology Manager Scope (container | pod) Feature
2020-11-12 06:32:51 -08:00
Kubernetes Prow Robot
d1c41e70ff
Merge pull request #96331 from mithuns/fix-lint-runtime-serializer-protobuf
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-12 05:32:49 -08:00
Kubernetes Prow Robot
38c5652aa8
Merge pull request #96450 from nilo19/feature/support-tag
...
Support custom tags for cloud provider managed resources
2020-11-12 04:30:50 -08:00
Marek Siarkowicz
e29c568c4a
Add datapolicy tags to staging/src/k8s.io/client-go/
2020-11-12 13:25:29 +01: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
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
Antonio Ojea
ed694a1bf6
add e2e test for dual-stack secondary service IPs
...
Dual stack services can have two ClusterIPs, we already have tests that
exercise the connectivity from different scenarios to the first
ClusterIP of the service.
This PR adds a new functionality to the e2e network utils to enable
DualStack services, and replicate the same tests but using the
secondary ClusterIP, so we cover the connectivity to both cluster IPs.
2020-11-12 10:07:04 +01:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Harshal Patil
f3bfc9fd67
Verify iptable rules are applied for tcp, udp and icmp
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-11-12 13:29:13 +05:30
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