Commit Graph

106558 Commits

Author SHA1 Message Date
Jiahui Feng
31205dc7d9 generated: ./hack/update-vendor.sh 2022-01-14 10:31:44 -08:00
Jiahui Feng
821912a751 upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.1 2022-01-14 10:30:39 -08:00
Jordan Liggitt
c0af728f43 Handle invalid selectors properly 2022-01-14 12:11:02 -05:00
Kubernetes Prow Robot
6f896dec4f
Merge pull request #107554 from humblec/feature
Correct the feature gate string for RBD migration.
2022-01-14 08:19:49 -08:00
Antonio Ojea
ac9eec0093 e2e test for CVE-2021-29923
The e2e test checks that the component implementing Kubernetes Services
interprets ClusterIPs with leading zeros as decimal, otherwise the
cluster will be exposed to CVE-2021-29923.
2022-01-14 16:58:29 +01:00
Kubernetes Prow Robot
4e1306ca79
Merge pull request #107540 from dims/validate-owners-files-remove-sections-on-emeritus-reviewers
Validate OWNERS files - remove sections about emeritus reviewers
2022-01-14 07:03:50 -08:00
Humble Chirammal
5f2f5405b4 Correct the feature gate string for RBD migration.
The feature gate is wrongly mentioned as csiMigrationRBD in
kube features where it should have been CSIMigrationRBD to
match other migration feature gates and formatting.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-01-14 19:39:17 +05:30
cyclinder
07999dac70 Clean up dockershim flags in the kubelet
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-14 16:02:50 +02:00
Kubernetes Prow Robot
19a37027dc
Merge pull request #107512 from SataQiu/support-reset-dryrun-20220113
kubeadm reset: add support for dry-run
2022-01-14 06:01:49 -08:00
Jordan Liggitt
5d9b7ae9e5 Remove fluentd-elasticsearch addon 2022-01-14 08:23:51 -05:00
Wojciech Tyczyński
551790729f Remove selflink references in different testing-related files 2022-01-14 12:58:05 +01:00
Kubernetes Prow Robot
8c6b910e68
Merge pull request #107550 from wojtek-t/remove_selflink_from_kubelet
Remove no-longer used selflink code from kubelet
2022-01-14 03:28:27 -08:00
Wojciech Tyczyński
6088fe4221 Remove no-longer used selflink code from kubelet 2022-01-14 10:38:23 +01:00
Shu Muto
aa7b3389ce Remove cluster addon for dashboard
Due to dashboard addon is no longer maintained.
2022-01-14 16:59:49 +09:00
Kubernetes Prow Robot
03bcfab1a6
Merge pull request #106164 from nilo19/fix/route
fix: remove outdated ipv4 route when the corresponding node is deleted
2022-01-13 22:14:27 -08:00
Kubernetes Prow Robot
e95eda5213
Merge pull request #107528 from sayaoailun/test-e2e-apps-cronjob
It is weird that lastScheduleTime is earlier than creationTime
2022-01-13 21:14:27 -08:00
Kubernetes Prow Robot
35c8975710
Merge pull request #105387 from howardjohn/metadata-client/tracker
Make metadata fake client implement testing.FakeClient
2022-01-13 19:22:27 -08:00
SataQiu
e91c829836 kubeadm reset: add support for dry-run 2022-01-14 11:07:09 +08:00
kerthcet
3734e05e14 fix not return when channel closed
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-14 10:47:01 +08:00
Davanum Srinivas
8d43d0bc24
Validate OWNERS files - remove sections about emeritus reviewers
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-13 20:40:01 -05:00
Kubernetes Prow Robot
f1da8cd3e2
Merge pull request #107541 from tabbysable/sig-security-approvers
re-add missing sig-security-* aliases
2022-01-13 16:56:27 -08:00
Kubernetes Prow Robot
6b399153ba
Merge pull request #107502 from zshihang/metadata
limit the scope of 169.254.169.252/32 to host
2022-01-13 15:54:27 -08:00
Kubernetes Prow Robot
08fc9febb1
Merge pull request #106445 from majst01/fix-typo-in-cloudprovider
Fix typo
2022-01-13 14:28:29 -08:00
Tabitha Sable
0a0b4dc775 add missing sig-security-* aliases 2022-01-13 16:10:50 -06:00
Kubernetes Prow Robot
01da891398
Merge pull request #107529 from humblec/vol-fields
storage: correct struct fields in volume plugins
2022-01-13 10:30:41 -08:00
Kubernetes Prow Robot
3bd422dc76
Merge pull request #107293 from dims/jan-1-owners-cleanup
Cleanup OWNERS files - Jan 2021 Week 1
2022-01-13 10:30:30 -08:00
Kubernetes Prow Robot
0669da445f
Merge pull request #107510 from MikeSpreitzer/order-flow-schemas
Order suggested FlowSchemas by matching precedence
2022-01-13 08:46:30 -08:00
Humble Chirammal
283022a88d storage: correct struct fields in volume plugins
This commit corrects struct field names in the godoc for various
storage volume plugins volume sources and persistent volume sources.

Additional Ref# #105963 (comment)

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-01-13 21:20:19 +05:30
Lubomir I. Ivanov
db6061f5a6 kubeadm: apply the new "control-plane" taint during upgrade
- During "upgrade apply" call a new function AddNewControlPlaneTaint()
that finds all nodes with the new "control-plane" node-role label
and adds the new "control-plane" taint to them.
- The function is called in "apply" and is separate from
the step to remove the old "master" label for better debugging
if errors occur.
2022-01-13 17:46:11 +02:00
Lubomir I. Ivanov
370031cada kubeadm: apply the new "control-plane" taint on CP nodes
- Apply "control-plane" taint during init/join by adding the
taint in SetNodeRegistrationDynamicDefaults(). The old
taint "master" is still applied.
- Clarify API docs (v1beta2 and v1beta3) for nodeRegistration.Taint
to not mention "master" taint and be more generic. Remove
example for taints that includes the word "master".
- Update unit tests.
2022-01-13 17:46:05 +02:00
Lubomir I. Ivanov
a3d5e55982 kubeadm: only apply the new "control-plane" label during init/join
- Update the markcontrolplane phase used by init and join to
only label the nodes with the new control plane label.
- Cleanup TODOs about the old label.
- Remove outdated comment about selfhosting in staticpod/utils.go.
Selfhosting has not been supported in kubeadm for a while
and the comment also mentions the "master" label.
- Update unit tests.
2022-01-13 17:45:54 +02:00
Lubomir I. Ivanov
c0871b4433 kubeadm: delete the old "master" label during upgrade
- Rename the function in postupgrade.go to better reflect
what is being done.
- During "upgrade apply" find all nodes with the old label
and remove it by calling PatchNode.
- Update health check for CP nodes to not track "master"
labeled nodes. At this point all CP nodes should have
"control-plane" and we can use that selector only.
2022-01-13 17:45:32 +02:00
Kubernetes Prow Robot
7dd03c8326
Merge pull request #107508 from andrewsykim/controllers-owners
add myself as approver to pkg/controller
2022-01-13 02:46:30 -08:00
mason1kwok
5307ae7159 cleanup code from critical_pod_test 2022-01-13 14:44:05 +08:00
sayaoailun
f2d585e356 It is weird that lastScheduleTime is earlier than creationTime
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-01-13 14:07:38 +08:00
Kubernetes Prow Robot
2f64227aea
Merge pull request #107429 from andyzhangx/azuredisk-translation-camel
fix: azuredisk parameter lowercase translation issue
2022-01-12 21:28:29 -08:00
Mike Spreitzer
e3fa01ff22 Make KUBE_TEST_ARGS come last, so that --args can be used 2022-01-13 00:13:59 -05:00
Qi Ni
efeda3c32a fix: remove outdated ipv4 route when the corresponding node is deleted 2022-01-13 12:01:11 +08:00
Kubernetes Prow Robot
42436c877e
Merge pull request #107462 from dims/next-step-in-csi-migration-for-openstack-take-2
Next step in CSI migration for openstack
2022-01-12 19:57:07 -08:00
Mike Spreitzer
798fc67a37 Order suggested FlowSchemas by matching precedence 2022-01-12 21:40:22 -05:00
Kubernetes Prow Robot
dad0c48959
Merge pull request #106594 from pohly/log-benchmark
logs: add benchmark
2022-01-12 18:01:08 -08:00
Andrew Sy Kim
845d4a4304 add myself as approver to pkg/controller
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-12 19:33:02 -05:00
Kubernetes Prow Robot
8c69e5d25b
Merge pull request #107361 from wzshiming/test/skip
Skip tests when no signal emitting command
2022-01-12 14:21:38 -08:00
Kubernetes Prow Robot
e22ec17057
Merge pull request #99441 from CKchen0726/csi-client
migrate volume/csi/csi-client.go logs to structured logging
2022-01-12 11:52:13 -08:00
Shihang Zhang
17c2be0667 limit the scope of 169.254.169.252/32 to host 2022-01-12 10:36:59 -08:00
Kubernetes Prow Robot
bf8c918e0b
Merge pull request #107494 from BinacsLee/binacs/remove-switch-for-binary-condition
cleanup: remove switch for binary condition in scheduler cache
2022-01-12 09:48:38 -08:00
brianpursley
64fac6cf49 Upgrade Cobra from 1.2.1 to 1.3.0 to fix a bug where bash completions don't work when the kubectl command uses the --context flag to specify a context that contains a colon 2022-01-12 10:37:13 -05:00
Kubernetes Prow Robot
46c072d9d9
Merge pull request #106978 from pohly/log-message-verbosity
log message verbosity
2022-01-12 07:24:36 -08:00
Lubomir I. Ivanov
f3f1332223 kubeadm: update the CRI socket detection logic
- Throw an error if there is more than one known socket on the host.
- Remove the special handling for docker+containerd.
- Remove the local instances of constants for endpoints for
Windows / Unix and use the defaultKnownCRISockets variable
which is populated from OS specific constants.
- Update error message in detectCRISocketImpl to have more
details.
- Make detectCRISocketImpl accept a list of "known" sockets
- Update unit tests for detectCRISocketImpl and make them
use generic paths such as "unix:///foo/bar.sock".
2022-01-12 17:15:45 +02:00
Lubomir I. Ivanov
ea2c948799 kubeadm: change the default CRI socket to containerd
Change the default container runtime CRI socket endpoint to the
one of containerd. Previously it was the one for Docker

- Rename constants.DefaultDockerCRISocket to DefaultCRISocket
- Make the constants files include the endpoints for all supported
container runtimes for Unix/Windows.
- Update unit tests related to docker runtime testing.
- In kubelet/flags.go hardcode the legacy docker socket as a check
to allow kubeadm 1.24 to run against kubelet 1.23 if the user
explicitly sets the criSocket field to "npipe:////./pipe/dockershim"
on Windows or "unix:///var/run/dockershim.sock" on Linux.
2022-01-12 17:15:45 +02:00