Commit Graph

105836 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
076b19f0eb kubeadm: fix panic in runKubeletConfigPhase
The "nro" struct must be initialized before passing it to
GetNodeRegistration().
2022-01-04 21:28:13 +02:00
Kubernetes Prow Robot
b0f0aad2ce
Merge pull request #107311 from fasaxc/fix-resource-ver-match
client-go: Clear the ResourceVersionMatch on paged list calls
2022-01-04 11:27:53 -08:00
Kubernetes Prow Robot
334657ddb6
Merge pull request #107195 from caesarxuchao/blockOwner
Refers to the GC doc in the blockOwnerDeletion API doc
2022-01-04 11:27:45 -08:00
Kubernetes Prow Robot
57675324e1
Merge pull request #107189 from jingxu97/dec/containerd
Change default runtime to containerd for Windows cluster
2022-01-04 11:27:37 -08:00
Kubernetes Prow Robot
a8bf004569
Merge pull request #107145 from danielhelfand/apipriorityfairnessbeta
Add comment on beta status for APIPriorityAndFairness feature gate
2022-01-04 11:27:29 -08:00
Kubernetes Prow Robot
abfbbe4dda
Merge pull request #107119 from hakman/remove_dockerless
Remove dockerless build tag and DockerLegacyService interface
2022-01-04 11:27:21 -08:00
Kubernetes Prow Robot
2036bf0ba3
Merge pull request #106856 from pmorie/cronjob-e2e-typo
conformance: correct typo for cronjob forbidconcurrent
2022-01-04 11:27:14 -08:00
Kubernetes Prow Robot
51cf2d12c5
Merge pull request #105955 from fenggw-fnst/work
Fix a typo in comment
2022-01-04 11:27:06 -08:00
Kubernetes Prow Robot
41f4fdb2f5
Merge pull request #105808 from yuanjize/master
Fix function comment typo
2022-01-04 11:26:58 -08:00
Kubernetes Prow Robot
28bda67fb2
Merge pull request #105721 from yxxhero/optimize_controllermanger_cobra_param
Optimize Cobra parameters of Controller Manager
2022-01-04 11:26:50 -08:00
Kubernetes Prow Robot
6d0913fb4d
Merge pull request #99329 from chymy/linkcheck-404
Fix link 404
2022-01-04 11:26:39 -08:00
Kubernetes Prow Robot
f9e4cfcf51
Merge pull request #107185 from ialidzhikov/doc/supported-values
Fix doc for leader-elect-resource-lock flag
2022-01-04 09:45:16 -08:00
Kubernetes Prow Robot
dafb3f5eb2
Merge pull request #105976 from ialidzhikov/fix/doc-string
Fix the doc string of GetOldObject func
2022-01-04 09:45:04 -08:00
Kubernetes Prow Robot
a599399468
Merge pull request #103036 from lsytj0413/fix-pod-update-err-msg
fix(*): display the diff as new-old
2022-01-04 09:44:52 -08:00
Shaun Crampton
8ac5e9b065 client-go: Clear the ResourceVersionMatch on paged list calls
API server rejects continuations with ResourceVersionMatch set.
2022-01-04 16:10:51 +00:00
Kubernetes Prow Robot
7dcad28ab0
Merge pull request #105800 from benluddy/apf-bootstrap-configuration-lister
Use a lister for bootstrap flowcontrol config objects.
2022-01-04 07:30:52 -08:00
yanghesong
4f6dc67ea0 remove runDockershim #97252 2022-01-04 22:43:09 +08:00
Kubernetes Prow Robot
69fa774e8d
Merge pull request #107177 from Iceber/partial-object-metadata-list
set RemainingItemCount to ParitalObjectMetadataList
2022-01-04 03:27:00 -08:00
Iceber Gu
45f52321e5 set RemainingItemCount to ParitalObjectMetadataList 2022-01-04 18:20:51 +08:00
Kubernetes Prow Robot
c7d57a01b7
Merge pull request #107295 from neolit123/1.24-kubeadm-add-scheme-to-cri-sockets
kubeadm: ensure CRI endpoints are managed with URL schemes
2022-01-03 23:02:59 -08:00
Kubernetes Prow Robot
42c391da29
Merge pull request #107235 from Nordix/deprecate-loadbalancerip
Deprecate Service.Spec.LoadBalancerIP
2022-01-03 18:39:00 -08:00
Lubomir I. Ivanov
39330c4278 kubeadm: ensure CRI URL scheme is present in the kubelet env file
During "upgrade node" and "upgrade apply" read the
kubelet env file from /var/lib/kubelet/kubeadm-flags.env
patch the --container-runtime-endpoint flag value to
have the appropriate URL scheme prefix (e.g. unix:// on Linux)
and write the file back to disk.

This is a temporary workaround that should be kept only for 1 release
cycle - i.e. remove this in 1.25.
2022-01-03 23:13:31 +02:00
Lubomir I. Ivanov
207556e057 kubeadm: make "upgrade node" include URL scheme in socket paths
The CRI socket that kubeadm writes as an annotation
on a particular Node object can include an endpoint that
does not have an URL scheme. This is undesired as long term
the kubelet can stop allowing endpoints without URL scheme.

For control plane nodes "kubeadm upgrade apply" takes
the locally defaulted / populated NodeRegistration and refreshes
the CRI socket in PerformPostUpgradeTasks. But for secondary
nodes "kubeadm upgrade node" does not.

Adapt "upgrade node" to fetch the NodeRegistration for this node
and fix the CRI socket missing URL scheme if needed in the Node
annotation.
2022-01-03 23:13:31 +02:00
Kubernetes Prow Robot
3bce0502aa
Merge pull request #107217 from Monokaix/used-arg-in-kubeadm/WaitForHealthyKubelet
Remove unused arg of kubeadm/WaitForKubeletAndFunc
2022-01-03 12:33:02 -08:00
pacoxu
7594f0ef90 kubeadm: detect runtime socket as URL format
- Update defaults for v1beta2 and 3 to have URL scheme
- Raname DefaultUrlScheme to DefaultContainerRuntimeURLScheme
- Prepend a missing URL scheme to user sockets and warn them
that this might not be supported in the future
- Update socket validation to exclude IsAbs() testing
(This is broken on Windows). Assume the path is not empty and has
URL scheme at this point (validation happens after defaulting).
- Use net.Dial to open Unix sockets
- Update all related unit tests

Signed-off-by: pacoxu <paco.xu@daocloud.io>
Signed-off-by: Lubomir I. Ivanov <lubomirivanov@vmware.com>
2022-01-03 21:15:03 +02:00
Kubernetes Prow Robot
2cd8ceb269
Merge pull request #106875 from warmchang/flag-cleanup
cleanup(apiserver): Correct the error message to not use the "--max-resource-write-bytes" & "--json-patch-max-copy-bytes" string.
2022-01-03 08:37:00 -08:00
Jan Safranek
0f9832d095 Fix PV name in unit test
Test 5-5 should use PV with "5-5"i in the name. It makes log analysys
much easier.
2022-01-03 15:20:12 +01:00
Kubernetes Prow Robot
7c013c3f64
Merge pull request #106200 from NikhilSharmaWe/betterOutputAutoscaling
Changed code to improve output for files under test/e2e/autoscaling
2021-12-29 16:30:49 -08:00
Luigi Tagliamonte
08448911ae add tests for new metric 2021-12-28 20:38:36 -08:00
Kubernetes Prow Robot
f5be5052e3
Merge pull request #106280 from nckturner/max-results
[AWS] Set max results if its not set
2021-12-28 10:47:56 -08:00
Lars Ekman
b5c1f3164b Update generated files 2021-12-27 17:35:28 +01:00
Lars Ekman
2dd8ae8fb0 Deprecate service.spec.LoadBalancerIP 2021-12-27 16:42:23 +01:00
Ricardo Katz
50015c2da6 fix nil pointer in create secret commands 2021-12-25 21:47:45 -03:00
Monokaix
eab74f15a5 Remove unused arg of kubeadm/WaitForKubeletAndFunc 2021-12-25 09:12:00 +08:00
Kubernetes Prow Robot
1df88a8a42
Merge pull request #107137 from crisboarna/feat/101172_windows-sync-cleanup
chore(kubectl_utils): remove windows specifc command addition for sync
2021-12-24 04:30:15 -08:00
Kubernetes Prow Robot
65ac7f09ec
Merge pull request #107209 from cjcullen/elastic2
Bump elasticsearch image to 7.16.2
2021-12-23 19:06:14 -08:00
Kubernetes Prow Robot
0fc6edeb1d
Merge pull request #106847 from cyclinder/log_the_payload
kube-proxy should log the payload when iptables-restore fails
2021-12-23 17:24:14 -08:00
CJ Cullen
282d178f7c Bump elasticsearch image to 7.16.2. 2021-12-24 01:05:40 +00:00
Chao Xu
5d7f209748 Refers to the GC doc in the blockOwnerDeletion API doc 2021-12-23 14:15:00 -08:00
Kubernetes Prow Robot
1d52f442ee
Merge pull request #106643 from cyclinder/addresses_in_endpointslice
fix: documenting that kube-proxy only use the first address in each endpoint
2021-12-23 10:42:29 -08:00
Paco Xu
fd099ffaf2 flake fix: remove the error handler for cronjob integration test 2021-12-23 16:50:12 +08:00
Kubernetes Prow Robot
f0dbc32ed9
Merge pull request #106853 from gnufied/disable-exp-backoff-volume-not-inuse
When volume is not marked in-use, do not backoff
2021-12-22 19:46:37 -08:00
cyclinder
97bd6e977d kube-proxy should log the payload when iptables-restore fails
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-12-23 09:50:56 +08:00
Kubernetes Prow Robot
a6299aa2ab
Merge pull request #107173 from mauriciopoppe/fix-snapshot-refactor
Fix order of commands in the snapshot tests for persistent volumes
2021-12-22 15:54:36 -08:00
Jing Xu
34c14949fc Change default runtime to containerd for Windows cluster
change default runtime to containerd for windows

Change-Id: I61949ae3687cddb7bfd00715a455ee5eed4da0db
2021-12-22 14:14:52 -08:00
ialidzhikov
3f35536e5b Fix doc for leader-elect-resource-lock flag
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-12-22 17:49:01 +02:00
cyclinder
8808366e09 fix: documenting that kube-proxy only use the first address in each endpoint
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-12-22 20:11:19 +08:00
Ciprian Hacman
a0abe5aa33 Clean up dockershim in tests
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2021-12-22 13:05:34 +02:00
Kubernetes Prow Robot
c75d254beb
Merge pull request #107095 from songlh/fixing-4
fixing three goroutine leaks in bounded_frequency_runner_test.go
2021-12-21 19:53:35 -08:00
Iceber Gu
e2bf6ca204 if the ok returned by RequestInfoFrom is false, the requestInfo is nil 2021-12-22 11:27:09 +08:00