Commit Graph

8895 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
117a3a7f2a Merge pull request #85709 from tanjunchen/correct-404-ruls
correct  invalid  urls
2019-12-06 11:54:51 -08:00
Michael Gugino
da53044abd kubectl/drain: add option skip-wait-for-delete-timeout
Currently, some circumstances may cause waitForDelete to
never succeed after the pod has been marked for deletion.
In particular, Nodes that are unresponsive and have
pods with local-storage will not be able to
successfully drain.

We should allow drain to ignore pods that have a
DeletionTimestamp older than a user-provided age.
This will allow controllers utilizing kubectl/drain
to optionally account for a pod that cannot be
removed due to a misbehaving node.
2019-12-06 12:52:38 -05:00
Kubernetes Prow Robot
27fac0bb18 Merge pull request #85971 from mtaufen/component-base-owners
Add current chairs to component base approvers
2019-12-06 09:05:13 -08:00
Nikhita Raghunath
2bba8dac7f staging/publishing: temporarily disable publishing tags
To make sure we get enough time to test publishing of `v1.17.0`
(on a test repo) when it is tagged, this commit disables publishing tags.

After testing it, we'll re-enable publishing of tags.
2019-12-06 22:09:17 +05:30
tanjunchen
efd61ae3e4 correct invalid urls 2019-12-06 23:34:34 +08:00
Vincent Wei
d428de26b8 Fix IPv6 addresses lost issue in pure ipv6 vsphere environment 2019-12-06 13:45:02 +00:00
Kubernetes Prow Robot
81e702c2b9 Merge pull request #85845 from RainbowMango/pr_enable_hidden_custom_collector
Provide a mechanism to enable hidden metrics in stable collector
2019-12-06 05:34:50 -08:00
t-qini
a5226f623e Add cache for VMSS. 2019-12-06 20:58:39 +08:00
Pengfei Ni
dd50ac311a Fix LoadBalancer rule checking so that no unexpected LoadBalancer updates are made 2019-12-06 16:07:46 +08:00
Kubernetes Prow Robot
0ea756ff0a Merge pull request #84688 from tahsinrahman/kubeproxyconfig-test
Increase test coverage for ComponentConfigs and add tests for kubeproxyconfiguration
2019-12-05 17:15:04 -08:00
Kubernetes Prow Robot
646afd52ff Merge pull request #82660 from sallyom/list-pods-dry-run-drain
When running `kubectl drain` in dry-run, list warnings and pods that would be deleted.
2019-12-05 17:14:50 -08:00
zhouya0
7947b6ce6d kubectl change podSecurityPolicy group 2019-12-06 09:08:43 +08:00
Kubernetes Prow Robot
b8ce44f006 Merge pull request #85863 from nan-yu/pdb_status_renaming
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Vilmos Nebehaj
3fa070ad38 Fix nil pointer dereference in the azure provider
PlatformFaultDomain in the VM properties returned by Azure will be nil
if the VM is not part of an availability set. Use to.Int32() from the
Azure SDK to safely retrieve its value.
2019-12-05 14:33:59 -08:00
Michael Taufen
28a564cb32 Add current chairs to component base approvers 2019-12-05 13:50:57 -08:00
Sally O'Malley
909300b8be When running kubectl drain in dry-run, list warnings and pods that would be deleted. 2019-12-05 16:16:10 -05:00
Mike Danese
fb33b2f42a increase LRU cache size 8x for authorization webhook
1024 seems absurdly small for any normal deployment. At our 10000 byte
entry size limit, this will consume max ~80 MB of memory. More realistic
entry sizes are going to be less than a kB.
2019-12-05 08:48:17 -08:00
Kubernetes Prow Robot
8290c85b95 Merge pull request #82315 from beautytiger/fix_staticcheck_azure
fix staticcheck errors in legacy-cloud-providers/azure
2019-12-05 06:36:32 -08:00
Kubernetes Prow Robot
de63e573ca Merge pull request #85875 from yutedz/gce-ctx-timeout-inst
Utilize Context with timeout in gce_instances.go
2019-12-04 12:11:14 -08:00
Kubernetes Prow Robot
b42f21982c Merge pull request #85571 from mgugino-upstream-stage/drain-ignore-pdbs
kubectl/drain: add disable-eviction option
2019-12-04 12:11:00 -08:00
Guangming Wang
b304538942 fix staticcheck errors in legacy-cloud-providers/azure
clean remaining static check errors in legacy-cloud-providers/azure

logging unhandled error in azure_backoff.go

delete unused var and func in azure_vmss_cache.go

run gofmt
2019-12-04 21:58:26 +08:00
wojtekt
839b440173 Cleanup converter 2019-12-04 14:31:46 +01:00
wojtekt
bcaab8c1a2 Fix bug in ignoring untypes conversions 2019-12-04 14:31:46 +01:00
wojtekt
7ab3e436f7 Cleanup old-style conversions 2019-12-04 14:31:46 +01:00
wojtekt
ab6cbd2e8d Cleanup metav1 conversions 2019-12-04 14:31:45 +01:00
Kubernetes Prow Robot
e28ae9ce09 Merge pull request #85728 from prksu/make-apiservice.spec.service-optional
Make APIService.spec.service optional in the openapi v2 spec
2019-12-03 23:08:57 -08:00
Kubernetes Prow Robot
84467327a9 Merge pull request #83614 from bg-chun/update_cri
update CRI(LinuxContainerResources ) to support hugepages
2019-12-03 18:34:57 -08:00
Ted Yu
113001ab01 Utilize Context with timeout in gce_instances.go 2019-12-03 17:17:54 -08:00
Kubernetes Prow Robot
8516f797a4 Merge pull request #85581 from yutedz/gce-ctx-timeout
Utilize Context with timeout in GCE operations
2019-12-03 17:01:10 -08:00
Kubernetes Prow Robot
896b77ed53 Merge pull request #85800 from beautytiger/dev-191202-fixtrim
fix: replace TrimLeft with TrimPrefix and TrimRight with TrimSuffix
2019-12-03 15:47:22 -08:00
Kubernetes Prow Robot
eff703de21 Merge pull request #84005 from yue9944882/chore/crd-internal-client-prune
Prune internal clients from CRD apiserver
2019-12-03 15:46:57 -08:00
Kubernetes Prow Robot
2b6857db4d Merge pull request #85293 from huffmanca/include_fstype_csi
Included FSType in CSI volumes
2019-12-03 14:30:58 -08:00
Nan Yu
1fb0dd4ec5 Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus 2019-12-03 14:26:35 -08:00
Michael Gugino
6c1d587d51 kubectl/drain: add disable-eviction option
Currently, if eviction is supported during a drain operation,
eviction is always used.

This commit allows the user to specify disabling eviction.
This is particularly useful when you wish to ignore
PodDisruptionBudgets after a normal drain has failed for
some time.
2019-12-03 17:09:50 -05:00
Ted Yu
4d6e5bf7be Utilize Context with timeout in GCE operations 2019-12-03 13:39:35 -08:00
Kubernetes Prow Robot
a80ad5f84f Merge pull request #85729 from wojtek-t/remove_old_style_conversions
Cleanup metav1 conversions
2019-12-03 13:17:16 -08:00
Kubernetes Prow Robot
205570eb75 Merge pull request #84614 from rphillips/fixes/add_cert_rotation_failure_metric
kubelet: add certificate rotation error metric
2019-12-03 11:40:57 -08:00
yue9944882
81471c36b1 [generated] bazels and vendor/modules.txt
[generated] bazels

bazel
2019-12-04 00:49:28 +08:00
yue9944882
6c0688fd51 santize codegen scripts 2019-12-04 00:49:28 +08:00
yue9944882
15a883b067 s/apiextensions/apiextensionsv1/ for all imports in k/k
rename alias import

fmt
2019-12-04 00:49:27 +08:00
yue9944882
168f8f54f0 switch to v1 crd
switch api helper functions to v1 CRD api

switch v1 CRD for apiserver internal

switch to v1 CRD for internal controllers

api storage/validation related changes

move local-defaulting utils private to prevent spreading

boilerplate

keep the subresource status/scale spec nil unless it's enabled

clean up empty space
2019-12-04 00:49:26 +08:00
RainbowMango
f2f0435e71 Enable hidden custom collectors when calling SetShowHidden(). 2019-12-03 21:20:14 +08:00
RainbowMango
ea7a230af6 All stable collector should be tracked in registry. 2019-12-03 21:20:13 +08:00
RainbowMango
069b088ad7 The descs in a stable collector should be tracked by a map instead of
slice.
2019-12-03 21:20:03 +08:00
Kubernetes Prow Robot
fa246f8188 Merge pull request #85714 from RainbowMango/pr_clear_desc_state
Add API for clear descriptor status
2019-12-02 19:07:11 -08:00
Kubernetes Prow Robot
b9182991d6 Merge pull request #85680 from RainbowMango/pr_refactor_custom_collector_unit_tests
Refactor custom collector unit test
2019-12-02 19:06:57 -08:00
Kubernetes Prow Robot
97e34ee223 Merge pull request #85475 from andyzhangx/upgrade-azure-storage-lib
upgrade api-version to fix azure file AuthorizationFailure
2019-12-02 17:07:10 -08:00
Kubernetes Prow Robot
0810bc3386 Merge pull request #85363 from immutableT/encryption-config-defaulter
Add defaulting and validation logic for EncryptionConfiguration type.
2019-12-02 17:06:57 -08:00
Kubernetes Prow Robot
19ee1ea9fa Merge pull request #85810 from liggitt/disable-webhook-ratelimit
Ensure webhook backend requests are not artificially rate-limited
2019-12-02 15:03:09 -08:00
immutablet
a151aa35dc Add defaulting logic for EncryptionConfiguration. 2019-12-02 13:21:05 -08:00