Commit Graph

8448 Commits

Author SHA1 Message Date
Jonathan Basseri
42290ddf04 Update dependency vmware/govmomi to v0.20.3

misterikkit committed on Oct 4
govmomi is the vSphere client library used by the vSphere cloud provider
and storage plugin. A bug in the SOAP client prevented storage classes
that use vSphere storage policies (aka SPBM) from working.

This bumps our dependency on vmware/govmomi from v0.20.1 to v0.20.3 to
pick up the fix in vmware/govmomi#1498

Here are all changes in the release:
https://github.com/vmware/govmomi/compare/v0.20.1...v0.20.3
2019-11-13 13:43:47 -08:00
Kubernetes Prow Robot
1057f3a82a Merge pull request #85158 from andyzhangx/vmss-dirty-cache
fix vmss dirty cache issue
2019-11-13 13:04:49 -08:00
Kubernetes Prow Robot
f501d8e59a Merge pull request #85138 from liggitt/webhook-config-v1
Promote apiserver.config.k8s.io/v1, kind=WebhookAdmissionConfiguration
2019-11-13 13:03:54 -08:00
Kubernetes Prow Robot
b49afbfa64 Merge pull request #85098 from liggitt/admission-config-v1
Promote apiserver.config.k8s.io/v1, kind=AdmissionConfiguration
2019-11-13 13:02:40 -08:00
Kubernetes Prow Robot
21df24cc06 Merge pull request #84292 from RainbowMango/pr_add_metrics_flag_to_apiserver
Allow show hidden metrics in kube-apiserver
2019-11-13 13:02:09 -08:00
Kubernetes Prow Robot
c5609071d8 Merge pull request #84971 from robscott/endpointslice-iptypes
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-13 09:26:36 -08:00
Kubernetes Prow Robot
c10d29ba88 Merge pull request #84356 from verb/pid-ga
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
Kubernetes Prow Robot
b9030ff666 Merge pull request #84194 from jackkleeman/describe-netpol
Fix incorrect message on describe netpol
2019-11-13 09:25:26 -08:00
Kubernetes Prow Robot
be1658e08c Merge pull request #85048 from shaloulcy/label_selector_requires_exact_match
add RequiresExactMatch for label.Selector
2019-11-13 07:01:13 -08:00
shaloulcy
5a23bffd42 add RequiresExactMatch for label.Selector
Signed-off-by: shaloulcy <lcy041536@gmail.com>
2019-11-13 20:52:27 +08:00
Kubernetes Prow Robot
e45e6e5f20 Merge pull request #83836 from RainbowMango/pr_hide_common_deprecated_metrics
Hide metrics that have been deprecated
2019-11-13 04:35:12 -08:00
Kubernetes Prow Robot
c558e7f1f2 Merge pull request #84211 from misterikkit/create-idempotent
vsphere: check if volume exists before create
2019-11-13 00:24:12 -08:00
RainbowMango
0b48386e1a Hide metrics that have been deprecated in 1.14 2019-11-13 11:04:48 +08:00
RainbowMango
0efb642fec Add common flag validation functionality shared by kube-binaries 2019-11-13 10:32:43 +08:00
Jonathan Basseri
131668a03f vsphere: check if volume exists before create
Sometimes, volume creation can succeed right as the request times out,
causing k8s to interpret it as a failure. When the request is retried,
we want it to succeed. When trying this in vSphere, the second create
request failed with "already exists" and it never recovered.

This adds a check to the in-tree vsphere storage plugin that checks if a
VMDK exists before trying to create it. The check is done BEFORE create.

Tested: manual only )-:
2019-11-12 17:51:35 -08:00
Ji Shan Xing
d39ac98cc5 76093 restructure LICENSES file generation 2019-11-12 20:38:57 -05:00
andyzhangx
01ea1694aa fix vmss dirty cache issue
add logging
2019-11-13 00:15:55 +00:00
Jack Kleeman
7753bfa3a4 Fix incorrect message on describe netpol
When I describe network policies, it often tells me that pods are
isolated for egress connectivity because the policy that applies to them
has no egress rules. However, this would only lead to isolation if there
is an explicitly set egress policy type. Otherwise, the policy allows
egress traffic. The same applies if you have explicitly set an egress
type only, describe will incorrectly report isolated ingress traffic.

This PR fixes this by inferring the applicable direction for the policy
based on the PolicyTypes, and then if a policy doesn't apply eg to
egress, we print 'Not affecting egress traffic'
2019-11-12 21:35:31 +00:00
Kubernetes Prow Robot
3eff237357 Merge pull request #84882 from marosset/run-as-username-beta
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00
Kubernetes Prow Robot
ea2750eaa6 Merge pull request #84718 from yastij/remove-validators
remove system validators package from kubeadm and use k8s.io/system-validators
2019-11-12 11:50:53 -08:00
Kubernetes Prow Robot
94efa988f4 Merge pull request #84813 from deads2k/admission-feature-gates
remove global variable dependency from admission plugins
2019-11-12 10:23:14 -08:00
Kubernetes Prow Robot
402e551ca2 Merge pull request #85135 from wojtek-t/delete_unnecessary_conversions_1
Eliminate couple unnecessary conversions
2019-11-12 09:07:01 -08:00
Kubernetes Prow Robot
760af28f69 Merge pull request #85134 from LukeShu/lukeshu/event-docs-non-api
client-go/tools: Docs: Clarify what's "old" core/v1 and what's "new" events/v1beta1
2019-11-12 09:06:48 -08:00
Kubernetes Prow Robot
41be6d65d8 Merge pull request #84970 from atlassian/pdzwart/kubernetes/kubernetes/84959
- Delete backing string set from a threadSafeMap index when the string set length reaches 0.
2019-11-12 09:06:20 -08:00
Rob Scott
0fa9981e01 Splitting IP address type into IPv4 and IPv6 for EndpointSlices 2019-11-12 09:03:53 -08:00
Jordan Liggitt
71fad812ca Promote WebhookAdmissionConfiguration to v1 2019-11-12 09:56:58 -05:00
Jordan Liggitt
1234290adf AdmissionConfiguration v1 2019-11-12 09:05:50 -05:00
wojtekt
067d173266 Eliminate couple unnecessary conversions 2019-11-12 15:00:09 +01:00
Luke Shumaker
2c4bb0fa4d client-go/tools: Docs: Clarify what's "old" core/v1 and what's "new" events/v1beta1 2019-11-12 08:31:11 -05:00
Kubernetes Prow Robot
a25cda5d66 Merge pull request #85088 from nikhita/publishing-go-version
publishing: bump go versions in rules
2019-11-12 04:48:58 -08:00
Kubernetes Prow Robot
35de7a2537 Merge pull request #84957 from ZP-AlwaysWin/dev-1105-1
Remove unnecessary judgment
2019-11-12 04:48:43 -08:00
Kubernetes Prow Robot
681d22428b Merge pull request #84768 from liggitt/delegated-authnz-v1
switch delegated authnz to v1 APIs
2019-11-12 04:48:35 -08:00
Kubernetes Prow Robot
0708eb5903 Merge pull request #84423 from mikedanese/tokbench
adjust token cache benchmarks to get more accurate behavior
2019-11-12 04:48:07 -08:00
Kubernetes Prow Robot
5dc87d2919 Merge pull request #83965 from robscott/endpointslice-managed-by
Adding new label to indicate what is managing an EndpointSlice
2019-11-12 03:08:07 -08:00
Kubernetes Prow Robot
48ddf3be87 Merge pull request #80284 from danielqsj/exec
Fix a racing issue in client-go UpdateTransportConfig
2019-11-12 01:10:07 -08:00
danielqsj
7518a44b18 Fix data race in client-go UpdateTransportConfig 2019-11-12 12:04:05 +08:00
Kubernetes Prow Robot
7d1f9b440e Merge pull request #83815 from howardjohn/appprotocol
Add appProtocol to EndpointSlice.Port
2019-11-11 17:48:06 -08:00
ZP-AlwaysWin
f812530e42 Remove unnecessary judgment 2019-11-12 09:31:42 +08:00
Yassine TIJANI
b9fe59c93e remove system validators package from kubeadm and use k8s.io/system-validators instead
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-11-12 01:09:56 +01:00
Pete de Zwart
29a051388a - Delete backing string set from a threadSafeMap index when the string set length reaches 0.
- Added thread_safe_store_test exercising new index backing string set delete at 0 functionality.

- TestThreadSafeStoreDeleteRemovesEmptySetsFromIndex logic nesting inverted.

- Added test case for usage of an index where post element delete there is non-zero count of elements and expect the set to still exist.

- Fixed date.

- Fixed awprice nits.

- Fix bazel.
2019-11-12 09:55:16 +11:00
Jordan Liggitt
7349a824df generated 2019-11-11 17:19:12 -05:00
Jordan Liggitt
d54a70db5c Switch kubelet/aggregated API servers to use v1 subjectaccessreviews 2019-11-11 17:19:11 -05:00
Jordan Liggitt
5ef4fe959a Switch kubelet/aggregated API servers to use v1 tokenreviews 2019-11-11 17:19:10 -05:00
Kubernetes Prow Robot
f610133f69 Merge pull request #85035 from gongguan/fix_diff_panic
fix kubectl diff panic
2019-11-11 12:56:18 -08:00
Mike Danese
43d34882c9 adjust token cache benchmarks to get more accurate behavior
b.N is adjusted by pkg/testing using an internal heuristic:

> The benchmark function must run the target code b.N times. During
> benchmark execution, b.N is adjusted until the benchmark function
> lasts long enough to be timed reliably.

Using b.N to seed other parameters makes the benchmark behavior
difficult to reason about. Before this change, thread count in the
CachedTokenAuthenticator benchmark is always 5000, and batch size is
almost always 1 when I run this locally. SimpleCache and StripedCache
benchmarks had similarly strange scaling.

After modifying CachedTokenAuthenticator to only adjust iterations based
on b.N, the batch chan was an point of contention and I wasn't able to
see any significant CPU consumption. This was fixed by using
ParallelBench to do the batching, rather than using a chan.
2019-11-11 11:29:08 -08:00
marosset
6d4aea60cd Moving WindowsRunAsUserName to beta 2019-11-11 19:27:19 +00:00
Nikhita Raghunath
e6ac57ef60 publishing: bump Go versions in rules 2019-11-11 15:37:40 +05:30
louisgong
4f13f2739a fix kubectl diff panic 2019-11-11 15:58:28 +08:00
Kubernetes Prow Robot
cf5ec7615b Merge pull request #82257 from prameshj/ilbsubnet
Support specifying a custom subnet for ILB ip in GCE
2019-11-10 22:59:41 -08:00
Kubernetes Prow Robot
c28921f248 Merge pull request #84692 from smarterclayton/protocol_errors
Fix watch negotiation when using a non-default mime type in the client
2019-11-10 21:41:56 -08:00