Commit Graph

9909 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
c91455da27 Merge pull request #90249 from wojtek-t/bookmark_every_minute
Send watch bookmarks every minute
2020-04-24 03:16:07 -07:00
Kubernetes Prow Robot
17cfe7bec3 Merge pull request #90389 from nilo19/cleanup/enrich-azure-unit-tests
Azure: Enrich the unit tests for azure clients and azure zones.
2020-04-23 23:30:35 -07:00
Kubernetes Prow Robot
013413d859 Merge pull request #90196 from markusthoemmes/remove-unused-parameterCodec
Don't generate parameterCodec if it's never used.
2020-04-23 23:30:06 -07:00
Kubernetes Prow Robot
b461633ff0 Merge pull request #85920 from hoelzro/master
Accept healthy instances in list of active instances
2020-04-23 20:46:06 -07:00
Kubernetes Prow Robot
30cefca5a6 Merge pull request #89128 from vincent178/move-runonce-kubeletconfiguration
move runonce from flag to config
2020-04-23 17:20:07 -07:00
Kubernetes Prow Robot
775feed217 Merge pull request #90018 from wojtek-t/deprecate_default_conversions
Deprecate default conversions
2020-04-23 10:23:10 -07:00
wojtekt
d4b532e719 Send watch bookmarks every minute 2020-04-23 14:51:05 +02:00
Kubernetes Prow Robot
3e2ae631b4 Merge pull request #90209 from ZP-AlwaysWin/dev
Repair description
2020-04-23 03:57:59 -07:00
t-qini
c4d0b7f61f Enrich the unit tests for azure clients and azure zones. 2020-04-23 15:06:36 +08:00
Kubernetes Prow Robot
653396da21 Merge pull request #87405 from gavinfish/kubectl_pkg_cmd_set
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/set and .../edit
2020-04-22 23:09:44 -07:00
Kubernetes Prow Robot
319db5975b Merge pull request #90348 from misterikkit/vsphere-race
Fix race in vsphere cloud provider
2020-04-22 19:22:34 -07:00
Kubernetes Prow Robot
15ed3b36d1 Merge pull request #90235 from cici37/addflag
Remove CCM dependency pkg/util/flag
2020-04-22 19:22:14 -07:00
Kubernetes Prow Robot
68a9a07a79 Merge pull request #90323 from gaurav1086/azure_cache_map_cleanup
[Provider/Azure] cache map remove exists check
2020-04-22 17:02:51 -07:00
Kubernetes Prow Robot
8364e1f0d2 Merge pull request #89803 from marun/fix-kubectl-run-restart-help
kubectl: Update run's --restart help to reflect generator removal
2020-04-22 17:02:27 -07:00
Kubernetes Prow Robot
791b4bbeea Merge pull request #85266 from serathius/refactor-show-hidden-metric
Refactor show-hidden-metric-for-version flag
2020-04-22 17:01:44 -07:00
Rob Hoelz
a59a91d415 Accept healthy instances in list of active instances
Fixes GH #79581

Healthy instances have a nil Reason associated with their target health,
so without this, actualIDs ends up as empty (well, without healthy
instance IDs in it, anyway).  As a result, any instances not present
in the instances parameter are perceived to be already out of the target
group, and are thus never deregistered.

Add tests for node registration/deregistration

Make sure that when EnsureLoadBalancer is called with a new set of
nodes, old members of the target group are deregistered, and new members
in the new set are registered

Tests GH #79581

Address golint grievances

Run gazelle to update AWS cloud provider dependencies

Fix typecheck error
2020-04-22 18:10:44 -05:00
Kubernetes Prow Robot
1b57bd7e1f Merge pull request #90364 from soltysh/issue87851
Re-use podAttachTimeout when waiting for pod readiness
2020-04-22 14:03:59 -07:00
cici37
15c844031f Remove CCM dependency pkg/util/flag 2020-04-22 10:06:11 -07:00
Kubernetes Prow Robot
b19de7f9b6 Merge pull request #90226 from MikeSpreitzer/fix90134
Clarify comment on Watch::ResultChan()
2020-04-22 09:50:07 -07:00
Maciej Szulik
c2bb76ebc9 Re-use podAttachTimeout when waiting for pod readiness 2020-04-22 17:01:13 +02:00
Kubernetes Prow Robot
cb719f75aa Merge pull request #90317 from tangcong/fix-client-go-staticcheck-err
fix client-go util staticcheck error
2020-04-21 20:56:15 -07:00
Jie Shen
363bb39142 Use utils.net to parse ports instead of atoi (#89120) 2020-04-21 20:55:52 -07:00
Jonathan Basseri
a5c4f29a54 Fix race in vsphere cloud provider
When a go loop launches goroutines, it is a common mistake to assume
that the routines can reference the loop value from their specific loop
iteration. Actually, all goroutines share the same reference to the loop
veriable, and they typically all see the last value.

To correct this, the loop variable must be captured as a parameter to
the anonymous func.

This fix might eliminate the need for the retry logic below, but I do
not have enough information to back that up.

Signed-off-by: Jonathan Basseri <misterikkit@google.com>
2020-04-21 17:17:26 -07:00
Kubernetes Prow Robot
8be6307c56 Merge pull request #90218 from wojtek-t/lazy_network_initialization
Lazy initialization of network urls for GCE provider
2020-04-21 14:52:10 -07:00
Kubernetes Prow Robot
5a0e39e4fd Merge pull request #90189 from liggitt/api-1.18
Update API compatibility data for v1.18.0
2020-04-21 14:51:52 -07:00
wojtekt
de05bd811e Lazy initialization of network urls for GCE provider 2020-04-21 16:32:18 +02:00
Kubernetes Prow Robot
72cdc8c211 Merge pull request #89256 from yue9944882/integration-test-flowcontrol
Priority-level isolation integration test
2020-04-21 05:42:55 -07:00
Kubernetes Prow Robot
4362bf7919 Merge pull request #89505 from knight42/fix/kubectl-explain-crd
fix(kubectl): explain crds whose resource name is the same as builtin objects
2020-04-21 01:44:56 -07:00
Kubernetes Prow Robot
f9532e4663 Merge pull request #90162 from rfranzke/fix/azure-csi-translation
Fix flaws in Azure CSI translation
2020-04-20 22:26:55 -07:00
Gaurav Singh
59a28111be [Azure] cache map remove exists check 2020-04-20 22:40:06 -04:00
tangcong
16c3ef2df8 fix client-go util staticcheck error 2020-04-21 07:27:23 +08:00
Kubernetes Prow Robot
4820b6cbdb Merge pull request #90242 from wojtek-t/efficient_alias_ranges
Avoid unnecessary GCE API calls for IP-alias calls
2020-04-20 15:54:25 -07:00
wojtekt
3758ab62d1 Avoid unnecessary GCE API calls for IP-alias calls
This is to avoid unnecessary GCE API calls done by getInstanceByName
helper, which is iterating over all zones to find in which zone the
VM exists.
ProviderID already contains all the information - it's in the form:
gce://<VM URL> (VM URL contains project, zone, VM name).

ProviderID is propagated by Kubelet on node registration and in case
of bugs backfilled by node-controller.
2020-04-20 20:47:11 +02:00
Kubernetes Prow Robot
5157383b84 Merge pull request #90227 from gosoon/bugfix
kubectl: fix the Scheduled eventTime is <unknown> when printing event
2020-04-20 10:41:40 -07:00
Kubernetes Prow Robot
4c7254bd76 Merge pull request #90269 from gaurav1086/azure_fix_publicIP_tests
[Provider/Azure] fix publicIP test cases
2020-04-20 07:01:39 -07:00
andyzhangx
17d2e00e68 fix: azure file csi migration failure 2020-04-20 11:13:47 +00:00
Kubernetes Prow Robot
b8600d766b Merge pull request #90273 from nilo19/cleanup/enrich-azure-vmss-unit-test
Provider/Azure: Enrich the unit tests for azure_vmss.go.
2020-04-20 01:19:39 -07:00
t-qini
3fdceba86f Enrich the unit tests for azure_vmss.go. 2020-04-20 11:19:41 +08:00
Kubernetes Prow Robot
32540b0eaa Merge pull request #90280 from gaurav1086/azure_lb_remove_unncessary_check
[Provider/Azure] remove unncessary nil check for range
2020-04-19 18:05:38 -07:00
Gaurav Singh
a0c2af4fcd [Azure] remove unncessary nil check for range 2020-04-19 09:22:37 -04:00
Kubernetes Prow Robot
e95106106b Merge pull request #90243 from soltysh/issue90074
Revert "stop defaulting kubeconfig to http://localhost:8080"
2020-04-18 23:07:36 -07:00
Gaurav Singh
2df5a30ba3 [Azure] fix publicIP test cases 2020-04-18 18:30:59 -04:00
Kubernetes Prow Robot
44f9218a9d Merge pull request #90247 from liggitt/lifecycle-generator
Lifecycle generator updates
2020-04-17 19:09:35 -07:00
Kubernetes Prow Robot
f6f92aa00a Merge pull request #90082 from bitscuit/consistent-year-formats
fix exact year inconsistencies in human readable duration
2020-04-17 17:23:36 -07:00
Jordan Liggitt
b80578366b Update generated files 2020-04-17 15:50:51 -04:00
Jordan Liggitt
2fa1d202b3 Mark replacement APIs for deprecated extensions/v1beta1 APIs 2020-04-17 15:50:51 -04:00
Jordan Liggitt
d0babe2613 Prerelease lifecycle generator updates
Logs at lower verbosity to match other generators

Switches major/minor return types to int

Prefixes generated method names with APILifecycle to avoid collisions

Adds a k8s:prerelease-lifecycle-gen:replacement=group,version,kind tag for indicating a replacement API
2020-04-17 15:50:51 -04:00
Maciej Szulik
34865774a8 Fix kubectl version test to tolerate Run error coming from default
localhost:8080
2020-04-17 21:23:36 +02:00
bitscuit
36139a7255 add boundary test for subtraction 2020-04-17 11:04:52 -07:00
Kubernetes Prow Robot
875d3b534e Merge pull request #90091 from gongguan/dynamic-cache
Use dynamic size watch-cache.
2020-04-17 10:57:07 -07:00