Commit Graph

122666 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d0e78ef70e
Merge pull request #123797 from saschagrunert/cri-staging
Add `cri-client` staging repository
2024-05-02 03:48:52 -07:00
Ed Bartosh
6ecf0da1a5 node_e2e: refactor RunTogether function 2024-05-02 13:41:47 +03:00
Gabe
9a8197d0c3 Add unit test which checks Gated is set/unset properly 2024-05-02 10:41:19 +00:00
Gabe
6c6be931ee revert unit test 2024-05-02 10:29:15 +00:00
Imre Rad
c7846fd24c gitRepo volume: directory must be max 1 level deep
More details on Hackerone #2266560
2024-05-02 08:26:26 +00:00
Sascha Grunert
aec3701067
Fix cri-api SECURITY_CONTACTS by removing a duplicate
`tallclair` is already part of the list, so we can remove that entry.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:21:35 +02:00
Sascha Grunert
fef2ecf97d
Add cri-client staging repository
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:20:17 +02:00
Kubernetes Prow Robot
82cd82aa15
Merge pull request #124645 from matthyx/ms
e2e lifecycle: reduce test flackiness
2024-05-01 16:19:55 -07:00
Davanum Srinivas
7187d9af81
address comments during review
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 18:01:25 -04:00
Matthias Bertschy
f7ea5f3fe1 e2e lifecycle: increase delay for restartable init containers
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-05-01 22:12:04 +02:00
Kubernetes Prow Robot
d387c0c903
Merge pull request #124654 from sttts/sttts-controlplane-aggregator
Step 9 – aggregator: move construction to generic controlplane
2024-05-01 12:10:46 -07:00
Dr. Stefan Schimanski
89bafb2fed
controlplane/apiserver: unify options package name
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-05-01 20:08:20 +02:00
Kubernetes Prow Robot
83cdd30873
Merge pull request #124619 from aramase/aramase/c/requestheader_cleanup
Remove unused NewSecure function in requestheader.go
2024-05-01 10:59:18 -07:00
Dr. Stefan Schimanski
1aa24b0951
Make linter happy
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-05-01 19:44:20 +02:00
Dr. Stefan Schimanski
1d0c72d15a
aggregator: move construction to generic controlplane
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-05-01 19:44:20 +02:00
Matthias Bertschy
8833b4def0 e2e lifecycle: fix finishing -> exiting
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-05-01 18:27:13 +02:00
Matthias Bertschy
851d149a88 e2e lifecycle: use millisecond resolution for logs
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-05-01 18:27:10 +02:00
Lubomir I. Ivanov
74e1438d86 kubeadm: add support for custom cert validity period in v1beta4
Allow the user to pass custom cert validity period with
ClusterConfiguration.CertificateValidityPeriod and
CACertificateValidityPeriod.

The defaults remain 1 year for regular cert and 10 years for CA.
Show warnings if the provided values are more than the defaults.

Additional changes:
- In "certs show-expiration" use HumanDuration() to print
more detailed durations instead of ShortHumanDuration().
- Add a new kubeadm util GetStartTime() which can be used
to consistently get a UTC time for tasks like writing certs
and unit tests.
- Update unit tests to validate the new customizable NotAfter.
2024-05-01 19:01:49 +03:00
Kubernetes Prow Robot
84a6ed4862
Merge pull request #124638 from sttts/sttts-kube-apiserver-config-split-up
kube-apiserver: split up config creation into generic and non-generic part
2024-05-01 08:51:39 -07:00
Kubernetes Prow Robot
e342ab05bb
Merge pull request #124463 from carlory/remove-fg-ConsistentHTTPGetHandlers
remove feature-gate ConsistentHTTPGetHandlers
2024-05-01 07:48:21 -07:00
Kubernetes Prow Robot
29a4812f03
Merge pull request #124080 from claudiubelu/skip-windows-tests
Skip failing Windows tests
2024-05-01 07:48:12 -07:00
Kubernetes Prow Robot
7143856f17
Merge pull request #123756 from saschagrunert/cri-approvers
Sync `cri-api` approvers with kubelet `cri` package
2024-05-01 07:48:03 -07:00
Davanum Srinivas
efdb2961b6
drop unused code pointed out by linter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:57 -04:00
Davanum Srinivas
bf268f02a3
Remove gcp in-tree cloud provider and credential provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:53 -04:00
Mikalai Radchuk
80b5dcc1df admission-control: fix error message formatting
Signed-off-by: Mikalai Radchuk <radchuk.m@gmail.com>
2024-05-01 14:19:03 +02:00
Dr. Stefan Schimanski
d8c5f71403
kube-apiserver: split up config creation into generic and non-generic part
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-05-01 11:28:25 +02:00
Daman Arora
df417aa9b8 kubectl/describe/svc: refactor TestDescribeService
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 14:45:45 +05:30
Kubernetes Prow Robot
b041e54e70
Merge pull request #124644 from aroradaman/temp-pod-logs
e2e/network: stream pod logs for debugging
2024-05-01 01:10:24 -07:00
Kubernetes Prow Robot
6abdfb97c0
Merge pull request #124621 from sttts/sttts-controlplane-admission-initializers
kube-apiserver: split admission initializers into generic and non-generic
2024-05-01 01:10:15 -07:00
Kubernetes Prow Robot
b27608875c
Merge pull request #124287 from sanposhiho/tainttoleration
implement QueueingHint in TaintToleration
2024-05-01 00:06:16 -07:00
Daman Arora
d70f96fe22 e2e/network: stream pod logs for debugging
Intermittent logging to understand root cause of
https://github.com/kubernetes/kubernetes/issues/123760

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 11:27:11 +05:30
Kubernetes Prow Robot
8bd39b8eb1
Merge pull request #123128 from yue9944882/admission-runtime-class-empty-map-fix
Fail admission check upon nil/empty overhead map
2024-04-30 16:30:43 -07:00
Kubernetes Prow Robot
0d8f996aa9
Merge pull request #124450 from muff1nman/handle-nil-k8s-client
apiserver/options: avoid segfault by handling unset core k8s client
2024-04-30 14:36:07 -07:00
Kubernetes Prow Robot
dd68c5f240
Merge pull request #124597 from TessaIO/fix-drain-error-message
fix: add whitespace to drain error message
2024-04-30 11:34:33 -07:00
Kubernetes Prow Robot
108fd24f51
Merge pull request #123396 from cyclinder/apiserver_datarace
Fix data race in apiserver mux handler
2024-04-30 09:24:14 -07:00
Gabe
9a8ec13505 make linter happy 2024-04-30 12:06:26 +00:00
Kubernetes Prow Robot
02365ecec1
Merge pull request #124610 from wojtek-t/deflake_cacher_tests
Deflake watchcache tests
2024-04-30 04:45:27 -07:00
Kubernetes Prow Robot
fc24cfc660
Merge pull request #124593 from carlory/dra-scheduler
use slices library instead of custom function
2024-04-30 04:45:14 -07:00
Kubernetes Prow Robot
79c81fab61
Merge pull request #124620 from sttts/sttts-controlplane-cosmetics
controlplane: cosmetics
2024-04-30 01:30:16 -07:00
Kubernetes Prow Robot
d0fddf143b
Merge pull request #122148 from pohly/controllers-context-support
controllers + apiserver: enhance context support
2024-04-30 01:30:09 -07:00
Kubernetes Prow Robot
031e6c3f4d
Merge pull request #124613 from sttts/sttts-generic-api-versions
generic controplane: split aggregator API priorities
2024-04-29 22:50:33 -07:00
Kubernetes Prow Robot
6381e6504a
Merge pull request #124572 from aojea/alpha_tag
tag TrafficDistribution tests to avoid running on clusters without th…
2024-04-29 14:46:59 -07:00
Kubernetes Prow Robot
1fd835ce59
Merge pull request #123398 from ffromani/remove-legacy-checkpoint
node: devicemgr: remove obsolete pre-1.20 checkpoint file support
2024-04-29 14:46:53 -07:00
Dr. Stefan Schimanski
acbb89d9b9
kube-apiserver: split admission initializers into generic and non-generic
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 23:28:42 +02:00
Dan Winship
05e14799db Cache EndpointSlices directly rather than copying the data
Given that we are no longer modifying any of the EndpointSlice data,
we can just work with pointers to the actual EndpointSlice objects.
(The informer cache is already holding on to them, so they'll be
taking up memory whether or not the EndpointSliceCache points to
them.)
2024-04-29 17:07:21 -04:00
Dan Winship
f956fdf240 Don't sort endpointSliceData objects
EndpointSliceCache cached EndpointSlices into endpointSliceData
objects, in part so it could sort the ports and addresses, so that if
those fields got reordered without otherwise changing, it would not
trigger an OnEndpointSliceUpdate().

However, the EndpointSlice controller and mirroring controller always
output the ports in the same order, and they never reorder the
addresses of an existing slice unless the set of addresses actually
changed. So in the normal case, sorting the data adds more work than
it saves.
2024-04-29 17:07:21 -04:00
Kubernetes Prow Robot
c1ef6c44f5
Merge pull request #124562 from sbueringer/pr-bump-sigs-yaml
Bump sigs.k8s.io/yaml to v1.4.0
2024-04-29 12:51:32 -07:00
Kubernetes Prow Robot
84ac8a1bd2
Merge pull request #122026 from skitt/sets-go1.21
Use Go 1.21 Ordered and clear for sets
2024-04-29 12:51:18 -07:00
Dr. Stefan Schimanski
b8d7e2edd7
controlplane: cosmetics
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 21:24:41 +02:00
Dr. Stefan Schimanski
8c9bad8503
controlplane: return client error
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 21:24:41 +02:00