Commit Graph

116850 Commits

Author SHA1 Message Date
dingzhu lurong
ed26fcf5b8 cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins 2023-05-20 22:53:43 +08:00
Ike Ma
e21cf9a54e Setup e2e_node to support testing on ARM64
* Enable dockerized build with --use-dockerized-build=true
* Build and create test artifacts for ARM64 with --target-build-arch=arm64
* Prepull multi-arch ready container image
* Download ARM64 binaries/packages if running on ARM64 machine
2023-05-20 00:07:44 +00:00
Kubernetes Prow Robot
6d09ab86c2
Merge pull request #118093 from Icarus9913/fix/wk/apiserver
fix apiserver InstallAPIGroups slices out of range
2023-05-19 16:28:17 -07:00
Kubernetes Prow Robot
60e747896a
Merge pull request #118141 from dims/grab-logs-from-all-the-containers-when-DNS-related-tests-fail
Grab logs from all the containers when DNS related tests fail
2023-05-19 15:30:19 -07:00
Davanum Srinivas
ec8d94f205
Grab logs from all the containers when DNS related tests fail
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-05-19 17:23:13 -04:00
Shihang Zhang
182cd425d3 graduate LegacyServiceAccountTokenTracking to GA 2023-05-19 10:33:34 -07:00
Kubernetes Prow Robot
589d6f3886
Merge pull request #117630 from skitt/intstr-fromint32-cluster-lifecycle
Cluster lifecycle: use new intstr functions
2023-05-19 08:50:30 -07:00
Kubernetes Prow Robot
b9c7726046
Merge pull request #118033 from mimowo/job-controller-cleanup
Cleanup the Job controller handling of terminating pods
2023-05-19 06:50:30 -07:00
Marcel Zieba
337728b025
Improve backoff policy in reflector.
Before, we've used two separate backoff managers for List and Watch
calls, now they share single backoff manager.
2023-05-19 15:47:11 +02:00
Michal Wozniak
0fe27a06f9 Cleanup the Job controller handling of terminating pods 2023-05-19 09:52:08 +02:00
Humble Chirammal
c74790e266 remove redundunt type conversion, unused variable...etc
`Framework` variable has been removed from test/*
unwanted `[]byte` conversion has been removed
import alias has been avoided

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-19 11:16:11 +05:30
Kubernetes Prow Robot
15a1f9a39d
Merge pull request #117921 from kkkkun/clean-up-etcd-version
clean up unsupport etcd version
2023-05-18 20:30:28 -07:00
Icarus9913
07c9455360 fix apiserver InstallAPIGroups slices out of range
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-05-19 09:53:42 +08:00
Kubernetes Prow Robot
6aa4261405
Merge pull request #118119 from liggitt/grpc-gateway-v1
Mark grpc-gateway v1 as an unwanted dependency
2023-05-18 16:16:33 -07:00
Jordan Liggitt
aa11cc6969
Mark grpc-gateway v1 as an unwanted dependency 2023-05-18 17:41:13 -04:00
Kubernetes Prow Robot
b2a1855f2c
Merge pull request #118088 from danwinship/kube-proxy-belated-cleanup
belated cleanup of some kube-proxy stuff for old versions
2023-05-18 13:18:34 -07:00
Etienne Champetier
19ae2de19c kubeadm: speedup init by 0s or 20s
Before this commit, kubeadm starts kubelet before it creates
/etc/kubernetes/manifests. On boot, kubelet tries to load the
static pod manifests from this dir by calling `listConfig()`
7ad8303b96/pkg/kubelet/config/file.go (L97)
and it'll then try to start a file watcher every second for 20s
7ad8303b96/pkg/kubelet/config/file.go (L114)
7ad8303b96/pkg/kubelet/config/file_linux.go (L51-L67)

If kubelet starts and calls `listConfig()` before kubeadm creates
`/etc/kubernetes/manifests` (while writing the static pods manifests),
the file watcher will be created less than a second after, but there
will be no changes to report, so the manifests will only be detected
on the next tick of `listTicker`, a bit less than 20s later
7ad8303b96/pkg/kubelet/config/file.go (L102-L103)

Even if we fixed the watch code to `listConfig()` just after starting the
inotify watch, watching source file is only supported on linux,
so moving the manifests generation before kubelet start fixes all
cases and make more sense IMO.

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
2023-05-18 15:09:15 -04:00
Kubernetes Prow Robot
7ad8303b96
Merge pull request #118104 from liggitt/crd-sync
Fix waiting for CRD sync at server start
2023-05-18 11:26:45 -07:00
Kubernetes Prow Robot
6e8d234bf8
Merge pull request #118073 from jsafrane/support-podman
Support podman for building release images
2023-05-18 11:26:34 -07:00
Kubernetes Prow Robot
2cc529282a
Merge pull request #118101 from humblec/manifests-2
update image tags in manifests to reflect the version listed in the source
2023-05-18 10:00:35 -07:00
Jordan Liggitt
e4102d5e30
Test APIService safe handling at startup 2023-05-18 12:17:37 -04:00
Kubernetes Prow Robot
189fe3f3e6
Merge pull request #114806 from qingwave/fix-volume-util
fix typo in volume util
2023-05-18 08:32:34 -07:00
Jordan Liggitt
3be3997193
Fix waiting for CRD sync at server start 2023-05-18 11:07:53 -04:00
Humble Chirammal
71ec9df5b6 update image tags in manifests to reflect the version listed in the source
test/e2e images have lost the parity compared the e2e suite image
versions and this commit make them in parity.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-18 20:27:40 +05:30
Jan Safranek
b2eae2f92e Support podman for building release images
podman returns nozero exit code for `docker buildx`, because
it misses a subcommand.

`docker buildx version` should work both in podman and docker. Tested both
with docker-ce-20.10.18 + docker-buildx-plugin-0.10.2 and podman-4.5.0 +
podman-docker.
2023-05-18 14:44:26 +02:00
kerthcet
6b4251c0fd Remove statefulset from logcheck.conf
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-05-18 16:55:19 +08:00
kerthcet
3f1d8e7aeb Apply to use contextual logging for all loggers in statefulSet
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-05-18 16:55:19 +08:00
Quan Tian
d9b941b782 Remove undesired verbose fields from log
The if and else branches have the exactly same code, which looks
confusing and doesn't make sense. According to the comment, the else
branch should log the error and podUID only.

Signed-off-by: Quan Tian <qtian@vmware.com>
2023-05-18 16:07:45 +08:00
carlory
bea71a3e4e remove unused pv informer from expand_controller 2023-05-18 15:58:38 +08:00
Kubernetes Prow Robot
bb67eb5bd2
Merge pull request #117952 from atiratree/fix-kubectl-plugin-tests
fix false positive kubectl plugin unit tests
2023-05-18 00:34:33 -07:00
Kubernetes Prow Robot
e3db9232d9
Merge pull request #117895 from ii/create-ephemeralcontainer-test
Write e2e test for PodEphemeralcontainers endpoints + 2 Endpoints
2023-05-17 23:10:33 -07:00
aleskandro
4c9887e3eb Updating the nodeAffinity of gated pods having nil affinity should be allowed 2023-05-18 07:44:34 +02:00
Kubernetes Prow Robot
f9d97e0880
Merge pull request #118069 from SataQiu/fix-kubeadm-20230517
kubeadm: fix a bug where the static pod changes detection logic is inconsistent with kubelet
2023-05-17 21:26:40 -07:00
Kubernetes Prow Robot
3ac21a5a30
Merge pull request #117113 from pohly/test-integration-race-detection-scheduler
test/integration/scheduler: fix data races
2023-05-17 21:26:33 -07:00
Kubernetes Release Robot
a0f14c1c5e CHANGELOG: Update directory for v1.25.10 release 2023-05-18 00:32:57 +00:00
Kubernetes Prow Robot
1ef45e0827
Merge pull request #116016 from danwinship/nodeport-addresses-3
clean up kube-proxy nodeport address handling (part 3)
2023-05-17 17:30:33 -07:00
Kubernetes Release Robot
bab8002fb3 CHANGELOG: Update directory for v1.24.14 release 2023-05-17 23:29:45 +00:00
Kubernetes Prow Robot
b8e460fe4d
Merge pull request #118086 from aramase/aramase/c/refactor_grpc_status_code_err
update err status code check in transformation metrics
2023-05-17 15:42:47 -07:00
Kubernetes Prow Robot
e6915647a7
Merge pull request #118082 from rjsadow/master
fix: move to `dl.k8s.io` from `kubernetes-release` bucket
2023-05-17 15:42:40 -07:00
Kubernetes Prow Robot
9d613da22b
Merge pull request #118066 from BenTheElder/yamlfmt-cleanup
yamlfmt cleanup
2023-05-17 15:42:33 -07:00
Dan Winship
80b9c85361 belated cleanup of some kube-proxy stuff for old versions 2023-05-17 18:34:27 -04:00
Kubernetes Release Robot
e553fe1fff CHANGELOG: Update directory for v1.27.2 release 2023-05-17 21:41:45 +00:00
Kubernetes Release Robot
c9e4de90db CHANGELOG: Update directory for v1.26.5 release 2023-05-17 21:41:26 +00:00
Kubernetes Prow Robot
da1b9df26c
Merge pull request #118032 from kerthcet/cleanup/interpodaffinity2
Chore: cleanup in interPodAffinity
2023-05-17 14:00:33 -07:00
Anish Ramasekar
526d45416f
update err status code check in transformation metrics
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-05-17 20:34:25 +00:00
Kubernetes Prow Robot
fb148aecdf
Merge pull request #118064 from BenTheElder/vestigial-build
remove vestigial BUILD file
2023-05-17 11:52:44 -07:00
Kubernetes Prow Robot
2a50ef677e
Merge pull request #117818 from vihangm/inMemDescribers
Add all describers to the exported DefaultObjectDescriber
2023-05-17 11:52:33 -07:00
Ricky Sadowski
b76ef2e095 fix: move to dl.k8s.io from kubernetes-release bucket
Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
2023-05-17 18:30:54 +00:00
Kubernetes Prow Robot
493fdbb782
Merge pull request #117998 from dims/try-protecting-coredns-from-being-oom-killed
[local-up-cluster] Update docker/containerd/runc versions and capture more logs
2023-05-17 10:36:35 -07:00
Benjamin Elder
fc4fb004cf add reviewers and labels to yamlfmt 2023-05-17 09:59:26 -07:00