Commit Graph

109549 Commits

Author SHA1 Message Date
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
Sugang Li
f583954ffd Fix firewallNeedsUpdate and firewallRuleEqual for destinationRanges 2022-07-18 22:56:31 +00: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
Kubernetes Prow Robot
bd1c9c1c5b
Merge pull request #110388 from sanposhiho/graduate-mindomain-beta
Graduate MinDomains in Pod Topology Spread to beta
2022-07-18 15:36:06 -07:00
Kubernetes Prow Robot
8af2c50201
Merge pull request #110762 from pandaamanda/windows_default_proxy
kube-proxy: kernelspace mode is announced to be default for windows
2022-07-18 11:45:15 -07:00
Kubernetes Prow Robot
ff20035ef8
Merge pull request #110813 from vpnachev/apiserver/create-dir-for-audit-log-path
Ensure the directory for the file in flag `--audit-log-path` exists
2022-07-18 09:35:15 -07:00
Kevin Delgado
d815449ae5 Adjust testing for server-side validation as default 2022-07-18 16:16:00 +00:00
Marcus Puckett
5badb731a8
Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster" 2022-07-18 08:48:29 -07:00
Kevin Delgado
36dbecd438 Enable ServerSideFieldValidation feature gate on by default in beta 2022-07-18 15:35:02 +00:00
Kevin Delgado
c210483cf0 update kjson 2022-07-18 14:55:12 +00:00
Kevin Delgado
d983fd8078 Add server-side metadata unknown field validation 2022-07-18 14:55:12 +00:00
Dan Williams
f197509879 proxy: queue syncs on node events rather than syncing immediately
The proxies watch node labels for topology changes, but node labels
can change in bursts especially in larger clusters. This causes
pressure on all proxies because they can't filter the events, since
the topology could match on any label.

Change node event handling to queue the request rather than immediately
syncing. The sync runner can already handle short bursts which shouldn't
change behavior for most cases.

Signed-off-by: Dan Williams <dcbw@redhat.com>
2022-07-18 09:21:52 -05:00
Arda Güçlü
8eb50efefc Add unit tests for explain command 2022-07-18 16:13:21 +03:00
Artur Żyliński
b1e12b01b6 Add audit-id to storage traces
Refactor GetAuditIDTruncated to use context instead of request
2022-07-18 14:10:00 +02:00
Ravi Gudimetla
ced1d2edbd Generated: maxSurge for DS 2022-07-18 07:55:01 -04:00
Ravi Gudimetla
6ac7d4127a api: Promote DS maxSurge to GA 2022-07-18 07:55:00 -04:00
Ravi Gudimetla
7397c029e8 Promote DS MaxSurge to GA 2022-07-18 07:54:59 -04:00
Kubernetes Prow Robot
5108b0a3a0
Merge pull request #111189 from Octopusjust/k8s-pr4
Add testcases for cmd/kubeadm/app/util/net.go and version.go
2022-07-18 02:49:27 -07:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
chymy
a1fd50d53a kubeadm: fix comment typo
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-07-18 16:48:29 +08:00
Kubernetes Prow Robot
3987c8ad91
Merge pull request #111134 from ldsdsy/modify1
Improve the accuracy of output msg in pkg/controller/endpoint/endpoints_controller.go
2022-07-17 23:51:15 -07:00
Octopusjust
db0bfd8727
Update version_test.go
run ./hack/verify-gofmt.sh
2022-07-18 14:15:06 +08:00