Abu Kashem
6b8398318c
apiserver: refactor - move AuditBackend.Run out of NonBlockingRun
2022-05-17 12:01:28 -04:00
Wojciech Tyczyński
01cf641ffb
Cleanup CRD storage on shutdown
2022-05-17 15:25:39 +02:00
Kubernetes Prow Robot
c79b909de7
Merge pull request #110081 from wojtek-t/document_shutdown_sequence
...
Diagram for graceful shutdown
2022-05-17 06:20:39 -07:00
Kubernetes Prow Robot
ad2c625162
Merge pull request #110040 from astoycos/fix-panic
...
Fix additional panic
2022-05-17 06:20:27 -07:00
Kubernetes Prow Robot
ed522c7460
Merge pull request #110024 from stevekuznetsov/skuznets/split-list-test
...
storage: split paginated and non-paginated list tests, make them generic
2022-05-17 04:16:26 -07:00
Arda Güçlü
8fb423bfab
Set validate functions requiring no parameters for all commands
...
Validate function is used to validate command options and should not get
any additional parameter. To preserve compatibility across all
kubectl commands, this PR removes all parameters in validate functions.
2022-05-17 11:38:20 +03:00
Wojciech Tyczyński
1145582de3
Diagram for graceful shutdown
2022-05-17 07:57:07 +02:00
Karl Isenberg
9ace604b63
fix: reflector to return wrapped list errors
...
This fix allows Reflector/Informer callers to detect API errors using the standard Go errors.As unwrapping methods used by the apimachinery helper methods. Combined with a custom WatchErrorHandler, this can be used to stop an informer that encounters specific errors, like resource not found or forbidden.
2022-05-16 16:33:30 -07:00
Kubernetes Prow Robot
c84d0864dd
Merge pull request #110052 from brianpursley/completion-tests
...
Add unit tests for kubectl completion command
2022-05-16 12:32:17 -07:00
Kubernetes Prow Robot
9f460160c1
Merge pull request #110051 from brianpursley/apiresources-tests
...
Add unit tests for api-resources and api-versions commands
2022-05-16 10:34:19 -07:00
Andrew Stoycos
b7a37f5b3d
Fix additional panic
...
Ensure we take the incomingBlock Lock
in blockQueue to ensure there
is not any possiblity of sending on a
closed incoming channel.
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
2022-05-16 11:26:36 -04:00
Andrew Stoycos
2d614a182c
Write Unit test to imitate Panic
...
There was a race creating a panic with shutting down
an eventbroadcaster and it's associated watchers. This
test exposes it.
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
2022-05-16 11:26:25 -04:00
Kubernetes Prow Robot
81261d4693
Merge pull request #110029 from ash2k/ash2k/no-double-tls-validation
...
tls.Dial() validates hostname, no need to do that manually
2022-05-16 07:34:18 -07:00
Mikhail Mazurskiy
29dc50c149
tls.Dial() validates hostname, no need to do that manually
...
Handshake() is still needed for tls.Client() code path. See https://github.com/kubernetes/kubernetes/pull/109750
2022-05-16 23:26:15 +10:00
Kubernetes Prow Robot
45844049fc
Merge pull request #110062 from wojtek-t/fix_storage_object_count_tracker_registration
...
Avoid leaking StorageObjectCountTracker goroutine
2022-05-16 06:04:17 -07:00
Wojciech Tyczyński
564b376812
Avoid leaking StorageObjectCountTracker goroutine
2022-05-16 11:12:00 +02:00
FillZpp
85e3194cf6
Fix maxUnavailable of StatefulSet should not less than 1
...
Signed-off-by: FillZpp <FillZpp.pub@gmail.com>
2022-05-16 16:58:19 +08:00
Kubernetes Prow Robot
22a21f974f
Merge pull request #110063 from wojtek-t/cleanup_testing_namespaces_in_integration
...
Simplify Create/Delete-TestingNamespace functions
2022-05-16 01:50:18 -07:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Kubernetes Prow Robot
69cabe778b
Merge pull request #109733 from terloo/master
...
Unified v1/event NewREST function with other
2022-05-15 06:06:16 -07:00
terloo
8d09083101
Unified v1/event NewREST function with other
2022-05-15 12:44:59 +08:00
Kubernetes Prow Robot
dfee09a27d
Merge pull request #109651 from ash2k/ash2k/spdy-cleanup
...
Fix issues in SPDY RoundTripper
2022-05-14 21:00:16 -07:00
Kubernetes Prow Robot
8fb2b901ad
Merge pull request #110050 from cpanato/prombot
...
Update publishing-bot rules for Go 1.17.10
2022-05-14 14:57:17 -07:00
Brian Pursley
db9d5c1e77
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-14 16:29:28 -04:00
Kubernetes Prow Robot
8dc9bd3efb
Merge pull request #110021 from RaunakShah/updatecrd
...
Update snapshot CRDs to v6 in add on folder
2022-05-14 10:59:17 -07:00
Brian Pursley
a8ec462e6f
Add unit tests for completion command
2022-05-14 11:12:00 -04:00
Brian Pursley
13e0120bf0
Add unit tests for api-resources and api-versions commands
2022-05-14 11:06:49 -04:00
cpanato
0f553fcda2
Update publishing-bot rules for Go 1.17.10
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-05-14 15:25:44 +02:00
Kubernetes Prow Robot
b11ac8be28
Merge pull request #110047 from pacoxu/kubeadm-docker
...
kubeadm: container runtime is by default docker in kubelet v1.23
2022-05-14 05:01:17 -07:00
Paco Xu
ab51557a0c
kubeadm: container runtime is by default docker in kubelet v1.23
...
- can be removed in v1.26
2022-05-14 18:31:48 +08:00
Kubernetes Prow Robot
28ab02df19
Merge pull request #110043 from cpanato/go118
...
[GO] Update Go to 1.18.2
2022-05-14 00:37:18 -07:00
Raunak Pradip Shah
43bd5f8648
Add OneOf
2022-05-14 11:54:37 +05:30
cpanato
90871a0b2f
Update Go to 1.18.2
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-05-14 00:57:15 +02:00
Kubernetes Prow Robot
bbdcce6a9e
Merge pull request #109880 from Jefftree/patch-4
...
Remove warning log for crd merging
2022-05-13 15:31:54 -07:00
Kubernetes Prow Robot
3441850891
Merge pull request #109987 from gnufied/fix-ephemeral-volume-expansion
...
Fix resizing of ephemeral volumes
2022-05-13 14:24:06 -07:00
Kubernetes Prow Robot
00f829b352
Merge pull request #109824 from my-git9/kubectlurl
...
update kubectl doc url
2022-05-13 14:23:55 -07:00
Kubernetes Prow Robot
47bb8c6d0c
Merge pull request #108777 from pjo256/recursive-rollout-status
...
feat(kubectl rollout): support multiple resources for rollout status
2022-05-13 13:15:55 -07:00
Jefftree
fad5353ef8
Integration test for openapi scale & status
2022-05-13 11:45:31 -07:00
Kubernetes Prow Robot
30adcd0b6c
Merge pull request #110025 from stevekuznetsov/skuznets/skuznets-reviews-storage
...
apiserver/storage: add myself to the reviewers list
2022-05-13 08:52:01 -07:00
Kubernetes Prow Robot
f7857f0846
Merge pull request #109830 from AllenZMC/fix_test
...
fix defer in loop, maybe resource leak
2022-05-13 08:51:49 -07:00
Steve Kuznetsov
162450c01c
storage: move some list tests to generic package
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-13 07:41:50 -07:00
Kubernetes Prow Robot
1a6adee3d6
Merge pull request #109753 from matthyx/109577
...
do not install docker with curl
2022-05-13 07:33:49 -07:00
Takashi Kusumi
187af7781a
Fix cluster IP allocator metrics
2022-05-13 22:33:30 +09:00
Matthias Bertschy
d42321dc05
recommend containerd instead of docker, cleanup
2022-05-13 15:25:15 +02:00
Kubernetes Prow Robot
9720d130e4
Merge pull request #110030 from wojtek-t/clean_shutdown_2
...
Minor cleanups in integration test shutdown
2022-05-13 03:43:48 -07:00
Wojciech Tyczyński
492e7111a0
Minor cleanup of apply tests
2022-05-13 11:37:22 +02:00
Wojciech Tyczyński
89549142c0
Stop leaking apiserver in tracing test
2022-05-13 09:47:24 +02:00
Kubernetes Prow Robot
9d85e18ec0
Merge pull request #110022 from neolit123/1.25-handle-kubelet-flags-without-dockershim
...
kubeadm: perform dockershim cleanup for 1.25
2022-05-13 00:14:00 -07:00
Kubernetes Prow Robot
340ba56567
Merge pull request #109989 from tallclair/image-type
...
Use typed ImageID for imageutils images
2022-05-13 00:13:48 -07:00
Steve Kuznetsov
0d616946c0
apiserver/storage: add myself to the reviewers list
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-12 15:40:45 -07:00