Commit Graph

11264 Commits

Author SHA1 Message Date
shuang zhang
f0ea54070b Replace AreLabelsInWhiteList with isSubset 2020-10-05 22:07:47 +08:00
Kubernetes Prow Robot
6e9475bcd3 Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event
Cleaned up: the potentially misleading comment under Event struct
2020-10-05 06:23:06 -07:00
Yashvardhan Kukreja
07d0b4a8bc Cleaned up and fixed: the potentially misleading comments around Event struct 2020-10-05 15:28:59 +05:30
Kubernetes Prow Robot
086b65a000 Merge pull request #95289 from DataDog/fix-instanceexists-on-deleted-vmss
Azure: fix node removal race condition on VMSS deletion
2020-10-04 18:17:05 -07:00
Kubernetes Prow Robot
267ba6781e Merge pull request #95098 from phunziker/92402-memcache_test
Fix vendor/k8s.io/client-go/discovery/cached/memory staticcheck
2020-10-04 11:23:05 -07:00
Benjamin Pineau
ee7cd252e8 Azure: fix node removal race condition on VMSS deletion
When a VMSS is being deleted, instances are removed first. The VMSS
itself will disappear once empty. That delay is generally enough for
kube-controller-manager to delete the corresponding k8s nodes, but
might not when busy or throttled (for instance).

If kubernetes nodes remains after their backing VMSS were removed, Azure
cloud-provider will fail listing that VMSS VMs, and downstream callers
(ie. `InstanceExistsByProviderID`) won't account those errors for a
missing instance. The nodes will remain (still considered as "existing"),
and controller-manager will indefinitely retry to VMSS VMs list it,
draining API calls quotas, potentially causing throttling.

In practice a missing scale set implies instances attributed to that
VMSS don't exists either: `InstanceExistsByProviderID` (part of the
general cloud provider interface) should return false in that case.
2020-10-04 18:06:23 +02:00
Kubernetes Prow Robot
d8185e583b Merge pull request #91934 from SataQiu/fix-kubectl-20200609
kubectl: improve the warning message when doing kubectl apply to the resource without expected annotation
2020-10-03 19:05:05 -07:00
Kubernetes Prow Robot
90c9f7b3e1 Merge pull request #93901 from jpbetz/atomic-structs
Treat LabelSelectors as atomic by Server Side Apply to fix #92913
2020-10-03 15:53:05 -07:00
Kubernetes Prow Robot
1ebf64d343 Merge pull request #94896 from wawa0210/fix-92383
Support kubectl alpha debug default image imagePullPolicy set by the image tag
2020-10-03 13:07:05 -07:00
Kubernetes Prow Robot
0d1ac16ca4 Merge pull request #95180 from SaiHarshaK/staticcheck_kubectl_get
fix staticcheck for kubectl pkg files
2020-10-03 10:47:05 -07:00
Kubernetes Prow Robot
24cfb410f0 Merge pull request #94991 from nilo19/feature/support-shared-pip
Azure: Support multiple services sharing one IP address
2020-10-03 05:39:04 -07:00
Sai Harsha Kottapalli
f6b3c5fb3f fix staticcheck for kubectl pkg files 2020-10-03 13:50:53 +05:30
Kubernetes Prow Robot
bf9354d8cc Merge pull request #95202 from rikatz/remove-master-clusterinfo
Change kubectl clusterinfo to non offensive words
2020-10-02 14:19:04 -07:00
Kubernetes Prow Robot
3005b6d767 Merge pull request #95240 from apelisse/no-field-update-on-nop
Do not update managedFields timestamp when they don't change
2020-10-02 13:27:05 -07:00
Kubernetes Prow Robot
75250ebeee Merge pull request #95177 from andyzhangx/detach-non-existing-vm
fix detach azure disk issue when vm not exist
2020-10-01 23:37:19 -07:00
Antoine Pelisse
fedc0b7093 Do not update managedFields timestamp when they don't change 2020-10-01 21:32:39 -07:00
andyzhangx
ed82a6ed5a fix detach azure disk issue when vm not exist
fix comments

fix comments
2020-10-02 01:28:14 +00:00
Kubernetes Prow Robot
5549a0d9bb Merge pull request #95012 from nodo/add-namespace-to-post-based-namespace-creation
Make the creation of namespace using POST and PATCH consistent
2020-10-01 17:37:20 -07:00
Andrea Nodari
3cb510e33e Make the creation of namespace using POST and PATCH consistent
PATCH verb is used when creating a namespace using server-side apply,
while POST verb is used when creating a namespace using client-side
apply.

The difference in path between the two ways to create a namespace led to
an inconsistency when calling webhooks. When server-side apply is used,
the request sent to webhooks has the field "namespace" populated with
the name of namespace being created. On the other hand, when using
client-side apply the "namespace" field is omitted.

This commit aims to make the behaviour consistent and populates the
"namespace" field when creating a namespace using POST verb (i.e.
client-side apply).
2020-10-01 18:05:49 +02:00
Andrew Sy Kim
247f6dd092 vsphere: improve logging message on node cache refresh event
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-01 10:53:27 -04:00
Joe Betz
8874bdf004 Tag LabelSelector with +structType=atomic 2020-10-01 06:12:34 -07:00
Joe Betz
f298d549f6 Bump to latest kube-openapi and SMD to pick up structType=atomic support 2020-10-01 06:12:28 -07:00
Ricardo Pchevuzinske Katz
ab129349ac Change kubectl clusterinfo to non offensive words
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-01 08:25:52 -03:00
Kubernetes Prow Robot
ef33126cc7 Merge pull request #92897 from MikeSpreitzer/fix92895
Fix description of conversion generator
2020-10-01 02:46:55 -07:00
Kubernetes Prow Robot
cea1d4e20b Merge pull request #94205 from jiahuif/cm-migration-config
add configuration for controller migration.
2020-09-29 20:11:24 -07:00
Kubernetes Prow Robot
8f09fcdd9b Merge pull request #95144 from zhanw15/patch-02
kubernetes/sample-apiserver: correct 'information' spelling errors
2020-09-29 16:07:25 -07:00
Kubernetes Prow Robot
2d2fea0044 Merge pull request #95143 from zhanw15/patch-01
kubernetes/sample-apiserver: correct 'admission' spelling errors
2020-09-29 14:59:25 -07:00
Indeed
5e4f445df3 add configuration for controller migration. 2020-09-29 13:59:19 -07:00
Kubernetes Prow Robot
b9d2df810c Merge pull request #95145 from wojtek-t/send_bookmarks_on_changes
Watch bookmarks may contain version of objects of other types
2020-09-29 10:11:25 -07:00
wojtekt
0bd8104809 Watch bookmarks may contain version of objects of other types 2020-09-29 18:15:52 +02:00
Kubernetes Prow Robot
a8e96c82de Merge pull request #95148 from wojtek-t/graduate_indexes_to_ga
Graduate SelectorIndex to GA
2020-09-29 07:35:26 -07:00
Qi Ni
5b3e6ab2b0 Support sharing one IP address for multiple services 2020-09-29 21:58:14 +08:00
Qi Ni
6958db632b Add unit tests for feature "Support sharing one IP address for multiple services" 2020-09-29 21:57:51 +08:00
wojtekt
fea3042f1f Graduate SelectorIndex to GA 2020-09-29 14:06:41 +02:00
展望
c28534c065 correct 'information' spelling errors 2020-09-29 18:13:44 +08:00
展望
f5f9e01ccb correct 'admission' spelling errors 2020-09-29 18:02:08 +08:00
Kubernetes Prow Robot
55be3c063a Merge pull request #95123 from lavalamp/fix-95064
fix goroutine that lives too long
2020-09-29 01:39:25 -07:00
Kubernetes Prow Robot
998c477fcb Merge pull request #95114 from antcs/issues-94240
add unit tests for getStorageAccounts in azure_storageaccount.go
2020-09-28 21:31:25 -07:00
Kubernetes Prow Robot
6e3ef0be16 Merge pull request #93078 from vareti/show-error-in-status-if-preserve-unknown-field-is-true-for-nonstructural-schemas
Show error in status if preserve unknown fields is true for nonstructural schemas
2020-09-28 12:32:53 -07:00
Siva
68c23dff4e make update 2020-09-28 13:28:24 -05:00
Siva
d141efc3b0 fix integration tests 2020-09-28 13:28:24 -05:00
Siva
4c995d8fc8 fix error message 2020-09-28 13:28:24 -05:00
Daniel Smith
9a2e0fcb18 fix goroutine that lives too long 2020-09-28 10:50:47 -07:00
antcs
ea2d34885c add unit tests for getStorageAccounts in azure_storageaccount.go 2020-09-28 16:30:40 +02:00
Patrick Hunziker
b08e36eeb9 Fix staticcheck failure for vendor/k8s.io/client-go/discovery/cached/memory 2020-09-27 18:31:46 +02:00
Kubernetes Prow Robot
f448dc54bd Merge pull request #94766 from sttts/sttts-healthz-name
apiserver: fix healthz vs. livez vs. readyz log output
2020-09-25 18:40:48 -07:00
Kubernetes Prow Robot
b39a9a943f Merge pull request #94983 from Jefftree/update-netproxy
Bump konnectivity-client to v0.0.12
2020-09-25 17:37:02 -07:00
Kubernetes Prow Robot
0f39af90ed Merge pull request #94364 from wojtek-t/efficient_watch_resumption
Efficient watch resumption
2020-09-25 15:42:48 -07:00
Kubernetes Prow Robot
9d3a8a0b96 Merge pull request #93951 from eddiezane/ez/update-client-go-out-of-cluster-example
client-go: update out of cluster example with HomeDir func
2020-09-24 17:59:25 -07:00
Kubernetes Prow Robot
282ceef2cf Merge pull request #94288 from LogicalShark/apiserver-selfreq
API server self request metric
2020-09-24 16:53:11 -07:00