Commit Graph

102972 Commits

Author SHA1 Message Date
Danielle Lancashire
7b91337068 e2e_node: eviction: Include names of pending-eviction pods in error 2021-10-04 13:07:40 +02:00
Danielle Lancashire
b5c2d3b389 e2e_node: eviction: Memory-backed Volumes seperation
This commit fixes the LocalStorageCapacityIsolationEviction test by
acknowledging that in its default configuration kubelet will no-longer
evict memory-backed volume pods as they cannot use more than their
assigned limit with SizeMemoryBackedVolumes enabled.

To account for the old behaviour, we also add a test that explicitly
disables the feature to test the behaviour of memory backed local
volumes in those scenarios. That test can be removed when/if the feature
gate is removed.
2021-10-04 13:07:40 +02:00
Danielle Lancashire
a8168ed543 e2e_node: Fix LocalStorage and PriorityLocalStorage eviction tests
Currently the storage eviction tests fail for a few reasons:
- They re-enter storage exhaustion after pulling the images during
  cleanup (increasing test storage reqs, and adding verification for
future diagnosis)
- They were timing out, as in practice it seems that eviction takes just
  over 10 minutes on an n1-standard in many cases. I'm raising these to
15 to provide some padding.

This should ideally bring these tests to passing on CI, as they've now
passed locally for me several times with the remote GCE env.

Follow up work involves diagnosing why these take so long, and
restructuring them to be less finicky.
2021-10-04 13:07:40 +02:00
Kubernetes Prow Robot
9f7e079a5b
Merge pull request #104361 from ialidzhikov/fix/changelog-typo
Fix typo in CHANGELOG-1.22.md
2021-08-16 07:51:17 -07:00
Kubernetes Prow Robot
a3f541e63b
Merge pull request #104378 from thockin/ipalloc-cleanup
IP Allocator cleanups
2021-08-16 05:31:17 -07:00
Kubernetes Prow Robot
cbb5ea8210
Merge pull request #101399 from wangyx1992/error-punctuation
cleanup: fix errors ending with punctuation in proxy
2021-08-16 00:51:46 -07:00
Kubernetes Prow Robot
9c6d0b810b
Merge pull request #103402 from ilyee/validation-test
Add unit tests for validateStructuralInvariants
2021-08-15 20:55:46 -07:00
elihe
8264dbe17d Add unit tests for validateStructuralInvariants 2021-08-16 10:27:15 +08:00
Tim Hockin
28de406a37 Allocator renames for clarity
Rename `NewCIDRRange()` to `NewInMemory()`
Rename `NewAllocatorCIDRRange()` to `New()`

Rename `NewPortAllocator()` to `NewInMemory()`
Rename `NewPortAllocatorCustom()` to `New()`
2021-08-15 16:44:12 -07:00
Tim Hockin
907fceb206 Remove unused NewContiguousAllocationMap
This was used at some point in the past and never removed.  We are not
in the business of hosting unused code.
2021-08-15 14:12:14 -07:00
Kubernetes Prow Robot
355bc3df22
Merge pull request #104239 from mamil/fix-typo
Fix typo
2021-08-14 10:03:45 -07:00
Kubernetes Prow Robot
e95983be57
Merge pull request #104119 from aojea/clusterip_metrics
ClusterIP Allocator metrics
2021-08-13 18:11:45 -07:00
Kubernetes Prow Robot
d7a06ede70
Merge pull request #103162 from rmoriar1/rmoriar1-add-http-code-to-webhook-metric
Add a new webhook request total metric and add a 1.0s bucket boundary to the webhook latency metric
2021-08-13 16:55:45 -07:00
Kubernetes Prow Robot
894cb069dd
Merge pull request #102666 from viveksyngh/add-e2e-test-hpa-v2betav2
test: e2e: HPA ContainerResource
2021-08-13 14:17:31 -07:00
ialidzhikov
37e9517c2f Fix typo in CHANGELOG-1.22.md
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-13 20:48:33 +03:00
Kubernetes Prow Robot
b6d83f0ba3
Merge pull request #103072 from ikeeip/scheduler_volumebinding
Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
2021-08-13 08:20:22 -07:00
Kubernetes Prow Robot
07dc81f83b
Merge pull request #104349 from rajaskakodkar/netpol-container-improvement
Optimize the resource consumption of networkpolicy tests by reducing the containers created
2021-08-13 07:08:23 -07:00
Kubernetes Prow Robot
28408bf252
Merge pull request #104322 from x13n/master
Increase time to wait for nodes to become unready
2021-08-13 04:14:23 -07:00
Konstantin Misyutin
29bd66d018 Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
All dependencies of VolumeBinding plugin from
"k8s.io/kubernetes/pkg/controller/volume/scheduling" package moved to
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding" package:

- whole file pkg/controller/volume/scheduling/scheduler_assume_cache.go
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache_test.go
- whole file pkg/controller/volume/scheduling/scheduler_binder.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_fake.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_test.go

Package "k8s.io/kubernetes/pkg/controller/volume/scheduling/metrics" moved
to "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/metrics"
because it only used in VolumeBinding plugin and (e2e) tests.

More described in issue #89930 and PR #102953.

Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-08-13 19:08:45 +08:00
Kubernetes Prow Robot
fd9c24fc5c
Merge pull request #104338 from neolit123/1.23-use-dynamic-versions
kubeadm: further improve the dynamic version population
2021-08-13 03:04:22 -07:00
Kubernetes Prow Robot
3c72622a1f
Merge pull request #104229 from astraw99/fix_trivial_code
Fix single pointer variable parenthesis
2021-08-12 21:16:31 -07:00
Kubernetes Prow Robot
eba1632ada
Merge pull request #103240 from tkashem/apf-additional-latency
apf: add additional latency into work estimate
2021-08-12 20:04:22 -07:00
Kubernetes Prow Robot
f466d9278f
Merge pull request #104317 from ibabou/add_termination_hook_startup_script
Add termination hook to the startup script - GCE Windows
2021-08-12 17:50:57 -07:00
Kubernetes Prow Robot
2584a7c0bb
Merge pull request #104337 from logicalhan/owners-solly
update instrumentation reviewers
2021-08-12 15:11:49 -07:00
Kubernetes Prow Robot
1ebc6bfcba
Merge pull request #104301 from serathius/etcd-image-2
Update golang used in etcd image to 1.16.3
2021-08-12 14:00:02 -07:00
Kubernetes Prow Robot
4ab9c950d9
Merge pull request #102007 from vaibhav2107/perf-config
Update the typo in values of pods in performance-config.yaml
2021-08-12 13:59:50 -07:00
“Ibrahim
aa9380e017 Add termination hook to the startup script - GCE Windows 2021-08-12 19:56:15 +00:00
Kubernetes Prow Robot
1f8b1b84fb
Merge pull request #102886 from gnufied/add-local-expansion
Add support for expanding local volumes
2021-08-12 11:55:50 -07:00
Rajas Kakodkar
e36a14730b reducing the number of containers created based on the ports used 2021-08-12 23:36:28 +05:30
Kubernetes Prow Robot
81dca3d0cb
Merge pull request #103976 from claudiubelu/test-images/agnhost-adds-sync-exe
test images: Adds sync.exe to Windows agnhost images
2021-08-12 10:20:13 -07:00
Kubernetes Prow Robot
2dc4f7be17
Merge pull request #103796 from mengjiao-liu/remove-featuregate-AllowInsecureBackendProxy
Remove AllowInsecureBackendProxy feature gate
2021-08-12 10:20:01 -07:00
Kubernetes Prow Robot
e6c7837afe
Merge pull request #101063 from claudiubelu/tests/lifecycle-hooks
tests: Spawn poststart / prestop pods on the same node as the http pod
2021-08-12 10:19:49 -07:00
Lubomir I. Ivanov
096c3e8f2d kubeadm: further improve the dynamic version population
Panicing if not running in a test and if the component-base/version
variables are empty is not ideal. At some point sections
of kubeadm could be exposed as a library and if these sections
import the constants package, they would panic on the library
users unless they set the version information in component-base
with ldflags.

Instead:
- If the component-base version is empty, return a placeholder version
that should indicate to users that build kubeadm that something is not
right (e.g. they did not use 'make'). During library usage or unit
tests this version should not be relevant.
- Update unit tests to use hardcoded versions instead of the versions
from the constants package. Using the constants package for testing
is good but during unit tests these versions are already placeholders
since unit tests do not populate the actual component-base versions
(e.g. 1.23).
2021-08-12 19:54:06 +03:00
Han Kang
c295a850c6 update instrumentation reviewers
Change-Id: I1b158a99ba4fc1e6f7a1765d27ef65fe0bc16dc7
2021-08-12 09:45:20 -07:00
Hemant Kumar
593eda4ad3 Add unit tests for local volume expansion 2021-08-12 12:17:01 -04:00
Kubernetes Prow Robot
98e526390d
Merge pull request #103724 from claudiubelu/update-e2e-test-images-url
Update e2e test images url
2021-08-12 09:10:13 -07:00
Kubernetes Prow Robot
8b9f02836d
Merge pull request #103156 from claudiubelu/windows-osversion-cleanup
images: Removes OS Version workaround for manifest list images
2021-08-12 09:10:00 -07:00
Kubernetes Prow Robot
4c498db939
Merge pull request #102599 from claudiubelu/test-images/remove-eol-windows-images
test images: Removes Windows 1903 and 1909 images
2021-08-12 09:09:48 -07:00
Kubernetes Prow Robot
cc2f7232c9
Merge pull request #104320 from lojies/fixerrinchangelog
code cleanup:fix spelling mistake in CHANGELOG-1.22
2021-08-12 07:19:47 -07:00
Abu Kashem
d68186452d
apf: free seats in use after additional latency 2021-08-12 10:10:49 -04:00
Kubernetes Prow Robot
d77af28a35
Merge pull request #104086 from jayunit100/patch-27
(experimental) Calibrate networkpolicy test aggressiveness
2021-08-12 06:09:48 -07:00
Kubernetes Prow Robot
9c7426e14f
Merge pull request #104315 from yselkowitz/goflags-fix
Fix build with multiple GOFLAGS
2021-08-12 04:59:47 -07:00
Kubernetes Prow Robot
e7efe219f8
Merge pull request #103912 from Iceber/fix-event-recorder
client-go/events: avoid referencing a nil related object
2021-08-12 02:05:47 -07:00
Daniel Kłobuszewski
05beda5c40 Increase time to wait for nodes to become unready
https://github.com/kubernetes/autoscaler/pull/3924 changed Cluster
Autoscaler behavior to mark nodes as unhealthy only if at least 15m
passed since node creation time.
2021-08-12 11:03:38 +02:00
Marek Siarkowicz
704628fde4 Update golang used in etcd image to 1.16.7 2021-08-12 10:28:01 +02:00
lojies
1013e000af code cleanup:fix spelling mistake in CHANGELOG-1.22 2021-08-12 14:44:37 +08:00
Kubernetes Prow Robot
27b02a3e37
Merge pull request #104030 from chendave/refactoring_new
Refactor defaultpreemption for out-of-tree plugins
2021-08-11 18:38:00 -07:00
Kubernetes Prow Robot
8156c82fa1
Merge pull request #99887 from yangjunmyfm192085/run-test26
Fix error path in file /verify-prerelease-lifecycle-tags.sh.
2021-08-11 18:37:48 -07:00
Kubernetes Prow Robot
7ee94f2f4f
Merge pull request #101789 from pohly/mutable-csi-driver
CSIDriver: allow "StorageCapacity" to be modified
2021-08-11 17:05:46 -07:00
Yaakov Selkowitz
67e14290aa Fix build with multiple GOFLAGS
The tag extraction from GOFLAGS doesn't do anything if -tags is not
present in GOFLAGS.  Not only does that mean non-sensical tags are
passed, but because GOFLAGS is a space-separated variable, the build
will fail because the build flags because -tags must be comma-separated.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2021-08-11 19:23:41 -04:00