Commit Graph

122403 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
53870af24f
Merge pull request #124594 from aroradaman/agnhost-log-requests
agnhost: log response for /hostname
2024-04-28 07:00:59 -07:00
Kubernetes Prow Robot
7196c749f2
Merge pull request #124147 from devincd/put-qps-cmd
Place the qps and burst parameters on the command line in kubemark
2024-04-28 04:53:11 -07:00
Daman Arora
5aaa37521f agnhost: version bump to v2.52
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Daman Arora
90561cb9d9 agnhost/netexec: log hostname
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Kubernetes Prow Robot
38c2a963b4
Merge pull request #123984 from carlory/volume-remove-cloud-provider
Remove cloud provider dependency from volume host and volume controllers
2024-04-28 02:54:14 -07:00
Kubernetes Prow Robot
62ced20cdc
Merge pull request #124567 from chengjoey/e2e/scheduler-prefilter
add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
2024-04-27 23:12:36 -07:00
Kubernetes Prow Robot
7d880fd489
Merge pull request #124583 from aroradaman/e2e-net-dial-from-container
e2e/framework network: exit early in DialFromContainer
2024-04-27 11:28:48 -07:00
Daman Arora
20d335a94c e2e/framework network: exit early in DialFromContainer
Immediately exit on receiving an unexpected response, we currently
wait for all the attempts to be exhausted and then return an error.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-27 22:55:35 +05:30
Kubernetes Prow Robot
0b9118b583
Merge pull request #124577 from sttts/sttts-split-out-system-namespaces
prefactoring: generic controlplane: split out SystemNamespaces
2024-04-27 07:53:10 -07:00
Kubernetes Prow Robot
5055c91523
Merge pull request #124560 from riendeau/agnhost-bump
Bump version of agnhost used in e2e tests
2024-04-27 06:25:44 -07:00
Kubernetes Prow Robot
de9a932a14
Merge pull request #122812 from aroradaman/ct-invalid-drop-metric
Metric to track conntrack state invalid packets dropped by iptables
2024-04-27 05:24:45 -07:00
Dr. Stefan Schimanski
3daae717c3
controlplane: split out SystemNamespaces
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-27 14:19:56 +02:00
Daman Arora
3363ec4ba1 pkg/proxy/iptables: track ct state invalid dropped packets
Track packets dropped by proxy which were marked invalid by conntrack
using nfacct netfilter extended accounting infrastructure.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-27 12:25:14 +05:30
Daman Arora
6b5291654f pkg/proxy/util/nfacct: utility to interact with nfacct subsystem
nfacct is netfilter's accounting subsystem. This utility allows
interactions with the subsystem using lower level netlink API.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-27 12:17:50 +05:30
Kubernetes Prow Robot
7b73ee018c
Merge pull request #124539 from Huang-Wei/ut-for-123465
test to catch illegal nodeNames returned by PreFilterResult
2024-04-26 21:44:33 -07:00
joey
cc19b33a95
add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
Signed-off-by: joey <zchengjoey@gmail.com>
2024-04-27 09:43:23 +08:00
Kubernetes Prow Robot
ae8474adcd
Merge pull request #124557 from danwinship/metrics-and-stuff
kube-proxy metrics cleanup (and stuff)
2024-04-26 18:31:57 -07:00
Kubernetes Prow Robot
3d49956fde
Merge pull request #123795 from saschagrunert/metrics-remote-runtime
Decouple `kubelet/cri/remote` package from `kubelet/metrics`
2024-04-26 18:31:48 -07:00
Wei Huang
d3821508f1
test to catch illegal nodeNames returned by PreFilterResult 2024-04-26 15:45:46 -07:00
Kubernetes Prow Robot
a5753f60d6
Merge pull request #124575 from sttts/sttts-unused-peerca
kube-apiserver/aggregator: remove unused PeerCAFile in config
2024-04-26 15:24:36 -07:00
Dr. Stefan Schimanski
7e0fea2331
kube-apiserver/aggregator: remove unused PeerCAFile in config
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 23:22:09 +02:00
Kubernetes Prow Robot
563885e4bd
Merge pull request #124551 from sttts/sttts-kube-apiserver-config-split
pkg/controlplane: split up config into generic controlplane and kube-related part
2024-04-26 14:16:12 -07:00
Kubernetes Prow Robot
4b2d1b6a20
Merge pull request #124529 from danwinship/localtraffic-cleanup-1
LocalTrafficDetector implementation cleanup
2024-04-26 14:16:03 -07:00
Kubernetes Prow Robot
8718b33366
Merge pull request #124494 from brianpursley/FixSlowUnitTest-TestForceApply
Improve performance of TestForceApply unit test (k8s.io/kubectl/pkg/cmd/apply)
2024-04-26 10:50:38 -07:00
Kubernetes Prow Robot
bae83009d3
Merge pull request #124503 from neolit123/1.31-convert-create-job-preflight-to-warning
kubeadm: check for available nodes during 'CreateJob' preflight
2024-04-26 08:49:26 -07:00
Kubernetes Prow Robot
cffc2c0b40
Merge pull request #124102 from pohly/dra-scheduler-assume-cache
scheduler: move assume cache to utils
2024-04-26 08:49:12 -07:00
Dr. Stefan Schimanski
96a144c977
Address comments
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 17:47:30 +02:00
Dan Winship
c4dd2c5ad7 Re-enable V(9) transaction logging in nftables proxy 2024-04-26 11:41:51 -04:00
Dan Winship
d4e6e62134 Add nftables cleanup failure metric, fix cleanup bug
If the sync fails, don't try to cleanup, since it's guaranteed to fail
too.
2024-04-26 11:41:51 -04:00
Dan Winship
3db434d6be Remove errors from LocalTrafficDetector constructors
The constructors only return an error if you pass them invalid data,
but we only ever pass them data which has already been validated,
making the error checking just annoying. Just make them return garbage
output if you give them garbage input.
2024-04-26 11:34:37 -04:00
Dan Winship
fc05a294cc Rename nftables sync failure metric 2024-04-26 09:27:41 -04:00
Dan Winship
1823de063b fix "Iptables" -> "IPTables" in metrics variable names 2024-04-26 09:27:41 -04:00
Dan Winship
ba57fd7c84 Merge linux and windows kube-proxy metric registration together
Windows proxy metric registration was in a separate file, which had
led to some metrics (eg the new ProxyHealthzTotal and ProxyLivezTotal)
not being registered for Windows even though they were implemented by
platform-generic code.

(A few other metrics were neither registered on, nor implemented on
Windows, and that's probably a bug.)

Also, beyond linux-vs-windows, make it clearer which metrics are
specific to individual backends.
2024-04-26 09:27:41 -04:00
John Riendeau
a53999f086
Bump version of agnhost used in e2e tests 2024-04-26 08:22:26 -05:00
Dr. Stefan Schimanski
e37917fea7
pkg/controlplane: split up config into generic controlplane and kube-related part
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 14:14:06 +02:00
Kubernetes Prow Robot
d07a5768cc
Merge pull request #124552 from pohly/apidiff
hack/apidiff.sh: compare between two revisions, usability enhancements
2024-04-26 04:39:59 -07:00
Kubernetes Prow Robot
4066055caa
Merge pull request #124549 from sttts/sttts-aggregator-without-crds
kube-apiserver/aggregator: fix panic with crds disabled
2024-04-26 03:09:18 -07:00
Lubomir I. Ivanov
786ad3ca81 kubeadm: check for available nodes during 'CreateJob' preflight
Instead of erroring during the preflight check 'CreateJob'
from "upgrade" commands when there are no schedulable nodes,
show a warning.

This can happen in single node clusters.

Also increase the Job TTL after completion to 20 seconds
to make sure it's more than the timeout what waits
for the Job to complete.
2024-04-26 12:18:02 +03:00
Patrick Ohly
6eba52e795 hack/apidiff.sh: compare between two revisions, usability enhancements
In a Prow job, the current work tree is the result of merging a PR into the
target. We want apidiff.sh from there, but then need to invoke it for two
specific revisions and compare.

While at it, output and usability get enhanced. The directory parameter(s) may
be absolute paths or lack the leading . that is required by apidiff.
2024-04-26 11:00:03 +02:00
Dr. Stefan Schimanski
91de83b694
kube-apiserver/aggregator: fix panic with crds disabled
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 09:05:20 +02:00
Kubernetes Prow Robot
ba05a8deb3
Merge pull request #124419 from neolit123/1.31-deprecate-experimental-cert-rotation
kubeadm: mark the phase 'experimental-cert-rotation' as deprecated
2024-04-25 23:28:39 -07:00
Kubernetes Prow Robot
5ae0d48a06
Merge pull request #124545 from SataQiu/fix-kubeadm-test-20240426
kubeadm: enable KubernetesReleaseVersion test
2024-04-25 22:22:21 -07:00
SataQiu
328c5edaeb kubeadm: enable KubernetesReleaseVersion test 2024-04-26 11:30:51 +08:00
Kubernetes Prow Robot
bf454d7c59
Merge pull request #124516 from danwinship/cloud-hostname-override
Fix behavior with external cloud provider and --hostname-override
2024-04-25 14:47:24 -07:00
Kubernetes Prow Robot
4bb8debb1f
Merge pull request #124524 from jbtk/env-vars
Append both env variables instead of fetching twice and overriding them.
2024-04-25 12:16:30 -07:00
Kubernetes Prow Robot
ae02f87bb4
Merge pull request #122145 from pohly/cloud-providers-context-support
cloud providers: enhance context support
2024-04-25 08:34:53 -07:00
Dan Winship
59cecf8a36 Simplify redundant LocalTrafficDetector implementations
All of the LocalTrafficDetector implementations were essentially
identical after construction time, so just reduce them to a single
implementation with multiple constructors.

Also, improve the comments.
2024-04-25 08:52:35 -04:00
Dan Winship
dc1155bd53 Move LocalTrafficDetector from pkg/proxy/util/iptables to pkg/proxy/util
Since it's used for nftables as well now.
2024-04-25 08:51:43 -04:00
Dan Winship
30972710bd Fix behavior with external cloud provider and --hostname-override 2024-04-25 08:12:04 -04:00
Justyna Betkier
a484bb94c2 Fix linter issues 2024-04-25 13:34:30 +02:00