Commit Graph

91264 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
52ae8b1ebb
Merge pull request #91099 from snowplayfire/skip_unnecessary_scheduling
skip unnecessary scheduling attempt when pod has its Finalizers updated
2020-05-15 23:02:22 -07:00
Kubernetes Prow Robot
6b6945bbfc
Merge pull request #91085 from yue9944882/trim-deletioncollection-openapi-param
Exclude openapi params for DELETECOLLECTION ("watch"/"allowWatchBookmarks")
2020-05-15 23:02:13 -07:00
Kubernetes Prow Robot
65f2803c68
Merge pull request #91084 from ahg-g/ahg-affinity2
Added pre-processed preferred affinity terms to scheduler's PodInfo type
2020-05-15 23:02:03 -07:00
Kubernetes Prow Robot
738e557f2c
Merge pull request #91083 from KobayashiD27/Add-test-to-scheduler-apis-config-types-test
Add test case in scheduler/apis/config/types_test.go to improve the t…
2020-05-15 23:01:49 -07:00
Kubernetes Prow Robot
c929660203
Merge pull request #91082 from gongguan/aws-test
refactor aws nodeAddresses tests
2020-05-15 23:01:36 -07:00
andyzhangx
6b41341ba7 fix: azure file migration support on annotation behavior change 2020-05-16 02:48:41 +00:00
Wei Huang
133a02540f
Move unschedulable Pod to internal schedulingQ synchronously
- use in-cache Pod instead of real-time Pod (by calling API server) to mark it as unschedulable
  in internal schedulingQ
- remove the backoff logic as now we don't call API server
- the whole logic is changed to a synchronous call
2020-05-15 19:27:28 -07:00
Brian Pursley
20642720c6 Added pod deletion utility methods and added code to delete remaining pods in some e2e tests to try to prevent exceeding node capacity 2020-05-15 21:21:37 -04:00
Aurélien Baumann
0cbb2087da Remove the dependency between create deploy command and generators 2020-05-15 23:21:17 +02:00
Kubernetes Prow Robot
938875582b
Merge pull request #91126 from Huang-Wei/pr/85910
Fix scheduler cache inconsistency upon Pods with same name but different UIDs
2020-05-15 14:17:37 -07:00
Wei Huang
1b30105dac
Fix scheduler cache inconsistency upon Pods with same name but different UIDs
Co-authored-by: Wei Huang <wei.huang1@ibm.com>
Co-authored-by: tianxia52 <871883758@qq.com>
2020-05-15 11:41:54 -07:00
Jordan Liggitt
2408d8101f Fix kubelet client certificate gauge 2020-05-15 12:57:34 -04:00
cici37
f52636330a Moving leaderelectionconfig to k8s.io/component-base 2020-05-15 09:08:20 -07:00
Kubernetes Prow Robot
ab207be846
Merge pull request #90608 from huffmanca/update-default-fstype-cinder
Updates the fstype of Cinder volumes to be ext4 if nil
2020-05-15 08:57:37 -07:00
Dube
d406a635f0 Remove extra spaces to ensure the style of the code. 2020-05-15 23:44:35 +08:00
Dave Chen
621c73b984 Configurable weight on the CPU and memory
This change also make it possible to score the resources beyond the "cpu"
and "memory" which is currently listed in "defaultRequestedRatioResources".

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-05-15 22:26:30 +08:00
Brian Pursley
84d5e664af Changed kubectl config set-cluster and set-credentials to support process substitution for filenames 2020-05-15 09:22:59 -04:00
Abdullah Gharaibeh
087839daf7 Added pre-processed preferred affinity terms to scheduler's PodInfo type. 2020-05-15 09:00:56 -04:00
xphoniex
64cca18f4f move KubeletStartPhase past config writing phase(s) 2020-05-15 11:06:52 +00:00
jingxueli
b95191fe10 add test for finalizers 2020-05-15 18:57:09 +08:00
Antoni Zawodny
f2c22addf5 Bump addon-manager's version to v9.1.0 2020-05-15 12:52:46 +02:00
zhouya0
b3c830d4bf Fix kubectl run ignore namespace 2020-05-15 18:29:33 +08:00
Kubernetes Prow Robot
71277de4d6
Merge pull request #91069 from alculquicondor/bind_ctx
Use passed context in default binder
2020-05-15 02:49:28 -07:00
Kubernetes Prow Robot
9e88546f30
Merge pull request #91065 from SataQiu/fix-kubeadm-20200513
kubeadm: log more information when missing the necessary config element
2020-05-15 02:49:17 -07:00
Kubernetes Prow Robot
c453be845a
Merge pull request #91062 from ahg-g/ahg-affinity1
Added pre-processed required affinity terms to scheduler's PodInfo type.
2020-05-15 02:49:07 -07:00
Kubernetes Prow Robot
8a9206c9b2
Merge pull request #91046 from wawa0210/remove-beta-os-label
kubelet no longer registers "beta.kubernetes.io/os" and "beta.kubernetes.io/arch" node labels to apiserver
2020-05-15 02:48:58 -07:00
Kubernetes Prow Robot
678415a8a7
Merge pull request #91044 from gongguan/cobra-1.0.0
update spf13/cobra dependency to 1.0.0
2020-05-15 02:48:48 -07:00
Kubernetes Prow Robot
32680e1c1e
Merge pull request #91039 from Jefftree/conformance-fix-space
remove empty line before ConformanceIt
2020-05-15 02:48:39 -07:00
Kubernetes Prow Robot
57b79e3fb4
Merge pull request #91037 from Huang-Wei/prefactor-PreemptExtender
Refactor preemption extender logic and move SchedulerExtender interface to framework pkg
2020-05-15 02:48:30 -07:00
Kubernetes Prow Robot
5b0d8d2ce1
Merge pull request #91024 from ingvagabund/display-tolerations-just-with-exists-operator
kubectl describe: print toleration tolerating everything
2020-05-15 02:48:21 -07:00
Kubernetes Prow Robot
e6433bd76b
Merge pull request #91018 from tosi3k/am-whitelist-configuration
Allow overriding the default list of resources of list in addon-manager
2020-05-15 02:48:11 -07:00
Kubernetes Prow Robot
95e598586e
Merge pull request #91016 from chendave/nits
Fix nits in comments for NodeResources plugins
2020-05-15 02:48:02 -07:00
Kubernetes Prow Robot
78abe8b270
Merge pull request #90978 from brianpursley/kubernetes-89259
Changed scheduler to use patch when updating pod status
2020-05-15 02:47:53 -07:00
Kubernetes Prow Robot
f3a8eccd32
Merge pull request #90907 from gnufied/fix-overflow-issue
When casting resource.Quantity to int64 it may overflow
2020-05-15 02:47:39 -07:00
Kubernetes Prow Robot
f12799e787
Merge pull request #90718 from fasaxc/improve-netpol-diags
Avoid early exit when collecting post-E2E failure logs.
2020-05-15 02:47:26 -07:00
Kubernetes Prow Robot
8cb57dd09a
Merge pull request #90180 from JacobTanenbaum/e2eTest-conntrack
add a test that shows the preservation UDP traffic when server pod cycles
2020-05-15 02:47:12 -07:00
Kubernetes Prow Robot
53a707daae
Merge pull request #88885 from julianvmodesto/kubectl-field-managers
Improve kubectl field manager names for clearer conflicts
2020-05-15 02:46:58 -07:00
Kubernetes Prow Robot
96e13de777
Merge pull request #88980 from tedyu/evict-delay-sorting
Delay sorting of evictUnits slice in kuberuntime_gc
2020-05-14 21:24:58 -07:00
张潇
fdef0a6767
beta.kubernetes.io/os is already deprecated 2020-05-15 08:27:06 +08:00
Jordan Liggitt
734de1bf8c Enable kubelet client-cert bootstrap/rotation in local-up-cluster
Change-Id: Ifea64abbc0b78b12b8aaa5885fd7c4b09c31c98e
2020-05-15 00:22:20 +00:00
Kubernetes Prow Robot
c096a37226
Merge pull request #89158 from alena1108/mar16
Kubelet doc: clarification for api-qps/burst flags
2020-05-14 17:04:58 -07:00
Kubernetes Prow Robot
2b00dd8536
Merge pull request #90409 from rphillips/fixes/add_logging_around_pod_container_deletor
add logging around pod_container_deletor DeleteContainer
2020-05-14 13:38:58 -07:00
Brian Pursley
9eb8e7a6d6 Changed scheduler to use patch when updating pod status to avoid potential conflicts 2020-05-14 15:17:53 -04:00
Kubernetes Prow Robot
5bda0c1b3b
Merge pull request #83726 from cofyc/fix56180
scheduler: Move all volume binding code into VolumeBinding plugin
2020-05-14 10:08:23 -07:00
Aldo Culquicondor
c8e2d5ba7c Add test case for a pod becoming schedulable when a node is added
We have little coverage around node addition and removal. Since distinct event handlers interact, it is important to cover this in integration tests.

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:59:41 -04:00
Aldo Culquicondor
35b9ab1227 Remove unnecessary clientset arg from initPausePod
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:47:12 -04:00
Johannes M. Scheuermann
9a1cbc2711 Use livez and readyz endpoint for API server probes 2020-05-14 17:41:05 +02:00
Jan Chaloupka
0bd9a4c6c5 kubectl describe: print toleration tolerating everything
An empty key with operator Exists matches all keys, values
and effects which means this will tolerate everything:
tolerations:
- operator: "Exists"

as stated in https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/.

However, the current printTolerationsMultilineWithIndent implementation ignores
this case. As the toleration is valid, there's no reason
to skip it when writing the list of all pod's tolerations.
2020-05-14 17:15:52 +02:00
Abdullah Gharaibeh
5e0211c72d Added pre-processed required affinity terms to scheduler's PodInfo type. 2020-05-14 10:30:42 -04:00
Kubernetes Prow Robot
438debfb72
Merge pull request #91057 from ingvagabund/start-informers-outside-of-InitTestScheduler
integration: start informer and scheduler outside of InitTestScheduler
2020-05-14 06:22:22 -07:00