Commit Graph

109396 Commits

Author SHA1 Message Date
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
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
Kubernetes Prow Robot
2694137bfd
Merge pull request #111224 from mpuckett159/revert-110923-fix/add-wait-timers
Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster"
2022-07-18 15:37:07 -07:00
Kubernetes Prow Robot
590e84c097
Merge pull request #111203 from ldsdsy/modify3
Remove redundant code in pkg/scheduler/framework/plugins/volumebinding
2022-07-18 15:36:59 -07:00
Kubernetes Prow Robot
fdc7a5dd25
Merge pull request #111200 from ldsdsy/modify2
Format the code in pkg/scheduler/framework/plugins/noderesources
2022-07-18 15:36:52 -07:00
Kubernetes Prow Robot
93cb8fda4d
Merge pull request #111199 from zhoumingcheng/master-v6
Update error log to Error Wrapping
2022-07-18 15:36:44 -07:00
Kubernetes Prow Robot
93b6af95a0
Merge pull request #111153 from SataQiu/fix-scheduler-20220715
scheduler: remove useless null pointer check about nodeInfo for in-tree plugins
2022-07-18 15:36:37 -07:00
Kubernetes Prow Robot
4c213e8d3a
Merge pull request #111125 from tallclair/audit-cleanup
Delete dead audit code
2022-07-18 15:36:29 -07:00
Kubernetes Prow Robot
e56cda48d3
Merge pull request #111047 from SataQiu/fix-scheduler-20220709
scheduler: improve the comment and add more unit test cases for DefaultNormalizeScore
2022-07-18 15:36:17 -07:00