Kubernetes Prow Robot
e4fdb82c01
Merge pull request #84302 from serathius/restrict-prometheus-import
...
Restrict visibility of prometheus packages
2019-11-08 13:48:26 -08:00
Kubernetes Prow Robot
ec273abf0b
Merge pull request #83385 from daxmc99/docstring-change
...
Fix typo in docstring of DeepEqual
2019-11-08 13:48:11 -08:00
Kubernetes Prow Robot
9cf309ed59
Merge pull request #82049 from andrewsykim/ga-node-instance-type-label
...
Promote Node Instance Type Label to GA
2019-11-08 13:47:58 -08:00
Louis Jackman
62e314a556
Remove potential Goroutine leak in kubeadm wait.go
...
There are two writes yet only one read on a non-buffered channel that is
created locally and not passed anywhere else.
Therefore, it could leak one of its two spawned Goroutines if either:
* The provided `f` takes longer than an erroneous result from
`waiter.WaitForHealthyKubelet`, or;
* The provided `f` completes before an erroneous result from
`waiter.WaitForHealthyKubelet`.
The fix is to add a one-element buffer so that the channel write happens
for the second Goroutine in these cases, allowing it to finish and freeing
references to the now-buffered channel, letting it to be GC'd.
2019-11-08 21:05:19 +00:00
Wei Huang
b6b92b6075
Update test logic to simulate NodeReady/False and NodeReady/Unknown events correctly
...
- optimize code to use one loop to spin up goroutines
- add `defer cleanupTest()` to avoid goroutine leaks
- use only one heartbeat channel
2019-11-08 12:41:47 -08:00
Kubernetes Prow Robot
8b123b1f4f
Merge pull request #81423 from codenrhoden/mount-testing-pkg
...
Refactor mount fakes
2019-11-08 12:24:52 -08:00
Kenichi Omichi
94211f1839
Move functions from e2e framework util.go
...
The following functions are called at some specific places only,
so this moves these functions to the places and makes them local.
- WaitForPersistentVolumeClaimDeleted: Moved to e2e storage
- PrintSummaries: Moved to e2e framework.go
- GetHostExternalAddress: Moved to e2e node
- WaitForMasters: Moved to e2e cloud gcp
- WaitForApiserverUp: Moved to e2e network
- WaitForKubeletUp: Moved to e2e storage vsphere
2019-11-08 19:25:16 +00:00
Kenichi Omichi
1b165fc440
Enable verify-import-aliases check in CI
...
To block violation of import-aliases rule, this enables
verify-import-aliases in CI system.
2019-11-08 19:17:39 +00:00
Kubernetes Prow Robot
bef8d426f2
Merge pull request #84989 from wojtek-t/autogenerate_v2beta2_conversion
...
Autogenerate autoscaling/v2beta2 conversions
2019-11-08 10:13:01 -08:00
Kubernetes Prow Robot
15f586a6c1
Merge pull request #84963 from liggitt/feature-json-codes
...
Fix json patch limit check
2019-11-08 10:12:51 -08:00
Tim Allclair
dca464d80a
Add error detail
2019-11-08 09:59:04 -08:00
Kenichi Omichi
5381f74641
Remove unused function from e2e framework util.go
...
The util.go file is so huge, it is better to make it small and simple
as possible for the maintenance.
This removes the following unused function:
- WaitForNodeHasTaintOrNot: Unused since 7e1794dcb1
2019-11-08 17:47:28 +00:00
John Howard
d00794ca60
Add appProtocol to EndpointSlice.Port
2019-11-08 09:22:50 -08:00
Kubernetes Prow Robot
ed3cc6afea
Merge pull request #84988 from ahg-g/ahg-stablecluster
...
Revert changes to WaitForStableCluster in scheduler e2e test
2019-11-08 09:01:07 -08:00
Kubernetes Prow Robot
ff4718ea15
Merge pull request #84983 from krzysied/docker_fake_client_fix3
...
Fixing docker fake client - InspectExec
2019-11-08 09:00:50 -08:00
Kubernetes Prow Robot
f0184f0921
Merge pull request #84933 from krzysied/node_controller_v_level
...
Bumping up log level for not updated node
2019-11-08 09:00:40 -08:00
Kubernetes Prow Robot
ab1b374dd9
Merge pull request #84523 from rajansandeep/skipmigration
...
Retain CoreDNS corefile when migration fails in kubeadm
2019-11-08 09:00:29 -08:00
Kubernetes Prow Robot
ae15368355
Merge pull request #84351 from wojtek-t/promote_node_lease_to_GA
...
Promote node lease to GA
2019-11-08 09:00:15 -08:00
Aldo Culquicondor
efe9392d0b
Remove leftover factory directory
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-08 11:45:36 -05:00
Andrew Sy Kim
560b8efb79
noderestriction: update node restriction unit tests to use stable instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 11:17:58 -05:00
Maciej Szulik
626b9081fb
Set TypeSetter in get print flags, like we do everywhere else
2019-11-08 17:02:41 +01:00
Andrew Sy Kim
094b614934
scheduler: max attachable volume predicate should also check stable instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:52:12 -05:00
Andrew Sy Kim
55e40b8dc1
cloud node controller: apply stable instance-type label with backfill to existing nodes
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:50:52 -05:00
Andrew Sy Kim
17d8928dc9
kubelet: add unit tests for backfilling stable os/arch/zone/region/instance-type labels
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:43:50 -05:00
Andrew Sy Kim
7ddedf5034
kubelet: apply both beta and stable instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:29:45 -05:00
Andrew Sy Kim
d42130fdcd
api/core/v1: add stable node instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:14:36 -05:00
Travis Rhoden
1fd8921546
Move mount/fake.go to mount/fake_mount.go
...
This patch moves fake.go to mount_fake.go, and follows to principle of
always returning a discrete type rather than an Interface. All callers
of "FakeMounter" are changed to instead use "NewFakeMounter()". The
FakeMounter "Log" struct member is changed to not be exported, and
instead only access through a new "GetLog()" method.
2019-11-08 08:07:41 -07:00
Travis Rhoden
47dc1d6af1
move exec files back
2019-11-08 08:04:33 -07:00
Travis Rhoden
1f651f5072
copy exec file to preserve history
2019-11-08 08:04:32 -07:00
Ted Yu
e304975ecc
Move password retrieval to openstack_test.go
2019-11-08 07:01:41 -08:00
Kubernetes Prow Robot
5cc945ad0d
Merge pull request #84006 from yutedz/k-ctrl-del-msg
...
Traverse resources before giving no name error
2019-11-08 06:12:27 -08:00
Kubernetes Prow Robot
81953bb4b4
Merge pull request #78676 from i02sopop/kubectl_optimizations
...
Do some Kubectl optimizations suggested by the golangci linter
2019-11-08 06:12:14 -08:00
Jordan Liggitt
470dfbfc48
Remove json-iterator depth patch
2019-11-08 09:09:48 -05:00
Jordan Liggitt
e323279ab9
bump github.com/json-iterator/go v1.1.8
2019-11-08 09:09:48 -05:00
wojtekt
90c9bad944
Autogenerated
2019-11-08 14:44:05 +01:00
wojtekt
8def73aac8
Correctly autogenerate conversions for autoscaling v2beta2
2019-11-08 14:42:16 +01:00
Kubernetes Prow Robot
51f4b5300f
Merge pull request #84773 from mm4tt/kubemark_cost_savings
...
Add envs for configuring hollow-node resource usage.
2019-11-08 05:00:13 -08:00
Abdullah Gharaibeh
f4e4fb1fc8
Revert changes to WaitForStableCluster in scheduler e2e test
2019-11-08 07:56:10 -05:00
RainbowMango
159f56bf9b
Deal with auto-generated files.
...
Update bazel by hack/update-bazel.sh
2019-11-08 20:21:48 +08:00
RainbowMango
2e8dcf7809
Migrate custom collector and mark metrics with ALPHA.
2019-11-08 20:19:37 +08:00
Matt Matejczyk
97e5dd489a
Add envs for configuring hollow-node resource usage.
...
In addition clean up template variables to always use lower case in
hollow-node_template.yaml.
2019-11-08 12:50:40 +01:00
Krzysztof Siedlecki
d46daf891c
fixing docker fake client InspectExec
2019-11-08 12:43:16 +01:00
Kubernetes Prow Robot
557275f1d1
Merge pull request #84299 from cwdsuzhou/Octo/add_policy_to_describe
...
Add reclaim policy to kubectl get storage class result
2019-11-08 03:34:14 -08:00
Kubernetes Prow Robot
59aa8fd99e
Merge pull request #82698 from janario/fix/umount-subpath-warns
...
Unmount subpath should only scan the first level of files/directories
2019-11-08 02:16:14 -08:00
Kubernetes Prow Robot
d366d2eaa3
Merge pull request #84896 from RainbowMango/pr_migrate_custom_collector_scheduler
...
Migrate custom collector for kube-scheduler
2019-11-08 01:04:14 -08:00
Kubernetes Prow Robot
55962eaaaa
Merge pull request #84942 from oomichi/fix-nodev1beta1
...
Fix the import aliase nodev1beta1
2019-11-07 23:52:58 -08:00
Kubernetes Prow Robot
3a897ad2f5
Merge pull request #84738 from liu-cong/service_affinity
...
Aggregate mulitple ServiceAffinity custom priorities to a single score plugin.
2019-11-07 23:52:44 -08:00
draveness
715068312a
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-08 15:37:33 +08:00
hwdef
6c6fd9c575
pkg/apis: fix staticcheck warning
2019-11-08 14:49:39 +08:00
yue9944882
bbd2e6b48b
typo list-type s/associative/map/
2019-11-08 14:27:14 +08:00