Commit Graph

108564 Commits

Author SHA1 Message Date
Mikhail Mazurskiy
2d62c57533 Always dial using a context 2022-05-24 11:51:08 +10:00
Kubernetes Prow Robot
fdb2d54475
Merge pull request #108210 from jlsong01/update_kubectl_warning
coordinate the kubectl warning style
2022-05-23 15:57:09 -07:00
Mike Spreitzer
7d64a93a14 Give apf metrics abstractions more familiar names
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
David Eads
566394467e add readyz handling to netexec 2022-05-23 14:26:09 -04:00
Kubernetes Prow Robot
31a10245d6
Merge pull request #110058 from glebiller/managed-fields-time
Update managedFields time when field value is modified
2022-05-23 10:32:02 -07:00
Kubernetes Prow Robot
aa49dffc7f
Merge pull request #110148 from wojtek-t/metrics_recorder_shutdown
Clear shutdown of scheduler metrics recorder
2022-05-23 07:18:15 -07:00
Kubernetes Prow Robot
1131fb95fc
Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
Kubernetes Prow Robot
cfd69463de
Merge pull request #109975 from wojtek-t/cleanup_repair_controllers
Cleanup portallocator/ipallocator interfaces
2022-05-23 06:08:01 -07:00
acumino
a86b7ad8c5 Cleanup release note 2022-05-23 17:17:51 +05:30
jlsong01
272e245f06 add a warning printer in cli-runtime to coordinate warning style
modified:   staging/src/k8s.io/kubectl/pkg/cmd/auth/auth.go
2022-05-23 19:10:15 +08:00
Kubernetes Prow Robot
e9f1c9cc7c
Merge pull request #110138 from wojtek-t/fix_leaking_goroutines_in_kubelet_test
Fix leaking goroutines in kubelet integration test
2022-05-23 04:06:01 -07:00
Wojciech Tyczyński
f8211d7e44 Fix ResourceQuota admission shutdown 2022-05-23 12:34:50 +02:00
Wojciech Tyczyński
b5550a3452 Cleanup portallocator/ipallocator interfaces 2022-05-23 12:19:24 +02:00
Wojciech Tyczyński
0d41d2921e Fix leaking goroutines in kubelet integration test 2022-05-23 11:50:29 +02:00
Kubernetes Prow Robot
9997897f44
Merge pull request #110100 from tkashem/client-go-backoff-fix
client-go: fix backoff delay
2022-05-22 23:26:01 -07:00
Wantong Jiang
93692ef57d enhance assertions in test/e2e/common/node 2022-05-23 00:39:09 +00:00
gkarthiks
1fd959e256 refactor: serviceNameString to svcptNameString
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: svc port name variable #108806

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: rename struct for service port information to servicePortInfo and fields for more redability

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

fix: drop chain rule

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2022-05-22 03:31:00 -07:00
sanposhiho
bbd5f19497 Delete non-need AddUnschedulableIfNotPresent in e2e 2022-05-22 06:54:49 +00:00
Abu Kashem
60e74a9ff7
client-go: fix backoff delay 2022-05-21 09:46:00 -04:00
Kubernetes Prow Robot
fbb5717279
Merge pull request #110069 from FillZpp/fix-statefulset-maxunavailable-less-than-one
Fix maxUnavailable of StatefulSet should not less than 1
2022-05-20 16:50:12 -07:00
Kubernetes Prow Robot
6dc592e347
Merge pull request #108787 from 249043822/cadvisor_stat_provider_filter_0
filter out terminated containers in cadvisor_stats_provider
2022-05-20 16:50:00 -07:00
Wojciech Tyczyński
7060953b92 Clear shutdown of scheduler metrics recorder 2022-05-20 20:23:29 +02:00
Kubernetes Prow Robot
0f8b0e14ae
Merge pull request #110141 from chymy/kubeadm-remove-imagespull
kubeadm: remove unused ImagesPull
2022-05-20 03:45:12 -07:00
scott
85b027e6fa fix audit union loop variables in closures 2022-05-20 17:51:25 +08:00
Kubernetes Prow Robot
5debaee45e
Merge pull request #110132 from tkashem/refactor-test
apiserver: improve graceful termination tests
2022-05-19 23:41:13 -07:00
Kubernetes Prow Robot
3308ce1caf
Merge pull request #110137 from neolit123/1.25-update-master-label-taint
kubeadm: cleanup OldControlPlaneTaint from unit tests
2022-05-19 22:05:13 -07:00
chymy
525b8cc4b2 kubeadm: remove unused ImagesPull
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-05-20 10:49:52 +08:00
Kubernetes Prow Robot
4ab90ccebb
Merge pull request #109719 from stlaz/e2e_nodeauthn_nosasecret
auth e2e: node_authn test: don't expect a SA secret
2022-05-19 15:13:53 -07:00
Kubernetes Prow Robot
e34f51e9b2
Merge pull request #110134 from mk46/crictl_env_parse
kubeadm: Parse ENV vars to crictl command
2022-05-19 14:04:05 -07:00
Kubernetes Prow Robot
ccaf683b9f
Merge pull request #110010 from deads2k/remove-serve-by-default-legacy
remove enabled by default beta resources that have been removed
2022-05-19 14:03:54 -07:00
Abu Kashem
f28710bc46
apiserver: refactor graceful termination test 2022-05-19 15:55:27 -04:00
Guillaume Le Biller
f681821fcf
Update managedFields time when value is modified 2022-05-19 21:08:31 +02:00
Lubomir I. Ivanov
9c68116461 kubeadm: cleanup OldControlPlaneTaint from unit tests
The OldControlPlaneTaint taint (master) can be replaced
with the new ControlPlaneTaint (control-plane) taint.

Adapt unit tests in markcontrolplane_test.go
and cluster_test.go.
2022-05-19 22:00:39 +03:00
Kubernetes Prow Robot
6ca849f1f2
Merge pull request #109835 from cici37/celUpdate
Use CEL EagerlyValidateDeclarations to improve compilation performance
2022-05-19 11:35:53 -07:00
Manish Kumar
58cc7e7d43 Parse ENV vars to crictl command 2022-05-19 21:53:50 +05:30
Kubernetes Prow Robot
32773d61c4
Merge pull request #110129 from wojtek-t/fix_notify_signal
Fix stop signal to drained signal in genericapiserver config
2022-05-19 09:21:32 -07:00
Kubernetes Prow Robot
a608fba48c
Merge pull request #110055 from brianpursley/vol-limit-flake
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-19 09:21:20 -07:00
Steve Kuznetsov
6e6ec6c0ee
customresource: stop shallow-copying metadata
We no longer mutate anything in the genericregistry.Store, and the
self-link is deprecated, unset and not persisted in etcd. There is no
need to do the shallow-copies of metadata any longer.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-19 08:29:02 -07:00
Steve Kuznetsov
37bb0679aa
customresouce: clean up the storage constructor
The distinction between Storage and REST was lost when the constructor
for the latter began to do almost but not all of the former. No other
callers exist for newREST(), so merging the constructors allows us to be
more clear with what we're constructing and keeps us from
shallow-copying the genericregistry.Store every time even when no status
subresource is requested.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-19 08:26:09 -07:00
Kubernetes Prow Robot
b215a8949a
Merge pull request #108746 from deads2k/proof-2
Handle panic during validating admission webhook admission
2022-05-19 07:11:21 -07:00
Wojciech Tyczyński
b56491e6cf Fix stop signal to drained signal in genericapiserver config 2022-05-19 08:09:56 +02:00
jlsong01
d0353e3214 clarify a comment on annotation key validation
Update staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go

Co-authored-by: Daniel Smith <dbsmith@google.com>
2022-05-19 09:31:13 +08:00
David Eads
d412bf92b3 Handle panic during validating admission webhook admission
Validating admission webhook evaluation can fail, if uncaught this
crashes a kube-apiserver.  Add handling to catch panic while preserving
the behavior of "must not fail".
2022-05-18 14:49:55 -04:00
Kubernetes Prow Robot
92285fd74e
Merge pull request #110111 from neolit123/1.25-update-master-label-taint
kubeadm: remove RemoveOldControlPlaneLabel
2022-05-18 09:54:54 -07:00
David Eads
8d5360ccbc remove enabled by default beta resources that have been removed 2022-05-18 09:37:42 -04:00
Lubomir I. Ivanov
80e5bcae9b kubeadm: remove RemoveOldControlPlaneLabel
The function is no longer used and was missed in a
1.25 cleanup PR.
2022-05-18 15:42:08 +03:00
Kubernetes Prow Robot
a1c8e9386a
Merge pull request #110090 from wojtek-t/shutdown_broadcaster_in_controllers
Fix event broadcaster shutdown in multiple controllers
2022-05-18 03:38:53 -07:00
Kubernetes Prow Robot
b1aa1bd308
Merge pull request #110096 from tkashem/graceful-new-signal
apiserver: add lifecycle signal for preshutdown hook
2022-05-18 00:53:06 -07:00
Kubernetes Prow Robot
84c8afeba3
Merge pull request #110095 from neolit123/1.25-update-master-label-taint
kubeadm: cleanup the "master" taint on CP nodes during upgrade
2022-05-18 00:52:54 -07:00
Kubernetes Prow Robot
eebfd7b574
Merge pull request #110102 from MikeSpreitzer/fix-test-numerators
Fix more initial numerators
2022-05-17 23:02:53 -07:00