Commit Graph

129435 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ea04d665da Merge pull request #131061 from aramase/aramase/c/kep_4412_add_unique_req
clarify mutual exclusivity of service account annotation keys in godoc
2025-04-23 15:59:06 -07:00
Kubernetes Prow Robot
a63fd40447 Merge pull request #131060 from BenTheElder/kubectl-http-proxy
improve kubectl e2e test debugging
2025-04-23 15:58:59 -07:00
Kubernetes Prow Robot
5a630b7289 Merge pull request #131042 from pacoxu/adjust-metric-range
adjust container_spec_memory_limit_bytes e2e to range: ppc64le is less
2025-04-23 15:58:51 -07:00
Kubernetes Prow Robot
0534744401 Merge pull request #131028 from mimowo/fix-agnhost-pause
Test tooling: fix agnhost pause command
2025-04-23 15:58:44 -07:00
Luca Lanziani
2ea6892077 Always check for Immutable selector in Deployment Replicaset Daemonset (#131017)
* Always for Immutable selector in Deployment Replicaset Daemonset

With extensions/v1beta1 removed there is no need of a special case
to check for Spec.Selector immutability.

The ValidateImmutableField is now moved into the
Validate[Resource]Update method, tests for v1beta1 are removed and test
for v1 are added.

Validation tests were updated to reflect the changes,
mostly decoupling other fields changes from selectors and creating a
dedicated case to test selector immutability.

* Move validation inside appropriate function

* Fix validation tests
2025-04-23 15:58:37 -07:00
Kubernetes Prow Robot
43a7d3be12 Merge pull request #130995 from xigang/utils
bump k8s.io/utils for improvements
2025-04-23 15:58:30 -07:00
Kubernetes Prow Robot
b775f9b92f Merge pull request #130994 from BenTheElder/host-network-no-port
Remove inaccurate doc comment from podspec hostNetwork field
2025-04-23 14:40:36 -07:00
Kubernetes Prow Robot
da7f3cef16 Merge pull request #130987 from arthurbdiniz/kubectl-diff-testing-language-env
Set LANGUAGE env variable in TestDiffProgram for consistent locale be…
2025-04-23 13:32:12 -07:00
Kubernetes Prow Robot
695e59cc14 Merge pull request #130981 from thockin/kk_hack_verify_api_lint
Add a verify script for codegen lint
2025-04-23 13:32:05 -07:00
Kubernetes Prow Robot
8cdc67c7fd Merge pull request #130966 from sanposhiho/patch-16
chore: correct the comment on UnschedulablePlugins
2025-04-23 13:31:57 -07:00
Kubernetes Prow Robot
25222679ec Merge pull request #130928 from Jefftree/patch-4
Tag api change instead of apimachinery on generated openapi changes
2025-04-23 13:31:50 -07:00
Kubernetes Prow Robot
9d1363eff6 Merge pull request #130852 from Chulong-Li/contextual-logging
Migrate pkg/kubelet/status to contextual logging
2025-04-23 13:31:43 -07:00
Kubernetes Prow Robot
c2d40b77aa Merge pull request #130782 from BernardMC/master
Kubeadm issue #3152 ControlPlane node setup failing with "etcdserver: can only promote a learner member"
2025-04-23 13:31:36 -07:00
Kubernetes Prow Robot
8a6b916765 Merge pull request #130720 from saintube/scheduler-expose-nodeinfo-in-prefilter
Expose NodeInfo to PreFilter plugins
2025-04-23 13:31:29 -07:00
Kubernetes Prow Robot
13dd327f0d Merge pull request #130687 from tomma-a/master
Made the unsupportedError msg more readable
2025-04-23 13:31:21 -07:00
Taha Farahani
609e4a9ba0 Unhandled panic crash on rollout_history printer.PrintObj (#130503)
* Change: Handling nil runtime.Object

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Return only if there is error in rollout_history

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Return the unknown revision error directly in rollout_history.go

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Remove unintended newline

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Using go idiomatic way for checking if historyInfo[o.Revision] exists

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Remove 'error:' from returned error message in rollout_history.go

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Check for printer.PrintObj returned err

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Add TestRolloutHistoryErrors test

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Simple typo fix on Complete() function description

Signed-off-by: Taha Farahani <tahacodes@proton.me>

* Change: Checking for error on o.Complete in TestRolloutHistoryErrors

Signed-off-by: Taha Farahani <tahacodes@proton.me>

---------

Signed-off-by: Taha Farahani <tahacodes@proton.me>
2025-04-23 13:31:14 -07:00
Kubernetes Prow Robot
0130ac1422 Merge pull request #130309 from HaraldNordgren/sort_secrets
kubectl: sort secrets alphabetically to avoid random order
2025-04-23 13:31:07 -07:00
Kubernetes Prow Robot
7397a0f6dc Merge pull request #129702 from carlory/clean-e2e
remove outdate comment
2025-04-23 13:31:00 -07:00
Rafael Franzke
fa8e37f780 Allow disabling caching for webhook authorizers when using apiserver.config.k8s.io/v1{alpha1,beta1}.AuthorizationConfiguration (#129237)
* Introduce new boolean `cache{Una,A}uthorizedRequests` field

* Run `hack/update-codegen.sh`

* Respect legacy flags values for caching

With the legacy `--authorization-webhook-cache-{un}authorized-ttl`
flags, caching was disabled when the TTL was set to `0`, so let's
continue doing so when building the authz configuration struct.

* Pass TTL=0 to webhook authz plugin when cache disabled
2025-04-23 13:30:52 -07:00
Kubernetes Prow Robot
04b1ef3624 Merge pull request #129145 from ialidzhikov/fix/confusing-err-message
kube-scheduler: Fix a misleading error message in the VolumeRestrictions plugin
2025-04-23 13:30:45 -07:00
Kubernetes Prow Robot
d63a52a007 Merge pull request #127183 from mochizuki875/add_attach_warning
Add warning message for attach
2025-04-23 13:30:38 -07:00
Kubernetes Prow Robot
f161763173 Merge pull request #127126 from mengqiy/patch-2
Correct etcd override flag help text
2025-04-23 13:30:31 -07:00
Kubernetes Release Robot
6a17858ff9 CHANGELOG: Update directory for v1.33.0 release 2025-04-23 13:24:19 +00:00
Kubernetes Release Robot
9ba7dcecc3 CHANGELOG: Update directory for v1.30.12 release 2025-04-23 02:22:45 +00:00
Kubernetes Release Robot
191c34eaba CHANGELOG: Update directory for v1.31.8 release 2025-04-23 02:22:38 +00:00
Kubernetes Release Robot
7bf818fb88 CHANGELOG: Update directory for v1.32.4 release 2025-04-22 16:21:58 +00:00
Kubernetes Prow Robot
680ea07dbb Merge pull request #131369 from ameukam/update-1242-master
[Go] Bump dependencies, images and versions used to Go 1.24.2 and distroless iptables
2025-04-21 09:19:06 -07:00
carlory
27815acee1 remove outdate comment
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-21 13:58:58 +08:00
Kubernetes Prow Robot
0d9dccfc6b Merge pull request #131382 from liggitt/watch-list-e2e
Correctly feature-gate WatchList e2e
2025-04-19 16:20:59 -07:00
Jordan Liggitt
95b926c93a Feature-gate watchlist e2e 2025-04-19 17:18:31 -04:00
Kubernetes Prow Robot
66931f07d9 Merge pull request #131359 from deads2k/disable
Stop exposing list-via-watch from the server
2025-04-18 07:55:08 -07:00
Arnaud Meukam
e467c9530b [Go] Bump dependencies, images and versions used to Go 1.24.2 and distroless-iptables
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2025-04-18 15:49:48 +02:00
David Eads
660df229bf Stop exposing list-via-watch from the server
With StreamingCollectionEncodingToJSON and
StreamingCollectionEncodingToProtobuf, the WatchList must re-justify its
necessity.  To prevent an ecosystem from building around a feature that
may not be promoted, we will stop serving list-via-watch until
performance numbers can justify its inclusion.

This also stops the kube-controller-manager from using the
list-via-watch by default.  The fallback is a regular list, so during
the skew during an upgrade the "right" thing will happen and the new
StreamingCollectionEncoding will be used.
2025-04-18 09:21:23 -04:00
mochizuki875
97dd6dc284 Add warning message for attach 2025-04-17 15:02:29 +00:00
Kubernetes Prow Robot
b53b9fb557 Merge pull request #131015 from aojea/final_servicecidr
Add the missing Conformance Test for ServiceCIDR and IPAddress APIS
2025-04-16 11:05:08 -07:00
Antonio Ojea
a8f6d77c8d ServiceCIDR and IPAddess Conformance
Change-Id: I6ee188cc8c163c312f8a8da9f1277d83e1ea634c
2025-04-15 21:47:43 +00:00
Kubernetes Release Robot
44c230bf5c CHANGELOG: Update directory for v1.33.0-rc.1 release 2025-04-15 17:20:14 +00:00
Kubernetes Prow Robot
30469e1803 Merge pull request #131263 from aojea/dualstack_upgrade
Allow to convert clusters Service CIDRs from single to dual stack
2025-04-14 11:17:06 -07:00
Antonio Ojea
0266d3bcb3 Allow single-to-dual-stack reconfiguration for ServiceCIDR
This change modifies the validation logic for ServiceCIDR updates
(`ValidateServiceCIDRUpdate`) to specifically permit upgrading a
single-stack ServiceCIDR (either IPv4 or IPv6) to a dual-stack
configuration.

This reconfiguration path is considered safe because it only involves adding
a new CIDR range without altering the existing primary CIDR. This
ensures that existing Service IP allocations are not disrupted.

Other modifications, such as:
- Downgrading from dual-stack to single-stack
- Reordering CIDRs in a dual-stack configuration
- Changing the primary CIDR during a single-to-dual-stack
  reconfiguration

remain disallowed by the validation. These operations carry a higher
risk of breaking existing Services or cluster networking
configurations. Preventing these updates automatically encourages
administrators to perform such changes manually after carefully
assessing the potential impact on their specific cluster environment.
The validation errors and controller logs provide guidance when such
disallowed changes are attempted.

Change-Id: I41dc09dfddb05f277925da2262f8114d6accbd1d
2025-04-14 17:05:44 +00:00
Kubernetes Prow Robot
cfed8c7d41 Merge pull request #131234 from carlory/fix-131229
Fix flaky test: Metrics should grab all metrics from kubelet /metrics/resource endpoint
2025-04-14 08:19:13 -07:00
Kubernetes Prow Robot
d6e3f34f70 Merge pull request #131211 from BenTheElder/max-pods
fix flaky garbage collector tests
2025-04-14 08:19:06 -07:00
Harald Nordgren
4e3026fdb8 pr fix 2025-04-14 15:59:45 +02:00
Harald Nordgren
7d6f86594f kubectl: sort secrets alphabetically to avoid random order 2025-04-14 15:55:57 +02:00
Kubernetes Prow Robot
b15dfce6cb Merge pull request #131240 from jsafrane/selinux-tests-tag
Tag SELinux tests that require SELinux warning controller
2025-04-11 04:46:42 -07:00
Paco Xu
b141ac6a23 adjust container_spec_memory_limit_bytes e2e to range: ppc64le is 44*1024 less 2025-04-11 16:06:30 +08:00
carlory
7d7fc2d989 Fix flaky test: Metrics should grab all metrics from kubelet /metrics/resource endpoint
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-11 11:30:28 +08:00
Kubernetes Prow Robot
908bdb3f2c Merge pull request #131250 from jimangel/publishing-release-33
staging/publishing: add release-1.33 rules
2025-04-10 17:08:48 -07:00
Jim Angel
505836c22c staging/publishing: add release-1.33 rules 2025-04-10 16:42:44 -05:00
Jan Safranek
e5a5f726dd Tag SELinux tests that require SELinux warning controller
The controller is available only with SELinuxChangePolicy FG enabled.
Kubernetes e2e jobs do the right --focus & --skip explicitly in the SELinux
jobs, this just helps other test runners to figure out what FGs are needed
to run the tests.

When at it, I noticed SELinuxMountReadWriteOncePod tag is always required, so
add it on the common level and not in each test.
2025-04-10 14:36:02 +02:00
Kubernetes Prow Robot
88dfcb225d Merge pull request #131065 from pohly/dra-kubelet-registration-unit-test-fix
DRA kubelet: fix potential flake in unit test
2025-04-09 07:06:48 -07:00