Commit Graph

11296 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e799c852fb Merge pull request #95447 from gnufied/fix-disk-detach-failure
Fix vsphere disk detach failure
2020-10-13 03:36:41 -07:00
Kubernetes Prow Robot
da777a6cc0 Merge pull request #95265 from SaiHarshaK/refactor-command-kubectl-create-quota
Remove the dependency between create quota command and generators
2020-10-13 03:36:27 -07:00
tashen
27cb5cf4f0 add systemd mount options interface to support the no-systemd mount 2020-10-13 13:46:57 +08:00
Kubernetes Prow Robot
53d9bed6e0 Merge pull request #95463 from andyzhangx/bigdisk-cachemode
fix azure disk attach failure for disk size bigger than 4TB
2020-10-12 21:12:26 -07:00
Hemant Kumar
5627771601 Fix vsphere disk detach failing
Make inability to fetch canonicalPath non-fatal error
Throw error if we can't fetch canonicalPath on attach
2020-10-12 21:58:28 -04:00
Kubernetes Prow Robot
1dff024e64 Merge pull request #91014 from cici37/apiConfig
Move cmd/controller-manager to k8s.io/controller-manager
2020-10-12 15:17:22 -07:00
Kubernetes Prow Robot
4bbf4111e2 Merge pull request #92507 from ingvagabund/staging-library-go
Initialize k8s.io/component-helpers staging repository
2020-10-12 10:30:48 -07:00
andyzhangx
daa4d76643 fix azure disk attach failure for disk size bigger than 4TB
test: add debugging info

fix test failure

remove debugging info

add condition
2020-10-12 01:43:59 +00:00
Jan Chaloupka
cd89e3bf72 Add PULL_REQUEST_TEMPLATE.md and state the repo does not accept any direct changes 2020-10-11 21:40:29 +02:00
Jan Chaloupka
3802f2022b Run hack/update-vendor.sh 2020-10-11 21:40:24 +02:00
Jan Chaloupka
7530806c9f Add rule for component-helpers into staging/publishing/rules.yaml 2020-10-11 21:40:18 +02:00
Jan Chaloupka
95ad020a75 Duplicate a single helper from pkg/apis
Duplicating GetPodPriority code from k8s.io/kubernetes/pkg/api/v1/pod as PodPriority
2020-10-11 21:39:51 +02:00
Kubernetes Prow Robot
78ece5411a Merge pull request #95048 from alculquicondor/disable-default-spread
Add DefaultingType to PodTopologySpreadArgs
2020-10-09 19:38:47 -07:00
Aldo Culquicondor
c8a0b9e8e7 Add defaultingType to PodTopologySpreadArgs
Change-Id: Ibf6a4fdb39a31fe9deed68de7e7cb24a9bf9d06a
2020-10-09 17:12:12 -04:00
cici37
ae8ce0d190 Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider. 2020-10-08 13:23:16 -07:00
Nicole Han
db87743913 cloud node controller: handle empty providerID from getProviderID 2020-10-08 12:40:14 -07:00
Kubernetes Prow Robot
0a14265b7e Merge pull request #91513 from jqmichael/awsSDK1316
Upgraded aws-sdk-go dependency to v1.35.5 to support new regions like Milan
2020-10-08 11:57:06 -07:00
Jan Chaloupka
75cee7818b Initialize k8s.io/kubernetes/staging/src/k8s.io/component-helpers 2020-10-08 12:11:11 +02:00
Christopher Montoro
68e8fd5f33 Update the example for kubectl port-forward
Clarify that `REMOTE_PORT` is interpreted as identifying a _Service_ port when provided `TYPE` is `service`.
Also, highlight support for specifying a named port as `REMOTE_PORT`.
2020-10-07 22:12:49 -04:00
Qing Ju
b57d040247 Upgraded aws-sdk-go to v1.35.5 to include more regions, i.e. Millan
./hack/pin-dependency.sh github.com/aws/aws-sdk-go v1.35.5
./hack/update-vendor.sh
./hack/lint-dependencies.sh

// Additional changes required by lint-dependencies
hack/pin-dependency.sh github.com/jmespath/go-jmespath v0.4.0
./hack/update-vendor.sh
./hack/lint-dependencies.sh
2020-10-07 16:48:19 -07:00
Kubernetes Prow Robot
c1ce63ab73 Merge pull request #95059 from zhouya0/clean_up_nits_delete_cascade
Clean up nits in delete cascade flag parsing
2020-10-07 12:38:16 -07:00
Sai Harsha Kottapalli
0222f2d033 Remove the dependency between create quota command and generators 2020-10-07 20:34:48 +05:30
Kubernetes Prow Robot
e99df0e5a7 Merge pull request #95316 from sfowl/mask-token-in-toCurl
Mask bearer token in logs when logLevel >= 9
2020-10-07 03:44:42 -07:00
Kubernetes Prow Robot
a1441b2d52 Merge pull request #92201 from cici37/features
Remove dependency pkg/features from CCM
2020-10-06 15:58:42 -07:00
Kubernetes Prow Robot
838e7bb278 Merge pull request #95253 from sallyom/apigroup-version-output-api-resources
include APIVersion in output of 'kubectl api-resources'
2020-10-06 06:36:21 -07:00
Kubernetes Prow Robot
1a66eb7b8a Merge pull request #89482 from renatoviana12/master
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
Sam Fowler
f0f5225541 Mask bearer token in logs when logLevel >= 9 2020-10-06 11:10:38 +10:00
Sally O'Malley
29cd320d89 clarify help for --api-version: note it's API group/version 2020-10-05 14:14:42 -04:00
Sally O'Malley
068dbb44f3 include APIVersion in output of 'kubectl api-resources' 2020-10-05 14:14:42 -04:00
cici37
33e23c4005 Move cloud related feature gates to controller-manager 2020-10-05 10:19:08 -07:00
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