Kubernetes Prow Robot
3a68b84d8e
Merge pull request #120202 from sttts/sttts-controlplane-config-split
...
Step 2 – generic controlplane: split server
2024-04-29 02:17:42 -07:00
Dr. Stefan Schimanski
3b6d2a66a4
pkg/controlplane: split apart generic server part of instance.go
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 10:15:02 +02:00
Kubernetes Prow Robot
c6b6163e2e
Merge pull request #124576 from sttts/sttts-peer-proxy-generic-move
...
controlplane/apiserver: move peer proxy code to allow generic aggregator construction
2024-04-29 01:11:06 -07:00
Dr. Stefan Schimanski
c252ebe50c
controlplane/apiserver: move peer proxy code to allow aggregator construction
...
This reverts commit 0bb6ff5e454cfc99c0b611e22162391eaa31e103.
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 08:13:43 +02:00
Kubernetes Prow Robot
97332c1edc
Merge pull request #124599 from aroradaman/agnhost-2.52
...
promote agnhost to v2.52
2024-04-28 11:19:35 -07:00
Daman Arora
a6d3a1b4fc
promote agnhost to v2.52
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 22:26:45 +05:30
Dan Winship
f1f390f13b
clean up LocalTrafficDetector construction / tests ( #124582 )
...
* LocalTrafficDetector construction and test improvements
* Reorder getLocalDetector unit test fields so "input" args come before "output" args
* Don't pass DetectLocalMode as a separate arg to getLocalDetector
It's already part of `config`
* Clarify test names in preparation for merging
* Merge single-stack/dual-stack LocalTrafficDetector construction
Also, only warn if the *primary* IP family is not correctly configured
(since we don't actually know if the cluster is really dual-stack or
not), and pass the pair of detectors to the proxiers as a map rather
than an array.
* Remove the rest of Test_getDualStackLocalDetectorTuple
2024-04-28 08:51:23 -07:00
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