Commit Graph

40526 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e609b7164b Merge pull request #96277 from zshihang/fix
abort if namespace doesn't exist or terminating
2020-11-05 14:25:16 -08:00
Kubernetes Prow Robot
23eadbeabd Merge pull request #96273 from zshihang/default
default `service-account-extend-token-expiration` to true
2020-11-05 13:13:13 -08:00
Kubernetes Prow Robot
43a0007fae Merge pull request #96062 from Huang-Wei/sched-aware-of-nodes
Ensure created nodes are present in scheduler cache before scheduling
2020-11-05 13:13:05 -08:00
Kubernetes Prow Robot
f1a3e4dcce Merge pull request #95036 from cmluciano/cml/validateproxycidrs
proxy: validate each CIDR config seperately and check for errors
2020-11-05 13:12:52 -08:00
Kubernetes Prow Robot
0451848d64 Merge pull request #95787 from qingsenLi/k8s201022-format
format incorrectAddresses in klog
2020-11-05 11:50:33 -08:00
Shihang Zhang
2c378beb64 abort if namespace doesn't exist or terminating 2020-11-05 11:12:15 -08:00
Christopher M. Luciano
705ba7b4bc proxy: validate each CIDR config seperately and check for errors
This commit revises validateProxyNodePortAddress and
validateExcludeCIDRS to report on the exact CIDR that is
invalid within the array of strings. Previously we would just return
the whole block of addresses and now we identify the exact address
within the block to eliminate confusion. I also removed the break from
validateProxyNodeAddress so that we can report on all addresses that
may not be valid.

The tests for each function have also been revised to check the errors
explicitly upon validating. This also will properly catch occasions
where we should be returning multiple errors if more than one CIDR is invalid.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-05 13:56:39 -05:00
Kubernetes Prow Robot
bb4d8b0746 Merge pull request #96176 from mrunalp/mrunal_node_approver
Add mrunalp as a node approver
2020-11-05 10:53:29 -08:00
Shihang Zhang
a5021a4ddf make flags of TokenRequest required 2020-11-05 10:40:56 -08:00
Shihang Zhang
4c593b268a default service-account-extend-token-expiration to true 2020-11-05 09:07:01 -08:00
Kubernetes Prow Robot
3222053798 Merge pull request #96010 from serathius/datapolicy-scheduler-pkg
Add datapolicy tags to pkg/scheduler/
2020-11-05 06:31:35 -08:00
Yan Grunenberger
fdee7b2faa Correctly fix clearing conntrack entry on endpoint changes (nodeport)
A previous PR (#71573) intended to clear conntrack entry on endpoint
changes when using nodeport by introducing a dedicated function to
remove the stale conntrack entry on the node port and allow traffic to
resume. By doing so, it has introduced a nodeport specific bug where the
conntrack entries related to the ClusterIP does not get clean if
endpoint is changed (issue #96174). We fix by doing ClusterIP cleanup in
all cases.
2020-11-05 09:45:17 +01:00
10177505
2cc888d474 Remove Const IPVSProxyMode 2020-11-05 16:17:18 +08:00
Kubernetes Prow Robot
8bdd10b7d7 Merge pull request #96197 from zshihang/token
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 22:51:05 -08:00
Qiming Teng
40c4c7906d Use user facing field names in validation message 2020-11-05 13:53:06 +08:00
Kubernetes Prow Robot
f3fbd17bc8 Merge pull request #95697 from masap/ipset1
ipset: Address a TODO, add test for TestEntry() with IPv6 address
2020-11-04 20:47:05 -08:00
Yecheng Fu
0961891a7a report UnschedulableAndUnresolvable status instead of an error when PVCs can't find bound
persistent volumes

This is an user error. We should't report an error.
2020-11-05 10:28:40 +08:00
Shihang Zhang
d40f0c43c4 separate RootCAConfigMap from BoundServiceAccountTokenVolume 2020-11-04 17:10:39 -08:00
Kubernetes Prow Robot
fe5f2cf8ef Merge pull request #95892 from JornShen/fix_plugin_name_for_fsgroupmetrics
Fix plugin name in fsgroupapplymetrics of csi and flexvolume
2020-11-04 16:40:53 -08:00
Mrunal Patel
b78be8446f Add mrunalp as node approver
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-11-04 15:48:30 -08:00
Kubernetes Prow Robot
51a5e78bdc Merge pull request #96123 from qiutongs/master
fix CPU time of pod stats with cs.CPU.Time
2020-11-04 15:47:20 -08:00
Kubernetes Prow Robot
05e5a49e0a Merge pull request #96105 from lixiaobing1/nodeInfo
fix n to nodeInfo easy to understand
2020-11-04 15:47:06 -08:00
Kubernetes Prow Robot
468f9f6cac Merge pull request #96138 from verb/1.20-cli-debug-unalpha
Remove alpha from kubectl debug command invocation
2020-11-04 14:47:07 -08:00
Adhityaa Chandrasekar
a3d94b53ca optimise defaultpreemption: enumerate fewer candidates
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-04 22:39:58 +00:00
Kubernetes Prow Robot
812aef32ce Merge pull request #96179 from bbyrne5/RemoveServiceLoadBalancerFinalizer
Remove Service Load Balancer Feature Gate
2020-11-04 13:25:44 -08:00
Kubernetes Prow Robot
48fa50fb5e Merge pull request #95944 from wangyx1992/error-log-captialize
cleanup: fix some error log capitalization
2020-11-04 13:25:21 -08:00
Kubernetes Prow Robot
56c1be8317 Merge pull request #95603 from soltysh/api_extensions
Introduce api-extensions category in k8s apiserver
2020-11-04 13:25:07 -08:00
Lee Verberne
30262e9b14 Remove alpha from kubectl debug 2020-11-04 17:45:28 +01:00
Kubernetes Prow Robot
9866d4303a Merge pull request #96151 from warmchang/volumelimittype
Remove maximum volume limit comment which is easily outdated
2020-11-04 07:02:05 -08:00
William Zhang
a7919225e2 Remove maximum volume limit comment which is easily outdated. 2020-11-04 21:39:22 +08:00
Kubernetes Prow Robot
71fea80155 Merge pull request #92692 from Pingan2017/verify-controller-attach
fix bug for verify attached volume loop
2020-11-04 05:22:04 -08:00
jornshen
db53ca01da change plugin name in fsgroupapplymetrics of csi and flexvolume to
distinguish different driver
2020-11-04 16:28:28 +08:00
10177505
8b691f9583 Remove TaintBasedEvictions Feature Gate 2020-11-04 11:37:40 +08:00
Wei Huang
f054765762 Add a function to ensure created nodes are present in scheduler cache 2020-11-03 15:25:44 -08:00
Brian Byrne
5fe43caddb Remove service load balancer feature gate 2020-11-03 13:56:16 -05:00
Eric Ernst
8dfc548709 resource-metrics: add pod/sandbox metrics to endpoint
Pod metrics may not be the same as the sum of container metrics. Add support for pod specific
metrics to allow for more accurate accounting of resources.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 09:57:46 -08:00
Kubernetes Prow Robot
ac996a37f6 Merge pull request #96126 from alculquicondor/parse-preferred-node-aff
Add runtime representation of []v1.PreferredSchedulingTerm
2020-11-03 09:38:17 -08:00
Kubernetes Prow Robot
e9cfb34b8f Merge pull request #95995 from serathius/datapolicy-legacy-cloud-providers
Add datapolicy tags to  staging/src/k8s.io/legacy-cloud-providers
2020-11-03 09:38:03 -08:00
Aldo Culquicondor
d572249d30 Add runtime representation of []v1.PreferredSchedulingTerm
to be used for repeatedly scoring nodes.

Change-Id: Ib1a0866979ce6cf75d1d9668c4bf8f6fb57298b2
2020-11-03 10:21:31 -05:00
Jan Chaloupka
d3726b91e2 Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth 2020-11-03 15:34:28 +01:00
Qiutong Song
a59a6b984f fix CPU time of pod stats with cs.CPU.Time
Signed-off-by: Qiutong Song <songqt01@gmail.com>
2020-11-03 09:29:18 +00:00
Ling Samuel
c7f2b2aa2f Remove useless variable and if
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-11-03 15:57:22 +08:00
Kubernetes Prow Robot
f0dfa55de5 Merge pull request #90675 from bamarni/kubectl-config-delete-context-completion
Enable completion for `kubectl config delete-context`
2020-11-02 20:24:14 -08:00
xing-yang
c0eaee3494 Move Snapshot to GA 2020-11-03 03:14:18 +00:00
Kubernetes Prow Robot
43edb40632 Merge pull request #96092 from Huang-Wei/honor-false-LocalStorageCapacityIsolation
Honor disabled LocalStorageCapacityIsolation in scheduling
2020-11-02 17:12:15 -08:00
lixiaobing1
03cfd30ee2 fix n to nodeInfo easy to understand 2020-11-03 08:44:55 +08:00
Kubernetes Prow Robot
3c2da35b2a Merge pull request #96019 from rikatz/96017
Kubectl - flush profiling when interrupting a long running command
2020-11-02 16:16:28 -08:00
Kubernetes Prow Robot
0540ce50ed Merge pull request #95899 from SergeyKanzhelev/removeCommentFollowUp
cleanup of leftover part of a comment. Follow up for #94109
2020-11-02 16:16:15 -08:00
Kubernetes Prow Robot
eaa7b48c96 Merge pull request #95534 from oomichi/add-unit-tests-to-Exec
Add unit tests for dockershim/exec.go
2020-11-02 15:20:15 -08:00
Wei Huang
fb782eee57 Honor disabled LocalStorageCapacityIsolation in scheduling 2020-11-02 13:21:08 -08:00