Commit Graph

92674 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
19883b50f8
Merge pull request #92604 from soulxu/fix_preemption_with_nominated_node
The Pod is eligible to preempt when previous nominanted node is UnschedulableAndUnresolvable
2020-07-03 05:03:01 -07:00
Kubernetes Prow Robot
a2aaae2dd5
Merge pull request #88124 from rosti/kubeadm-cc-upgrade-plan
kubeadm upgrade plan: print a component config state table
2020-07-03 05:02:47 -07:00
Patrick Ohly
158d70aeff features: CSIStorageCapacity
This will cover all extensions required for tracking of storage
capacity that is provided by CSI drivers.
2020-07-03 13:24:01 +02:00
Kubernetes Prow Robot
d7e364ad0f
Merge pull request #92579 from chendave/preemption_topology
Change the exception to avoid the cost of preemption
2020-07-02 23:24:47 -07:00
Dave Chen
3e65fe4378 Change the exception to avoid the cost of preemption
node's labels doesn't contain the required topologyKeys in `Constraints`
cannot be resolved by preempting the pods on that pods.

One use case that could easily reproduce the issue is,
- set `alwaysCheckAllPredicates` to true.
- one node contains all the required topologyKeys but is failed in predicates
  such as 'taint'.
- another node doesn't hold all the required topologyKeys, and thus return `Unschedulable`
  status code.
- scheduler will try to preempt the pods on the above node with lower priorities.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-07-03 10:17:31 +08:00
Kubernetes Prow Robot
36083e4292
Merge pull request #91522 from SataQiu/add-logging-format-flag-20200528
Add '--logging-format' flag to kube-scheduler
2020-07-02 19:04:47 -07:00
SataQiu
2b7af10276 mark 'kubeadm config view' command as deprecated 2020-07-03 09:40:23 +08:00
He Jie Xu
b3741f344e The Pod is eligible to preempt when previous nominanted node is UnschedulableAndUnresolvable
If the Pod's previous nominated node is UnschedulableAndUnresolvable from previous
filtering, it should be considered for preemption again.
2020-07-03 08:57:45 +08:00
Kubernetes Prow Robot
6da40542e7
Merge pull request #92706 from nodo/scheduler-integration-test-add-labels-cleanup
Create nodes with labels instead of adding them later
2020-07-02 17:46:47 -07:00
Kevin Klues
a780ccff5b Updates logic in devicesToAllocate() to call GetPreferredAllocation() 2020-07-02 22:07:27 +00:00
Kevin Klues
bb56a09133 Add callGetPreferredAllocationIfAvailable() function in devicemanager
This function mimics what is already done for the conditional call to
PreStartContainer() via the callPreStartContainerIfNeeded() function.
2020-07-02 22:07:27 +00:00
Kubernetes Prow Robot
47a9952337
Merge pull request #86968 from gnufied/add-extra-csi-fields
Add extra fields in node expansion CSI call
2020-07-02 15:06:47 -07:00
Andrew Sy Kim
de2ecd7e2f proxier/ipvs: check already binded addresses in the IPVS dummy interface
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
Co-authored-by: Laurent Bernaille <laurent.bernaille@gmail.com>
2020-07-02 15:32:21 -04:00
Seth Jennings
b1f91d33e7 add dashpole and sjenning to cmd/kubelet OWNERS 2020-07-02 14:20:41 -05:00
Chelsey Chen
e54ad20f05 Remove DeprecatedSource assignment to avoid validation failure 2020-07-02 14:50:47 -04:00
Chelsey Chen
ade2422883 Switch event recorder to use events.k8s.io/v1 2020-07-02 14:50:41 -04:00
Amim Knabben
2a392bf8fc Fetching kubelet address:port from kubelet configuration 2020-07-02 14:15:44 -04:00
Kevin Klues
abf87c99c6 Add GetPreferredAllocation() as a supported device plugin endpoint 2020-07-02 15:15:50 +00:00
Kevin Klues
32c047a52e Update device plugin stub with new GetPreferredAllocation() call 2020-07-02 15:15:48 +00:00
Kevin Klues
202c4f0816 Add GetPreferredAllocation() call to the device plugin api.proto
The details of this API can be found in:
https://github.com/kubernetes/enhancements/pull/1121
2020-07-02 15:15:46 +00:00
Kevin Klues
c45f1317eb Fix some whitespacing and comments in devicemanager 2020-07-02 15:15:44 +00:00
Kevin Klues
9c41989524 Update whitespace in device plugin api.proto 2020-07-02 15:15:41 +00:00
Kubernetes Prow Robot
6cedc0853f
Merge pull request #92691 from zhouya0/change_kubectl_list_option_stdout
Change kubectl label and annotation list option stdout
2020-07-02 06:41:39 -07:00
Kubernetes Prow Robot
7f78c330c0
Merge pull request #92421 from wawa0210/deployment-staticcheck
fix pkg/controller/deployment staticcheck
2020-07-02 06:41:29 -07:00
Kubernetes Prow Robot
c430183fff
Merge pull request #91854 from bsdnet/gci
Update the COS E2E image policy
2020-07-02 06:41:15 -07:00
Kubernetes Prow Robot
dbf6c456a2
Merge pull request #91835 from jingxu97/June/csi
Add csi-proxy installation into node setup script
2020-07-02 06:41:00 -07:00
Kubernetes Prow Robot
13a4a71e99
Merge pull request #91532 from afrouzMashaykhi/log-flag-kubelet
add --logging-format flag to kubelet
2020-07-02 06:40:46 -07:00
Chelsey Chen
b0a0335baf Switch Event CRUD tests to use events.k8s.io/v1 2020-07-02 09:03:36 -04:00
Kubernetes Prow Robot
2fd2d1b911
Merge pull request #92729 from liggitt/fix-root-license
Fix searching for licenses in single-segment modules
2020-07-02 04:18:26 -07:00
Kubernetes Prow Robot
1094c03e15
Merge pull request #92722 from munnerz/bump-md2man
Bump github.com/cpuguy83/go-md2man dependency to v2.0.0
2020-07-02 04:18:16 -07:00
Kubernetes Prow Robot
3f585835d0
Merge pull request #92713 from liggitt/deflake-list-rv-0
Deflake TestListResourceVersion0
2020-07-02 04:18:07 -07:00
Kubernetes Prow Robot
d07095d425
Merge pull request #92711 from alejandrox1/rename-image-prepull-lists
Renamed image "white lists" to pre-pull image lists in test
2020-07-02 04:17:58 -07:00
Kubernetes Prow Robot
f023f5832b
Merge pull request #92705 from pohly/nested-directories-podlogs
e2e pod logs: use hierarchical directory structure
2020-07-02 04:17:48 -07:00
Kubernetes Prow Robot
e37c04bd7c
Merge pull request #92684 from cofyc/volume-scheduling-cleanup
cleanup in volume scheduling
2020-07-02 04:17:38 -07:00
Kubernetes Prow Robot
eee27e8f44
Merge pull request #92652 from rajansandeep/podaffinity
Add back anti-affinity to CoreDNS pods
2020-07-02 04:17:29 -07:00
Kubernetes Prow Robot
15a9430ae5
Merge pull request #92650 from ahg-g/ahg-attempts
breakdown PodSchedulingDuration by number of attempts
2020-07-02 04:17:15 -07:00
Kubernetes Prow Robot
d71a09271c
Merge pull request #92017 from neolit123/1.19-patches
kubeadm: introduce --experimental-patches and deprecate --experimental-kustomize
2020-07-02 04:17:01 -07:00
Kubernetes Prow Robot
1b871091b9
Merge pull request #91645 from chelseychen/event-api
Promote new Event API to v1
2020-07-02 04:16:46 -07:00
wawa0210
444cdc2944
fix pkg/controller/nodeipam staticcheck 2020-07-02 18:32:13 +08:00
wawa0210
9d1948a2f5
fix test/e2e/apps staticcheck 2020-07-02 18:14:12 +08:00
Anders Eknert
b423216a3b Presence of bearer token should cancel exec action
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.

See #87369 for further details.

Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
zhouya0
abad08d915 Change kubectl list option stdout 2020-07-02 17:47:55 +08:00
Andrea Nodari
a759fb20ff Create nodes with labels instead of adding them later 2020-07-02 08:56:32 +02:00
Kubernetes Prow Robot
a138be8722
Merge pull request #92686 from pohly/csi-ephemeral-volumes-beta
CSI ephemeral volumes: documentation and owner update
2020-07-01 23:14:37 -07:00
Kubernetes Prow Robot
adf2cd40ae
Merge pull request #92668 from michaelmdresser/fix-kubeup-acls-mb
Fix an unnecessary failure during kube-up during bucket ACL setting and make bucket in the configured project
2020-07-01 23:14:27 -07:00
Kubernetes Prow Robot
f7a13de36c
Merge pull request #92667 from liggitt/admission-warnings
Admission webhook warnings
2020-07-01 23:14:17 -07:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
Cleanup some owners
2020-07-01 23:14:08 -07:00
Kubernetes Prow Robot
4d0ce2e708
Merge pull request #92584 from aojea/ipvsfix
IPVS: kubelet, kube-proxy: unmark packets before masquerading …
2020-07-01 23:13:57 -07:00
Kubernetes Prow Robot
6c917e6e48
Merge pull request #92571 from Huang-Wei/postfilter-impl-5
Polish unit tests of defaultpreemptio plugin
2020-07-01 23:13:47 -07:00
Kubernetes Prow Robot
61342e398e
Merge pull request #92562 from bsdnet/newbranch
Fix sig-node-containerd/containerd-e2e-gci
2020-07-01 23:13:38 -07:00