Commit Graph

96054 Commits

Author SHA1 Message Date
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
Celeste Horgan
16b5f80780 Use K8s in the README
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-11-12 11:23:23 -08:00
Kubernetes Prow Robot
5cfce4e5cb
Merge pull request #96435 from Jiawei0227/master
Bug Fix for process_start_time_metric initialization
2020-11-12 11:22:15 -08:00
Kubernetes Prow Robot
9bfffa2430
Merge pull request #96424 from deads2k/check
add timeout message in addition to metric
2020-11-12 11:22:06 -08: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
2ca6a87672
Merge pull request #96392 from yliaog/master
Fixed failure: ProvisioningFailed: Failed to provision volume with St…
2020-11-12 11:21:48 -08:00
Kubernetes Prow Robot
fd6bd36081
Merge pull request #96389 from Jefftree/kas-013
Bump network proxy to v0.0.14
2020-11-12 11:21:39 -08:00
Kubernetes Prow Robot
9d2a2263cd
Merge pull request #96387 from mrunalp/cri_add_beta
Add CRI v1 proto
2020-11-12 11:21:31 -08:00
Kubernetes Prow Robot
6c1a9bf177
Merge pull request #96385 from cici37/addingSamples
Adding sample files to demonstrate how cloud providers leverage CCM
2020-11-12 11:21:21 -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
eb7bc22b95
Merge pull request #96369 from gautierdelorme/fix-objects-preserve-unknown-fields
Fix kubectl CRD validation with preserve-unknown-fields objects
2020-11-12 11:21:03 -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
7edf621277
Merge pull request #96262 from knight42/fix/npd-test
fix(test::npd): provide NPD with proper kubeconfig
2020-11-12 11:20:36 -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
Kubernetes Prow Robot
72a7f94bdd
Merge pull request #88412 from stafot/add_nodelocalcache_service
Add node-local-dns headless service
2020-11-12 11:17:08 -08:00
Hippie Hacker
6c74641615 Increase watch timeout when scaling Deployment Replicas 2020-11-13 07:50:19 +13:00
Anago GCB
295010c30b CHANGELOG: Update directory for v1.18.12 release 2020-11-12 18:09:11 +00: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
Clayton Coleman
c06c1121d1
quantity: Allow quantity to be converted to float64
Allow a fast approximate conversion to float64 from quantity (which
is an arbitrary precision integral value). Will return +Inf/-Inf if
a float64 is not sufficient to represent the current value.
2020-11-12 12:37:32 -05:00
Shihang Zhang
d2859cd89b plumb service account token down to csi driver 2020-11-12 09:26:43 -08:00
Kubernetes Prow Robot
f4a156eb29
Merge pull request #96001 from serathius/datapolicy-client-go
Add datapolicy tags to staging/src/k8s.io/client-go/
2020-11-12 09:06:50 -08:00
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