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
Imran Pochi
61c4732c71
Revert "Merge pull request #104308 from ehashman/revert-103608-imran/e2e-lock-contention"
...
This reverts commit 9d09c9d246
This E2E test was reverted becuase the test was failing continously.
More on the issue here #104307
This commit re-reverts and brings back the LockContention test, with
the addition of [Serial] tag to the test.
2022-01-04 07:34:07 +05:30
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
houjun
de6fc49a99
pointer usage error
2022-01-02 13:55:53 +08:00
Paco Xu
c5d8354e0e
add "kubelet_volume_stat_cal_duration_seconds_bucket" VolumeStatCalDuration metrics for fsquato monitoring benchmark
2021-12-31 11:39:40 +08: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
cndoit18
601d02b90f
refactor(kubelet): use errors.Is(err, os.ErrProcessDone)
...
use errors.Is(err, os.ErrProcessDone) here and remove "process already finished" string comparison.
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2021-12-29 18:10:06 +08:00
Chok Yip Lau
d7ab8d442b
Remove generator dependency of expose.go
2021-12-28 23:48:10 -05: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
cyclinder
3ff8a86f20
GCEPD: fix incorrect return value in WaitForAttach
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-12-28 09:48:35 +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
Mengjiao Liu
4baf35f2f5
Add missing test cases for RunAsGroup
and SetRunAsGroup
methods
2021-12-24 17:13:45 +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
Elana Hashman
dbd50d9f50
Remove dynamic log sanitization fields from Kubelet config validation
2021-12-23 13:03:13 -08:00
Elana Hashman
55a1936f58
DEPRECATION: remove experimental dynamic log sanitization
2021-12-23 13:03:06 -08:00
Sergey Kanzhelev
4879b6d7db
synced up v1 and v1alpha2 CRI API comments and updated the readme
2021-12-23 19:14:39 +00: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
Arda Güçlü
ef39a89142
Remove deprecated discovery/ServerResources function
...
ServerResources function was deprecated and instead ServerGroupsAndResources
function is suggested.
This PR removes ServerResources function and move every place to use ServerGroupsAndResources.
2021-12-22 11:14:09 +03: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
Haowei Cai
8ddd030cd9
Fix examples of rules with wildcard
2021-12-21 16:46:54 -08:00
Mauricio Poppe
028de6a8cb
Fix order of commands in the snapshot tests for persistent volumes
2021-12-22 00:14:45 +00:00
Kubernetes Prow Robot
ba8410ea5f
Merge pull request #106821 from justinsb/use_non_deprecated_zone_selector
...
e2e: Stop using deprecated zone nodeSelector
2021-12-21 15:59:47 -08:00