Commit Graph

94444 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3fd5f367d6
Merge pull request #94820 from roycaihw/conversion-gen-clean-build
verify-generated-swagger-docs: remove unnecessary build
2020-09-16 00:17:19 -07:00
zhouya0
3b8603acbc Fix e2e autoscaling namespace error 2020-09-16 14:01:44 +08:00
gongguan
9678d4f609 reduce cloud api calls in cloud-node-controller by passing instanceMetadata to updateNodeAddress 2020-09-16 12:43:36 +08:00
Rob Scott
de02323a9d
Ensuring EndpointSlices are recreated after Service recreation
This fixes a bug that occurred when a Service was rapidly recreated.
This relied on an unfortunate series of events:

1. When the Service is deleted, the EndpointSlice controller removes it
from the EndpointSliceTracker along with any associated EndpointSlices.
2. When the Service is recreated, the EndpointSlice controller sees that
there are still appropriate EndpointSlices for the Service and does
nothing. (They have not yet been garbage collected).
3. When the EndpointSlice is deleted, the EndpointSlice controller
checks with the EndpointSliceTracker to see if it thinks we should have
this EndpointSlice. This check was intended to ensure we wouldn't
requeue a Service every time we delete an EndpointSlice for it.

This adds a check in reconciler to ensure that EndpointSlices it is
working with are owned by a Service with a matching UID. If not, it will
mark those EndpointSlices for deletion (assuming they're about to be
garbage collected anyway) and create new EndpointSlices.
2020-09-15 21:37:15 -07:00
Rob Scott
4aef5b8f4c
Increasing acceptable timeout for EndpointSlice garbage collection
This should help minimize flakiness for these tests.
2020-09-15 21:32:48 -07:00
zhouya0
59bc823547 Delete namespace parameter in create adapter 2020-09-16 11:44:30 +08:00
Haowei Cai
1ad3ba35ff verify-generated-swagger-docs: remove unnecessary build 2020-09-15 19:30:58 -07:00
Kubernetes Prow Robot
965137a992
Merge pull request #94692 from alculquicondor/wrap_errors_min
Wrap errors from VolumeBinding and DefaultBinder plugins
2020-09-15 18:27:34 -07:00
Kubernetes Prow Robot
3e8e0dbf4a
Merge pull request #94482 from oomichi/expect_no_error-2
Use ExpectNoError(err) for some e2e tests
2020-09-15 18:27:19 -07:00
Kubernetes Prow Robot
303810c7a2
Merge pull request #94782 from adtac/SpreadServiceOrFail
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
2020-09-15 16:21:33 -07:00
Kubernetes Prow Robot
9fdbf1cf89
Merge pull request #94773 from tkashem/etcd-object-count
count of etcd object should be limited to the specified resource
2020-09-15 16:21:20 -07:00
Lubomir I. Ivanov
edaef35eac kubeadm: relax the validation of kubeconfig server URLs
For external CA users that have prepared the kubeconfig files
for components, they might wish to provide a custom API server URL.
When performing validation on these kubeconfig files, instead of
erroring out on such custom URLs, show a klog Warning.

This allows flexibility around topology setup, where users
wish to make the kubeconfigs point to the ControlPlaneEndpoint instead
of the LocalAPIEndpoint.

Fix validation in ValidateKubeconfigsForExternalCA expecting
all kubeconfig files to use the CPE. The kube-scheduler and
kube-controller-manager now use LAE.
2020-09-16 01:52:09 +03:00
Kubernetes Prow Robot
ea5ca74195
Merge pull request #94807 from ksubrmnn/winoverlay_beta
Graduate WinOverlay to Beta
2020-09-15 15:15:33 -07:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Kubernetes Prow Robot
a464854e5b
Merge pull request #93027 from ialidzhikov/enh/label-funcs
Add metav1.SetMetaDataLabel func
2020-09-15 14:09:19 -07:00
Kalya Subramanian
747e1e7466 Graduate WinOverlay to Beta 2020-09-15 13:11:14 -07:00
Kubernetes Prow Robot
e7b9453972
Merge pull request #93537 from timuthy/enhancement.move-resourcequota
Move ResourceQuota admission to k8s.io/apiserver lib
2020-09-15 12:26:58 -07:00
Kubernetes Prow Robot
396dd2555d
Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
Do not allow manual changes to manageFields via subresources
2020-09-15 12:26:43 -07:00
Kubernetes Prow Robot
983265aeaa
Merge pull request #94739 from knight42/fix/TestExpectationsOnRecreate
test: ensure WaitForCacheSync is called after starting sharedInformerFacotry
2020-09-15 11:18:07 -07:00
Kubernetes Prow Robot
fd9828b02a
Merge pull request #92632 from RenaudWasTaken/move-podresources-api
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Kubernetes Prow Robot
825cf52702
Merge pull request #94747 from pwang7/patch-1
e2e test support microk8s
2020-09-15 08:58:21 -07:00
Kubernetes Prow Robot
33c58af0f0
Merge pull request #94510 from pacoxu/fix/94500
remove DefaultIngressClass feature gate for 1.20
2020-09-15 08:58:07 -07:00
Kubernetes Prow Robot
b14fcc544b
Merge pull request #92846 from Huang-Wei/rm-pvcLister
Remove pvcLister from genericScheduler
2020-09-15 07:54:07 -07:00
Abu Kashem
7e445867aa
count of etcd object should be limited to the specified resource
Currently count includes keys from different resource(s) if the keys
are a prefix of the specified resource/key.

Consider the following keys:
A: <storage-prefix>//foo.bar.io/machines
B: <storage-prefix>//foo.bar.io/machinesets
If we ask for the count of key A, the result will also include the
keys from key B since key B shares the same prefix as key A.

Append a separator to mark the end of the key, this will exclude all
other keys from a different resource that is a prefix of the specified
key.
2020-09-15 10:27:15 -04:00
Renaud Gaubert
4eadf40448 Run gofmt
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 06:22:44 -07:00
Kubernetes Prow Robot
f64f687fcf
Merge pull request #93566 from jimmy-zh/optimize-the-use-of-informer-for-scheduler
Optimize the use of informer for scheduler
2020-09-15 06:04:09 -07:00
Renaud Gaubert
ba95a8c641 run hack/update-vendor.sh
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Renaud Gaubert
60304452ff Move podresources api to k8s.io/kubelet/pkg/apis
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Jimmy Zhang
1f0bcc8f5d optimize the use of informer for scheduler 2020-09-15 18:21:40 +08:00
Maciej Borsz
bb6d0f9820
Revert "conntrack e2e test debug connections" 2020-09-15 12:16:56 +02:00
knight42
e89e72b637
test: ensure WaitForCacheSync is called after starting sharedInformerFacotry
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-15 16:02:35 +08:00
Kubernetes Prow Robot
e36e68f5f6
Merge pull request #94779 from SergeyKanzhelev/supportPidLimitsGAFollowUp
follow up cleanup after SupportPodPidLimits GA
2020-09-15 00:12:07 -07:00
povsister
a290e9aa02 Update kubeconfig command-line help message for kube-proxy 2020-09-15 12:07:01 +08:00
Kubernetes Prow Robot
37cf1d6aaa
Merge pull request #94239 from andyzhangx/network-rule
add network rule support in Azure account creation
2020-09-14 20:20:06 -07:00
zhouya0
438ec9be49 Clean up remaining ns flag 2020-09-15 10:43:51 +08:00
Kubernetes Prow Robot
76e0e25118
Merge pull request #94609 from soltysh/kubectl_e2e
Use namespace flag passed to RunKubectl* methods
2020-09-14 19:16:06 -07:00
vteratipally
8f22a58dda
Revert "Revert "Switch cos version to M85"" 2020-09-14 15:16:41 -07:00
Adhityaa Chandrasekar
9970966844 ubernetes_lite.go: remove image argument from SpreadServiceOrFail
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-14 20:32:06 +00:00
Kubernetes Prow Robot
f5a54e3f58
Merge pull request #94671 from jingxu97/sep/csiproxybeta
Update csi-proxy to use beta version
2020-09-14 13:03:25 -07:00
Eric Weber
5cd63097ba Don't attempt to detach an FC device if we don't know its name 2020-09-14 14:32:00 -05:00
Sergey Kanzhelev
2a9228eb3c follow up cleanup after SupportPodPidLimits GA 2020-09-14 18:50:24 +00:00
Kubernetes Prow Robot
79cc8be2cd
Merge pull request #94769 from justaugustus/aug-cluster
cluster/images: Add justaugustus as reviewer
2020-09-14 11:49:12 -07:00
Kubernetes Prow Robot
4378481172
Merge pull request #94768 from justaugustus/aug-hack
hack: Add justaugustus as reviewer
2020-09-14 11:48:58 -07:00
Aldo Culquicondor
2ae4eeb3ea Mount kubelet and container runtime rootdir on LSSD
When environment variable NODE_LOCAL_SSD_EPHEMERAL=true,
create a RAID 0 array on all attached SSDs to mount:

- kubelet root dir
- container runtime root dir
- pod logs dir

Those directories account for all ephemeral storage.
An array is not created when there is only one SSD.

Change-Id: I22137f1d83fc19e9ef58a556d7461da43e4ab9bd
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-09-14 14:32:28 -04:00
Kubernetes Prow Robot
54df1fdc90
Merge pull request #94090 from deads2k/podpreset
remove pod presets
2020-09-14 10:43:13 -07:00
Kubernetes Prow Robot
73dda0af5d
Merge pull request #92355 from wawa0210/fix-91482
fix windows container root validate
2020-09-14 10:42:59 -07:00
Kubernetes Prow Robot
e1fd2d7ff5
Merge pull request #94771 from justaugustus/aug-github
.github: Add justaugustus as reviewer
2020-09-14 09:41:55 -07:00
Kubernetes Prow Robot
01d5446d71
Merge pull request #94770 from justaugustus/aug-test
test/{images,utils/image}: Add justaugustus as reviewer
2020-09-14 09:41:46 -07:00
Kubernetes Prow Robot
11793434da
Merge pull request #94712 from droslean/cred-leak
[credentialprovider] avoid potential secret leaking while reading .dockercfg
2020-09-14 09:41:36 -07:00
Kubernetes Prow Robot
3a42886dee
Merge pull request #94711 from jingyih/update_etcd
Bump etcd to dd1b699fc489
2020-09-14 09:41:27 -07:00