Commit Graph

109405 Commits

Author SHA1 Message Date
Michal Wozniak
2f61b6105c Add integration tests for podgc 2022-07-20 15:17:14 +02:00
Kubernetes Prow Robot
8b16a4a4df
Merge pull request #111284 from aojea/slow_storage
Revert "Revert the workaround needed to cleanup for Ginkgo V1"
2022-07-20 05:52:33 -07:00
jupblb
1c594e7e01
Introduce config for API Priority and Fairness
Linked all the default values with a single config structure.
2022-07-20 14:20:29 +02:00
Kubernetes Prow Robot
e348a76e10
Merge pull request #111238 from bobbypage/fix-npd-test
test: Only Check NPD logs in standalone mode
2022-07-20 04:02:50 -07:00
Kubernetes Prow Robot
7d72ccf9a8
Merge pull request #110957 from papagalu/kp_remove_hnsv1
kube-proxy: windows: Removed hnsV1
2022-07-20 04:02:38 -07:00
Piotr Nosek
1c455c10de Add e2e HPA Behavior tests: scale down stabilisation, scale up disabled, scale down disabled. 2022-07-20 09:03:31 +00:00
Wojciech Tyczyński
0db5c05bdb Adjust watch channel sizes in watchcache 2022-07-20 10:53:39 +02:00
Antonio Ojea
fc6acb2350 Revert "Revert the workaround needed to cleanup for Ginkgo V1"
This reverts commit 6a82ba82b1.
2022-07-20 10:48:35 +02:00
Kubernetes Prow Robot
b96a04df90
Merge pull request #111267 from BinacsLee/binacs/remove-unneeded-unsortedlist
cleanup: use sets.Len() instead of len(sets.UnsortedList()) in the isEmpty function
2022-07-19 20:34:36 -07:00
HaoJie Liu
677f0bae39
use exist const to replace TCP str
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-20 11:19:18 +08:00
BinacsLee
14731ae1a7 cleanup: use sets.Clone() to avoid interim slice 2022-07-20 10:55:25 +08:00
BinacsLee
f1c9a70b47 cleanup: simplify the function implementation of IPSet 2022-07-20 10:13:57 +08:00
Kubernetes Prow Robot
aeb410fe1f
Merge pull request #111173 from BinacsLee/binacs/regenerate-sets
Re-Generate k8s.io/apimachinery/pkg/util/sets
2022-07-19 19:06:37 -07:00
Stephen Heywood
bc783aaeb7 Promote ResourceQuota e2e test to Conformance 2022-07-20 11:29:43 +12:00
Kubernetes Prow Robot
728d8fd96b
Merge pull request #109763 from ii/create-namespace-status-test
Write NamespaceStatus endpoints test +3 Endpoints
2022-07-19 16:18:36 -07:00
Stephen Heywood
c4935571a5 Promote APIService e2e test to Conformance 2022-07-20 10:29:11 +12:00
Kubernetes Release Robot
9f9602ef83 CHANGELOG: Update directory for v1.25.0-alpha.3 release 2022-07-19 18:45:02 +00:00
Kubernetes Prow Robot
4885f4d750
Merge pull request #111229 from ravisantoshgudimetla/promote-podOS-GA
Promote pod OS  to GA
2022-07-19 10:12:19 -07:00
Kubernetes Prow Robot
b436d3e703
Merge pull request #108331 from humblec/dns
csi: validate the secretnames in CSI spec against NameIsDNSSubdomain
2022-07-19 10:12:07 -07:00
Kubernetes Prow Robot
ddeb3ab90b
Merge pull request #111084 from mimowo/retriable-pod-failures-refactor-taint-mngr
Refactor taint_manager to do not use getPod and getNode stubs
2022-07-19 06:54:06 -07:00
Humble Chirammal
e2ab0f93e6 Add unit tests for allowSubDomainSecret format validation
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-19 19:18:15 +05:30
Humble Chirammal
5c92e4b816 csi: validate the secretnames in the CSI spec against NameIsDNSSubdomain
At present the CSI spec secret name validation for ControllerPublish,
ControllerExpand, NodePublish secrets are performed against
ValidateDNS1123Label() and it causes the secret name validation
inside the CSI spec to go wrong if the secret name is more than 63 chars.

Kubernetes allow the secret object name to be on `DNS SubDomainName`
and having a secret name length between 0-253 is correct/valid. So the CSI
spec validation also has to be performed accordingly.

This commit address this issue in validation for above mentioned funcs.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-19 19:18:09 +05:30
Kubernetes Prow Robot
3992eda8e6
Merge pull request #111244 from p0lyn0mial/cacher-expired-watchers
cacher: indroduce expiredBookmarkWatchers
2022-07-19 05:34:37 -07:00
Kubernetes Prow Robot
0cde1b7446
Merge pull request #111242 from wojtek-t/fix_leaking_goroutines_11
Fix leaking goroutines in multiple integration tests
2022-07-19 05:34:30 -07:00
Kubernetes Prow Robot
a521af7007
Merge pull request #111219 from dcbw/proxy-sync-on-node-events
proxy: queue syncs on node events rather than syncing immediately
2022-07-19 05:34:18 -07:00
Kubernetes Prow Robot
eeb12bb3af
Merge pull request #110178 from kevindelgado/validation-beta-1-25
Graduate server side validation to beta
2022-07-19 05:34:06 -07:00
Kubernetes Prow Robot
5641ac5d95
Merge pull request #111240 from aojea/e2e_debug
set ginkgo intercept mode to none to avoid hangs
2022-07-19 04:14:05 -07:00
Wojciech Tyczyński
ab1038f0e0 Clean shutdown of auth integration tests 2022-07-19 11:34:02 +02:00
Lukasz Szaszkiewicz
0576f6a011 cacher: with expiredBookmarkWatchers
expiredBookmarkWatchers allows us to schedule the next bookmark event after dispatching not before as it was previously.
It opens a new functionality in which a watcher might decide to change when the next bookmark should be delivered based on some internal state.
2022-07-19 10:36:50 +02:00
Wojciech Tyczyński
f673c262bd Clean shutdown of client integration tests 2022-07-19 10:03:51 +02:00
Wojciech Tyczyński
e9e494e14a Clean shutdown of apiserver integration tests 2022-07-19 10:03:51 +02:00
David Porter
d906521acd test: Only Check NPD logs in standalone mode
NPD can run in "standalone" or "daemonset" mode in cluster GCE tests.

For standalone mode, NPD runs as a systemd unit, daemonset mode it runs
as pod.

If NPD is running in standalone mode, as soon as we detect that the npd
service does not exist with `systemctl status`, we should skip the rest
of the checks such as looking at the journalctl logs or pid.

Signed-off-by: David Porter <david@porter.me>
2022-07-19 01:03:13 -07:00
Antonio Ojea
fbc39f9c02 set ginkgo interncepto mode to none to avoid hangs 2022-07-19 09:15:11 +02:00
Kubernetes Prow Robot
e234917e0a
Merge pull request #111235 from Abirdcfly/220719
fix a possible panic because of taking the address of nil
2022-07-19 00:12:06 -07:00
Kubernetes Prow Robot
122254fc01
Merge pull request #111210 from chymy/kubeadm-fix-typo
kubeadm: fix comment typo
2022-07-18 21:56:34 -07:00
Kubernetes Prow Robot
6f9fd45954
Merge pull request #111101 from Abirdcfly/220707
enable stylecheck check in golangci
2022-07-18 21:56:27 -07:00
Kubernetes Prow Robot
09ee827f70
Merge pull request #110680 from azylinski/add-audit-id-to-traces
Add audit-id to storage traces
2022-07-18 21:56:16 -07:00
Kubernetes Prow Robot
9cf4f15884
Merge pull request #110633 from wojtek-t/fix_leaking_goroutines_10
Fix leaking goroutines in multiple integration tests
2022-07-18 21:56:05 -07:00
jianfei.zhang
49e7a7b51d fix:handle error and remove Redundant type conversion
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-19 11:30:46 +08:00
Ravi Gudimetla
95fc0987cd Generated: PodOS field to GA 2022-07-18 23:28:00 -04:00
Ravi Gudimetla
e9ce94edf5 api: Promote PodOS field to GA 2022-07-18 23:27:59 -04:00
Ravi Gudimetla
b79ebb8165 Promote PodOS field to GA 2022-07-18 23:27:58 -04:00
Kubernetes Prow Robot
b52705ae3e
Merge pull request #110663 from fromanirh/sched-allow-indexers
scheduler: framework: initialize indexers in scheduler core with non-nil map
2022-07-18 19:52:24 -07:00
Kubernetes Prow Robot
0e7bb163e3
Merge pull request #110649 from harshanarayana/fix/GIT-110335-fix-fake-event-expansion
client-go: Modify FakeEvents to Work Event Sink started with `""` namespace
2022-07-18 19:52:12 -07:00
Kubernetes Prow Robot
92cb0ae6ba
Merge pull request #109832 from sanposhiho/retry-on-update
Retry when it fails to update pods status on scheduling loop
2022-07-18 19:52:05 -07:00
Abirdcfly
c8c2819a4d
fix a possible panic because of taking the address of nil
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-19 10:39:08 +08:00
Stephen Heywood
1d6cb6acf0 Create e2e test for NamespaceStatus endpoints
e2e test validates the following 3 endpoints
- patchCoreV1NamespaceStatus
- readCoreV1NamespaceStatus
- replaceCoreV1NamespaceStatus
2022-07-19 14:03:12 +12:00
Kubernetes Prow Robot
f19a26a22e
Merge pull request #111191 from aojea/controller-client-go
refactor controlplane to use just one client-go
2022-07-18 16:55:30 -07:00
Kubernetes Prow Robot
1c1efde70d
Merge pull request #109639 from Abirdcfly/fixduplicateimport
cleanup: remove all duplicate import
2022-07-18 16:55:23 -07:00
David Porter
304a040a17 cluster: use systemd cgroup driver for cgroupv2
* Detect if image is using cgroupv2
* Configure both kubelet and containerd to use systemd cgroup driver
  when running under cgroupv2

Systemd cgroup driver is recommended to be used when running on
cgroupv2. It is also the default in moby
https://github.com/moby/moby/pull/40846

Signed-off-by: David Porter <david@porter.me>
2022-07-18 16:06:30 -07:00