Commit Graph

16074 Commits

Author SHA1 Message Date
Han Kang
731397086b remove deprecated metric and promote the replacement to STABLE 2022-05-31 09:53:28 -07:00
Davanum Srinivas
50bea1dad8 Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Patrick Ohly
991d848e34 logcheck: enable helper check
This is in preparation of converting code to contextual logging.
2022-05-31 08:07:37 +02:00
Patrick Ohly
7b8d711d02 json: clarify magic 100 constant
This addresses review feedback from
https://github.com/kubernetes/kubernetes/pull/108995#discussion_r837943366.
2022-05-31 08:07:37 +02:00
Maciej Szulik
f7d1eb7726 restmapper: re-try shortcut expander after not-found error 2022-05-30 13:09:22 +02:00
Kubernetes Prow Robot
4f851ebffb Merge pull request #110145 from sxllwx/fix/audit-union-var-closures
fix audit union loop variables in closures
2022-05-28 05:50:50 -07:00
Kubernetes Prow Robot
016a7bbc0b Merge pull request #110131 from stevekuznetsov/skuznets/stop-copying-metadata
customresource: stop shallow-copying metadata
2022-05-27 14:30:42 -07:00
Kubernetes Prow Robot
de449881fd Merge pull request #109892 from jlsong01/add_annotation_comments
clarify a comment on annotation key validation
2022-05-27 11:36:41 -07:00
Kubernetes Prow Robot
6c2265cdab Merge pull request #110246 from wojtek-t/fix_leaking_goroutines_2
Fix leaking goroutines in QuotaEvaluator
2022-05-27 07:45:07 -07:00
Wojciech Tyczyński
9d974e6e89 Fix leaking goroutines in QuotaEvaluator 2022-05-27 08:13:27 +02:00
Kubernetes Prow Robot
32c3fb3b78 Merge pull request #110227 from aojea/cleanup
Cleanup feature gate check for SelectorIndex
2022-05-26 14:09:55 -07:00
Antonio Ojea
209fb99f28 remove SelectorIndex field 2022-05-26 17:27:45 +02:00
Kubernetes Prow Robot
029b1bb8da Merge pull request #110207 from wojtek-t/clean_shutdown_managers
Clean shutdown of kcm, ccm and scheduler
2022-05-26 07:37:23 -07:00
Jian Zeng
fd0c15cce3 feat(kubectl): add debug profile applier
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2022-05-26 22:30:10 +08:00
Kubernetes Prow Robot
f9f9e7177a Merge pull request #84145 from bells17/fix-typo
Fix typo: type -> eventtype
2022-05-26 05:13:22 -07:00
Wojciech Tyczyński
fe3616cafb Clean shutdown of kcm, ccm and scheduler 2022-05-26 12:36:59 +02:00
Wojciech Tyczyński
55130ae2ab Make contextForChannel public 2022-05-26 12:35:58 +02:00
Kubernetes Prow Robot
cf314d689e Merge pull request #110162 from MikeSpreitzer/untwist-apf-metrics
Untwist apf metrics
2022-05-25 13:35:47 -07:00
Kubernetes Prow Robot
5432883490 Merge pull request #110130 from stevekuznetsov/skuznets/clean-up-crd-storage
customresouce: clean up the storage constructor
2022-05-25 13:35:35 -07:00
Kubernetes Prow Robot
e0dbea2443 Merge pull request #110026 from tkashem/graceful-test
apiserver: fix preshutdown hook behavior with graceful termination
2022-05-25 09:38:57 -07:00
Abu Kashem
9644edc321 fix preshutdown hook behavor with graceful termination 2022-05-24 13:21:07 -04:00
Kubernetes Prow Robot
114cdea709 Merge pull request #110079 from ash2k/dial-with-context
Always dial using a context
2022-05-24 08:52:17 -07:00
Mike Spreitzer
cd33c7cf22 Remove unhelpful pairing of members of read_vs_write_request_count_samples
Members are not used in (waiting,executing) pairs, so stopped
using the wrapper that adds such pairing.
2022-05-24 11:18:56 -04:00
Kubernetes Prow Robot
c3d550d4e7 Merge pull request #110101 from MikeSpreitzer/rename-observers
Give apf metrics abstractions more familiar names
2022-05-24 07:26:06 -07:00
Mike Spreitzer
a4c18fa7fc Rename observer.go to interface.go 2022-05-24 07:28:54 -04:00
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
Jefftree
d0bf411cc7 Prune defaults for CRD serving 2022-05-23 14:37:53 -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
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
1131fb95fc Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
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
Wojciech Tyczyński
f8211d7e44 Fix ResourceQuota admission shutdown 2022-05-23 12:34:50 +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
Abu Kashem
60e74a9ff7 client-go: fix backoff delay 2022-05-21 09:46:00 -04: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
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
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
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
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
ialidzhikov
b2fc44f3f0 Fix a typo
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-05-18 13:18:47 +03: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
eebfd7b574 Merge pull request #110102 from MikeSpreitzer/fix-test-numerators
Fix more initial numerators
2022-05-17 23:02:53 -07:00