Commit Graph

88685 Commits

Author SHA1 Message Date
Cong Liu
7f56c753b3 Make MetricCollector configurable for scheduler benchmark tests 2020-02-18 14:02:57 -08:00
Serguei Bezverkhi
5b7ae34ead Switch EndpointSlice to use discovery v1beta1 api
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-02-18 16:52:21 -05:00
Anish Ramasekar
fdefdff222
add delays between goroutines for vm instance update 2020-02-18 13:32:48 -08:00
Hemant Kumar
d9f7a1f311 Don't call delete for already deleted volumes 2020-02-18 15:59:47 -05:00
Clayton Coleman
af9e0be163
kubelet: Record kubelet_evictions when limits are hit
The pod, container, and emptyDir volumes can all trigger evictions
when their limits are breached. To ensure that administrators can
alert on these type of evictions, update kubelet_evictions to include
the following signal types:

* ephemeralcontainerfs.limit - container ephemeral storage breaches its limit
* ephemeralpodfs.limit - pod ephemeral storage breaches its limit
* emptydirfs.limit - pod emptyDir storage breaches its limit
2020-02-18 15:08:30 -05:00
Walter Fender
ae0e1b0ca2 Update default cos image to include runc-1.0.0-rc10 2020-02-18 11:24:39 -08:00
Kubernetes Prow Robot
d5e0a941aa
Merge pull request #88199 from mateuszlitwin/run-permit-plugins-in-scheduling-cycle
run permit plugins in the scheduling cycle
2020-02-18 11:24:25 -08:00
Nan Yu
b757ca16e2 Add more E2E tests for the ../poddisruptionbudgets endpoint 2020-02-18 11:19:30 -08:00
Nan Yu
89bb7d8454 Honor the RevisionHistoryLimit in StatefulSetSpec
The StatefulSet controller cleans up ControllerRevisions at the end of
the reconcile loop. If something goes wrong during reconcile, it bails
out without actually performing this step. This commit moves the cleanup
to a deferred function call to guarantee it will be executed.

Fixes issue: https://github.com/kubernetes/kubernetes/issues/85690
2020-02-18 10:42:38 -08:00
Mateusz
d221d82eaf run permit plugins in the scheduling cycle 2020-02-18 10:04:23 -08:00
John Belamaric
ca399e6315 Add a README describing behaviors 2020-02-18 09:23:46 -08:00
Kubernetes Prow Robot
1e12d92a51
Merge pull request #88261 from mborsz/rate
Implement ItemBucketRateLimiter
2020-02-18 07:35:29 -08:00
Aldo Culquicondor
c8377ef7db Add BuildArgs to interpodaffinity plugin
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-18 09:55:06 -05:00
Michal Fojtik
0dfe0c793b
rest: remove connection refused from the list of retriable errors 2020-02-18 14:45:25 +01:00
Kubernetes Prow Robot
2e5d5ebf59
Merge pull request #88259 from feiskyer/cache-cleanup
chore: move Azure caches to a separate package
2020-02-18 05:07:28 -08:00
Maciej Borsz
6846a0a6b6 Implement ItemBucketRateLimiter 2020-02-18 11:34:20 +01:00
Fabian Ruff
9eb45d22a4
Fix wrong alpha version for ValidateProxyRedirects
This feature gate apparently never made it into 1.10 or 1.11
https://github.com/kubernetes/kubernetes/pull/69943
2020-02-18 09:22:42 +01:00
Pengfei Ni
fd81f04036 Update Go modules 2020-02-18 08:05:04 +00:00
Pengfei Ni
1ade947698 chore: move caches to a separate package 2020-02-18 08:04:54 +00:00
Kubernetes Prow Robot
5bd719b6a6
Merge pull request #86810 from bart0sh/PR0087-kubeadm-output-images
kubeadm config images list: implement structured output
2020-02-17 17:07:28 -08:00
Oleg Chunikhin
b651178849 fix incorrect configuration of kubepods.slice unit by kubelet (issue #88197) 2020-02-17 13:22:45 -05:00
Kubernetes Prow Robot
ea5cef1c65
Merge pull request #87870 from tedyu/restore-proxier-updater
Use ProxierHealthUpdater directly to avoid panic
2020-02-17 10:13:29 -08:00
Kir Kolyshkin
70a2857998 test/e2e/node: fix selinux test failure
Commit 69a473be3 broke the test case (that was checking
that a file from a volume can't be read) by adding a
(wrong) assumption that error should be nil.

Fix the assumption (we do expect the error here).
Note that we were checking file contents before; now when
we check the error from read, checking the contents is
redundant.

The other issue with the test is SELinux should be in enforcing
mode for this to work, so let's check that first to avoid
false positives.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-02-17 09:46:59 -08:00
Kubernetes Prow Robot
e0a8ed62a6
Merge pull request #88235 from tanjunchen/remove-TODO001
test/e2e/framework:remove TODO and make func private
2020-02-17 08:15:29 -08:00
Ed Bartosh
a31ccc7b99 kubeadm config images list: test structured output
Implemented tests for 'kubeadm config images list' structured output.
2020-02-17 17:26:17 +02:00
Ed Bartosh
23e4d05083 kubeadm config images list: implement structured output
Used cli-runtime API to print image info in 5 formats:

  - TEXT (identical to the current output)
  - YAML
  - JSON
  - JSONPATH
  - Go template
2020-02-17 17:23:08 +02:00
Ed Bartosh
be7e5b47fe kubeadm config images list: update output API 2020-02-17 17:23:08 +02:00
tanjunchen
9c8d4bedcc test/e2e/framework:remove TODO and make func private 2020-02-17 22:17:54 +08:00
Jan Safranek
073d0b2340 Add getPublishDir and getVolumePluginDir
So we don't need to compute these backwards from getPublishPath and
getVolumeDevicePluginDir.
2020-02-17 10:51:39 +01:00
Kubernetes Prow Robot
3ed0f1bec1
Merge pull request #88209 from feiskyer/fix-route-updates
Fix route conflicted operations when updating multiple routes together
2020-02-16 22:41:28 -08:00
Kubernetes Prow Robot
48def7e7c3
Merge pull request #88105 from Huang-Wei/pts-e2e
Graduate PodTopologySpread to Beta
2020-02-16 18:59:28 -08:00
Kubernetes Prow Robot
3d09d25292
Merge pull request #87992 from marosset/windows-kubelet-stats-test-serial
Run Windows kubelet stats e2e tests serially to reduce test flakes
2020-02-16 10:39:27 -08:00
Pengfei Ni
51d44af186 Fix route conflicted operations when updating multiple routes together 2020-02-16 12:02:41 +00:00
Kubernetes Prow Robot
8b2f08f39d
Merge pull request #88201 from andyzhangx/update-max-disk-count
fix: update azure disk max count
2020-02-16 01:47:28 -08:00
Kubernetes Prow Robot
ed2f7b0e25
Merge pull request #88155 from feiskyer/more-clients
Add deletion interfaces for VM, VMSS and interface clients
2020-02-15 21:37:27 -08:00
andyzhangx
6a773fb9c2 fix: update max azure disk max count 2020-02-16 02:46:27 +00:00
Kubernetes Prow Robot
3b22fcc7bd
Merge pull request #88189 from skilxn-go/RemovePreScoreNodeListArguments
[Scheduler Framework]Remove `FilteredNodesStatuses` argument from `PreScore`'s interface
2020-02-15 13:29:28 -08:00
Kubernetes Prow Robot
1c60045db0
Merge pull request #88173 from BenTheElder/gives-a-whole-new-pause
upgrade pause everywhere
2020-02-15 02:11:27 -08:00
Kubernetes Prow Robot
053d46c3c0
Merge pull request #88135 from julianvmodesto/local-dry-run-server-incompatible
Error if --local and --dry-run=server are passed
2020-02-14 23:09:51 -08:00
Kubernetes Prow Robot
1c225e3e56
Merge pull request #87899 from tedyu/observed-rec
Pass context to tryAcquireOrRenew
2020-02-14 23:09:41 -08:00
Kubernetes Prow Robot
2e0cf7e4b6
Merge pull request #86557 from soltysh/fix_events
If lastTimestamp is not set use firstTimestamp when printing event
2020-02-14 23:09:28 -08:00
Kubernetes Prow Robot
3e3a3599ca
Merge pull request #87711 from alena1108/jan30volume
Ineffassign fixes for pkg/volume
2020-02-14 21:53:28 -08:00
skilxn-go
8fd0d8028f Remove FilteredNodesStatuses argument from PreScore interface 2020-02-15 13:53:04 +08:00
Kubernetes Prow Robot
954d8b13ca
Merge pull request #88171 from MikeSpreitzer/version-field-managers
Version the API Priority and Fairness FieldManager values
2020-02-14 18:57:28 -08:00
Wei Huang
c93dffdfc4
E2E tests for PodTopologySpread 2020-02-14 16:48:35 -08:00
Julian V. Modesto
5fcd9c7c7e Error if --local and --dry-run=server are passed 2020-02-14 19:26:36 -05:00
Benjamin Elder
4454ce6f37 fix shellcheck failures in health-monitor.sh 2020-02-14 16:12:18 -08:00
Kubernetes Prow Robot
89bd2bddaa
Merge pull request #80302 from DanielMSchmidt/patch-1
fix path to prow size plugin
2020-02-14 15:45:27 -08:00
Kubernetes Prow Robot
c1aeef5e62
Merge pull request #88131 from liggitt/mutation-detector-trace
Shrink mutation detection critical section
2020-02-14 14:29:50 -08:00
Kubernetes Prow Robot
f4ae52a48e
Merge pull request #88071 from int128/patch-1
Fix example of kubectl config set-credentials command
2020-02-14 14:29:41 -08:00