Commit Graph

118370 Commits

Author SHA1 Message Date
Stephen Finucane
48f453d649 cloud-provider: Log additional options
The 'NewCloudControllerManagerCommand' function create a cobra.Command
object that is used for the main entry point to various CCM
implementations. This function accepts an 'additionalFlags' parameter,
allowing users to register additional controller-specific options
beyond the standard set used for all controllers. While we were dumping
the standard set of flags in the usage string - seen when running the
command with '--help' or when parsing fails - we were not dumping the
additional options. Correct this oversight.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-08 11:44:43 +01:00
Kubernetes Prow Robot
c084719291
Merge pull request #120509 from aojea/aojea_cp_owner
add aojea as controplane reviewer
2023-09-08 02:48:26 -07:00
Kubernetes Prow Robot
a64a3e16ec
Merge pull request #120253 from pohly/dra-scheduler-podschedulingcontext-updates
dra scheduler: refactor PodSchedulingContext updates
2023-09-08 02:48:14 -07:00
Stephen Kitt
aa89e6dc97
Use ptr.To to retrieve intstr addresses
This uses the generic ptr.To in k8s.io/utils to replace functions and
code constructs which only serve to return pointers to intstr
values. Other uses of the deprecated pointer package are updated in
modified files.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-09-08 11:10:50 +02:00
guangli.bao
9feaefb5cb Increase ut for kubeadm phases init addon
rename field casename to name
do go lint check
Update addons_test.go to remove whitespace

Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-09-08 15:35:17 +08:00
Kubernetes Prow Robot
9068bec08e
Merge pull request #120454 from pohly/golangci-lint-hint-deprecated
golangci-lint: warn about deprecated APIs only as hints
2023-09-08 00:32:25 -07:00
Kubernetes Prow Robot
80cd9d7a9a
Merge pull request #120105 from princepereira/ppereira-kubeproxy-mock-tests
New mock test framework for windows kubeproxy.
2023-09-08 00:32:14 -07:00
SataQiu
3e2bad02dc kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate 2023-09-08 15:01:00 +08:00
Xunzhuo
a0a8765027
fix: update thirdpartyresources refs 2023-09-08 14:41:15 +08:00
Patrick Ohly
5c7dac2d77 dra scheduler: refactor PodSchedulingContext updates
Instead of modifying the PodSchedulingContext and then creating or updating it,
now the required changes (selected node, potential nodes) are tracked and the
actual input for an API call is created if (and only if) needed at the end.

This makes the code easier to read and change. In particular, replacing the
Update call with Patch or Apply is easy.
2023-09-08 08:06:06 +02:00
Kubernetes Prow Robot
f8ca582a06
Merge pull request #120488 from SataQiu/clean-logcheck-config-20230907
Remove logcheck.yaml
2023-09-07 20:36:16 -07:00
Prince Pereira
7dea3d6c3b New mock test framework for windows kubeproxy. 2023-09-08 08:38:46 +05:30
Kubernetes Prow Robot
fba0802836
Merge pull request #120504 from andrewsykim/fix-scheduler-tests
reduce CPU requests for fluentd-gcp to fix failing tests
2023-09-07 17:27:56 -07:00
Kubernetes Prow Robot
b685f5204a
Merge pull request #120471 from ii/create-storageclass-lifecycle-test
Write e2e test for StorageClass Endpoints + 7 Endpoints
2023-09-07 14:40:57 -07:00
Antonio Ojea
3a1a67e33d add aojea as controplane reviewer
Change-Id: Ie1aa38791c1cf1399c762120e687fedd360f6067
2023-09-07 21:26:32 +00:00
Antonio Ojea
cc77b97c5e add aojea as client-go approver
After 12 months as reviewer, constantly reviewing and contributing
to client-go, I think is fair to move to the next ladder.

Change-Id: I49e579dcefcd39c6f0b29400c90467df00719cca
2023-09-07 21:16:19 +00:00
Andrew Sy Kim
6c973f01d2 reduce CPU requests for fluentd-gcp to fix failing tests
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-09-07 17:58:57 +00:00
Kubernetes Prow Robot
6c39a3724d
Merge pull request #120493 from cpanato/golang1211
[go] Bump images, dependencies and versions to go 1.21.1
2023-09-07 09:37:08 -07:00
Kubernetes Prow Robot
c1628f3b6f
Merge pull request #119934 from letmerecall/fix-testgrid-links
Fix broken links to testgrid dashboard
2023-09-07 09:36:57 -07:00
Kubernetes Prow Robot
440eb7eadb
Merge pull request #119495 from bzsuni/cleanup/api/legacyBetaEnabledByDefaultResources
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.29
2023-09-07 08:10:58 -07:00
guangli.bao
93d93258b1 bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0 2023-09-07 22:27:58 +08:00
Kubernetes Prow Robot
58ce734223
Merge pull request #120255 from likakuli/feat-addreferenceonlyfirsttime
feat: minimize unnecessary API requests to the API server for the configmap/secret get API
2023-09-07 06:42:57 -07:00
cpanato
98af8befe2
[go] Bump images, dependencies and versions to go 1.21.1
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-07 14:56:56 +02:00
Kubernetes Prow Robot
1a1a3d0a87
Merge pull request #120482 from carlory/cleanup-1
HandleRetry has already called in the GetObject
2023-09-07 03:53:08 -07:00
Kubernetes Prow Robot
0c7e1fbe9d
Merge pull request #118677 from ardaguclu/local-support-empty-config
Gracefully handle empty config error when local flag is used
2023-09-07 03:52:57 -07:00
SataQiu
dbd3eb5419 remove logcheck.yaml 2023-09-07 18:24:13 +08:00
carlory
2d1877c97b fix breaking pv creation when the validation webhook exists 2023-09-07 16:45:53 +08:00
Kubernetes Prow Robot
163553bbe0
Merge pull request #120479 from carlory/cleanup-e2e-apimachinery-framework-equal
fix typecast missing
2023-09-07 01:26:58 -07:00
carlory
f33265cf5d HandleRetry has already called in the GetObject 2023-09-07 15:48:18 +08:00
Kubernetes Prow Robot
2d5b6f16f5
Merge pull request #120213 from pohly/dra-scheduler-resourceclass-missing
dra: resourceclass missing
2023-09-06 23:47:09 -07:00
Kubernetes Prow Robot
b27670dfbd
Merge pull request #118740 from saschagrunert/kubelet-label-types
Make kubelet label types public
2023-09-06 23:46:57 -07:00
carlory
fc51a27c03 fix typecast missing 2023-09-07 14:25:29 +08:00
Kubernetes Prow Robot
4f303d1236
Merge pull request #117326 from akhilerm/update-selinux
dependencies: update opencontainers/selinux to v1.11.0
2023-09-06 21:48:56 -07:00
Kubernetes Prow Robot
cc1c416edd
Merge pull request #120374 from liggitt/cloud-deps
Track vendored status of unwanted deps, add more cloud dependencies
2023-09-06 19:52:55 -07:00
Jordan Liggitt
6cd446a206
Add cloud library to unwanted deps 2023-09-06 21:48:30 -04:00
Jordan Liggitt
9f76d8d45a
Track vendor status of unwanted deps 2023-09-06 21:48:30 -04:00
Kubernetes Prow Robot
04fd79d7d8
Merge pull request #120472 from sanposhiho/flake-fix
fix(queue_test): make sure the first bind failure via counter
2023-09-06 14:18:56 -07:00
Kensei Nakada
87d49a51be fix(queue_test): make sure the first bind failure via counter 2023-09-06 19:47:54 +00:00
Kubernetes Prow Robot
9f3cfbbcdb
Merge pull request #120448 from aroradaman/revert-103174-rancher-33360
Revert "Do not attempt to overwrite higher system (sysctl) values"
2023-09-06 12:35:16 -07:00
Kubernetes Prow Robot
eb0724a699
Merge pull request #120404 from kerthcet/flaky-test/bind
Output the error message for better analysis
2023-09-06 12:35:08 -07:00
Kubernetes Prow Robot
cf8f9a8d07
Merge pull request #119334 from kmala/serverapply
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Kubernetes Prow Robot
3ed537ab46
Merge pull request #119988 from bzsuni/cleanup/e2e/app
[e2e_app] stop using deprecated framework.ExpectNotEqual
2023-09-06 11:08:51 -07:00
Matthias Riegler
d7b7a85fbc
feat: make user-defined plugins discoverable with e.g. kubectl help (#116752)
* feat: make user-defined plugins discoverable with e.g. kubectl help

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: make help text localizable & rename it

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: address CRs, cleanup

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: plugin execution

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-09-06 09:12:52 -07:00
Kubernetes Prow Robot
56cc5e77a1
Merge pull request #120441 from tzneal/revert-npd-update
Revert "bump npd to v0.8.14"
2023-09-06 06:39:04 -07:00
Kubernetes Prow Robot
c0a38d01aa
Merge pull request #120433 from enj/enj/f/kmsv2_default_enable_kdf
kmsv2: enable KMSv2KDF feature gate by default
2023-09-06 06:38:52 -07:00
Kubernetes Prow Robot
a759bf2b1e
Merge pull request #119461 from carlory/cleanup-e2e-auth-framework-equal
e2e_auth: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:19 -07:00
Kubernetes Prow Robot
ea5862ca4e
Merge pull request #119459 from carlory/cleanup-e2e-apimachinery-framework-equal
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:12 -07:00
Kubernetes Prow Robot
8703ca2413
Merge pull request #118996 from cpanato/golang121
[go] Bump images, dependencies and versions to go 1.21.0
2023-09-06 05:34:54 -07:00
Patrick Ohly
c4dd16a1f8 golangci-lint: warn about deprecated APIs only as hints
This particualar warning didn't make it into
https://github.com/kubernetes/kubernetes/issues/117288.  Discussion on Slack
concluded that "it's hard to have a universal policy for all functions marked
deprecated" and thus this can only be a hint which must be considered on a
case-by-case basis.

For example, APIs like sets.String are very unlikely to ever go away, therefore
it is entirely up to developers whether they switch to sets.Set even though
sets.String is marked as deprecated.

Ideally, the deprecation message should explain this. It doesn't for sets ("use
generic Set instead"), so a better message in that case would have been
"consider using generic Set instead".
2023-09-06 13:30:51 +02:00
Kubernetes Prow Robot
a8aa3621f2
Merge pull request #120407 from shijinye/e2ecleanup-storage-errwaittimeout
cleanup:e2e:stop using deprecated wait.ErrWaitTimeout
2023-09-06 04:20:51 -07:00