Dario Tranchitella
0477735c3a
fix(docs): wrong comment block for ResolveEndpoint function
...
Kubernetes-commit: 01c7559856f6c81d0deb7d042c06bee15be65527
2022-09-06 14:38:30 +02:00
Li Bo
d334d385d8
enhance priority-level dumping by adding total requests of dispatched,timed out and rejected
...
Kubernetes-commit: c0bb425d8f3de4bd3468db9ba83962b777c6331b
2022-09-06 20:06:04 +08:00
Li Bo
ce20ca24cd
sort by PriorityLevel Configuration name when dumping priority levels
...
Kubernetes-commit: 20b5308c6c1ab367aee4ee1cc0437be5a61d6138
2022-09-06 21:59:50 +08:00
Abirdcfly
487ade9f5d
go1.19: change some atomic.Value to atomic.Bool
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Kubernetes-commit: 1d631f7eef4db32afe23460843c4084ed3a3f6bd
2022-09-06 17:13:44 +08:00
viveksahu26
6cb2fda0ab
fix warnings or linter errors
...
Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com>
Kubernetes-commit: 386bc4a7fa3e975cb247d300fdc5ad1b14a15605
2022-09-05 19:10:43 +05:30
Kubernetes Publisher
a4ec96bb5a
Merge pull request #112112 from alexzielenski/aggregated-discovery-feature-gate
...
Aggregated Discovery: add feature gate
Kubernetes-commit: e7192a49552483dcaa2ec0019315be192d83d4b5
2022-09-03 02:42:05 +00:00
Kubernetes Publisher
9bf92e0817
Merge pull request #112199 from pohly/klog-update
...
dependencies: update to klog v2.80.0
Kubernetes-commit: bacd6029b3bac1dbc468b0cc2bc5770bef671af2
2022-09-02 18:47:29 +00:00
Patrick Ohly
6b97d82896
dependencies: update to klog v2.80.0
...
Contains one bug fix in the code path for formatting of objects that support
LogMarshal.
Kubernetes-commit: 1bc3bde128463cdc6d55d5d222f489e8eda5eeb7
2022-09-02 08:05:47 +02:00
Mike Spreitzer
3419387b18
Call queueSet::boundNextDispatchLocked enough
...
Fix the one path where boundNextDispatchLocked was not being called
after modifying a queue.
Also check for negative work in a request.
These are motivated by
https://github.com/kubernetes/kubernetes/issues/112169 but I do not
have a way to reproduce it and so can not check that these changes
actually remove that symptom. But these changes are good anyway.
Kubernetes-commit: 6ee93e2cee695203a6ce4935da1b9a807b624260
2022-09-01 22:54:53 -04:00
xueqzhan
9d6934f8fa
Add DisableAnonymous to DelegatingAuthenticationOptions
...
Kubernetes-commit: 5619c71eb0b9fae13c831d92797da9427094518f
2022-09-01 11:58:51 -04:00
Kubernetes Publisher
0558eeb9ab
Merge pull request #112063 from aojea/generate_name
...
Initialize Name earlier in the Create process: GenerateName
Kubernetes-commit: 91aea40365db9d1c057fe689b9edfa42198df208
2022-09-01 02:43:34 +00:00
Kubernetes Publisher
c94163d50f
Merge pull request #112129 from pohly/e2e-ginkgo-report-after-each
...
e2e: suppress too verbose output
Kubernetes-commit: d0e413e86d150e0d4638ce306ca3fd437fe0b763
2022-08-31 18:47:01 +00:00
Harsha Narayana
1da54ec21a
kmsv2: enable logging for kmsv2 enc/dec operations
...
Kubernetes-commit: 79d741f1f8efcfc75cecd22898c7b6b689449f0a
2022-08-31 22:08:55 +05:30
Mike Spreitzer
2c528b2e56
apiserver: add solver for APF concurrency rebalancing
...
Kubernetes-commit: b2f69fb88772be64504e5c8e36aba4a0ffb4beef
2022-08-30 22:34:16 -04:00
Kubernetes Publisher
48405445f0
Merge pull request #111917 from logicalhan/request-sizes
...
Add request body size metric for the write path.
Kubernetes-commit: cdbac6f27bd08e06b70e5ad9b11402cfe738b8d5
2022-08-30 22:42:18 +00:00
Patrick Ohly
86f218fdac
dependencies: update to ginkgo v2.1.6 and gomega v1.20.1
...
Ginkgo v2.1.6 adds ginkgo.SuppressProgressReporting which is needed
to suppress too verbose output each time the ReportAfterEach of the custom
progress reporter is invoked.
Kubernetes-commit: 311144fb3e61dabdbcd48d164dc80716b5ba5a73
2022-08-30 19:33:50 +02:00
Alex Zielenski
d46c86b62b
Update kube_features.go
...
Kubernetes-commit: 9dab9f3e28652b823d0589d127f84ba901ae4c65
2022-08-30 09:06:29 -07:00
Alex Zielenski
4c7c0de421
update comments
...
Kubernetes-commit: 92fac4ab8af1e90fc21163ef474c9094573b4ebd
2022-08-30 09:04:06 -07:00
Alexander Zielenski
b0ba338767
add aggregated discovery feature gate
...
Kubernetes-commit: 7b54c492d9586a8c979686795283324b272ad0c6
2022-08-29 16:21:23 -07:00
Monis Khan
8d68e6f323
Load encryption config once
...
This change updates the API server code to load the encryption
config once at start up instead of multiple times. Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps. This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: f507bc255382b2e2095351053bc17e74f7100d35
2022-08-29 17:25:48 -04:00
Monis Khan
c602291fa1
encryption config: no-op refactor to prepare for single loading
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: db850931a8699e780dd794e1763fd0e54b4239b5
2022-08-29 17:25:48 -04:00
Antonio Ojea
1239036585
rate limit /healthz etcd healthchecks
...
return the last request error, instead of last error received
The rate limit allows 1 event per healthcheck timeout / 2
Kubernetes-commit: 510a85c53a5138babb1650fadd328e6f34baa03b
2022-08-29 11:09:58 +02:00
HaoJie Liu
e1af448867
test: use bytes.Buffer.String
...
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
Kubernetes-commit: f55d658c1c8b4c59dcb33bd07285e62344ef0186
2022-08-29 15:45:20 +08:00
Antonio Ojea
d2581bb0e0
fix etcd unit tests
...
stop leaking goroutines
reduce etcd test duration
Kubernetes-commit: dd6d3d95cdeb0e165e8365212d85d0f3b972d3e8
2022-08-28 23:13:45 +02:00
Antonio Ojea
fb26cb4f0c
don't serialize etcd healthchecks
...
Kubernetes-commit: 5a67248115ec0bc762c0351a73810117ac0bb814
2022-08-29 17:57:01 +02:00
Kubernetes Publisher
edc3b6f28e
Merge pull request #112064 from aojea/dryrun_cleanup
...
Dryrun cleanup
Kubernetes-commit: 1959fe1b94ed6ce0e2d15b46cb394fcff042d666
2022-08-27 14:42:11 +00:00
Antonio Ojea
852f0a02d4
Initialize Name (GenerateName) earlier in the Create process
...
Kubernetes-commit: af9d36f9310bc3c21791bf17470a667b690573b0
2022-08-26 13:20:43 +02:00
Antonio Ojea
89fb3670f4
test rest error generate name conflict
...
Kubernetes-commit: 20d190ec2ae90bc521e7342821a3a4301fe573af
2022-08-26 13:20:06 +02:00
Antonio Ojea
ea69e5d51c
remove DryRun feature gate checks
...
Kubernetes-commit: a1bfb76458a219577884d312ceb93eb1bb3f7e39
2022-08-26 11:33:56 +02:00
Kubernetes Publisher
be4b975562
Merge pull request #112052 from tosi3k/bump-client-golang
...
Bump prometheus/client_golang to v1.13.0
Kubernetes-commit: 8ccd03226f81573b91550f21c6b8d63f65e7c2f1
2022-08-26 10:46:16 +00:00
Kubernetes Publisher
e1264ccc2b
Merge pull request #112042 from ncdc/fix-etcd-unstructured-metrics
...
etcd3: include GroupResource in logs/metrics
Kubernetes-commit: a14fc3d7a201514d7796616c113c75863629a997
2022-08-25 22:26:11 -07:00
Antoni Zawodny
1900528803
Bump prometheus/client_golang to v1.13.0
...
Kubernetes-commit: f78e7a2b19fe275b7cb43c01099366c52545e4d1
2022-08-26 05:40:17 +02:00
Andy Goldstein
8587d29223
etcd3: include GroupResource in logs/metrics
...
Use GroupResource instead of object reflection when recording the
following metrics:
- etcd_request_duration_seconds
- etcd_bookmark_counts
Add GroupResource to logs and traces where only reflection-based typing
was previously used.
Both of these changes allow us to disginguish between different CRDs,
all of which are represented as *unstructured.Unstructured.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
Kubernetes-commit: 305fa2add60ad507417304d865f001006d5175fe
2022-08-25 13:55:55 -04:00
Kubernetes Publisher
cbed4dcffc
Merge pull request #111807 from ncdc/watch-cache-unstructured-details
...
Watch cache: use resource.group for object type in log messages and metrics
Kubernetes-commit: 2b4e85024cbfacc25df9e62c1190804355c6d8fd
2022-08-25 18:45:18 +00:00
Kubernetes Publisher
4a6f3fc32e
Merge pull request #112024 from cndoit18/remove-redundant-judgment
...
style: remove redundant judgment
Kubernetes-commit: bc9f48b84187e6fd9ba5b828a449893d4569e4c6
2022-08-25 18:45:16 +00:00
Alexander Zielenski
c5a28f5509
expose FieldsToSet and SetToFields
...
Kubernetes-commit: a338fff435c35a4da2556a8f4c4ab059c98e909c
2022-08-24 10:03:16 -07:00
Han Kang
ce7b4d6e8c
Add request body size metric
...
Change-Id: Ica5d9b5457d4f844c4500b2c05b2f0631c27454c
Kubernetes-commit: 43c95cbf0682895cf5bb79452b1f011123ac4513
2022-08-24 09:15:23 -07:00
Han Kang
270d177e30
add metric and test
...
Change-Id: Ic2bcf39caef791b2e13448a97d2c3203ed1d94b9
Kubernetes-commit: 07020ab42e8f1a2e9d6fe4969c01d0f971324ae1
2022-08-24 08:54:51 -07:00
Abirdcfly
b1f0ff0536
cleanup: delete unused AuditDynamicOptions in apiserver
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Kubernetes-commit: f16f9100e5761b5c579a81c1d5411f8a2fba20c4
2022-08-24 14:30:04 +08:00
Monis Khan
70b4742ce2
kms: fix go routine leak in gRPC connection
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: 4e68e9b5ad70ae074b3fb20f0fb2ba25d0792274
2022-08-24 01:51:19 +00:00
Alexander Zielenski
d47448c9bd
dont expose internal methods in implementatoin
...
Kubernetes-commit: fe2b5d00f2c1f16636638acd10b8d640e6de22c9
2022-08-23 16:12:47 -07:00
Anish Ramasekar
c027ae3881
Add staging directory for kms
...
- Moves kms proto apis to the staging repo
- Updates generate and verify kms proto scripts to check staging repo
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Kubernetes-commit: c3794e2377016b1c18b1dcb63dc61d686c8ebcbf
2022-08-23 20:22:09 +00:00
Alexander Zielenski
d0e18dcd99
add function to upgrade managedfields CSA to SSA
...
Kubernetes-commit: 27cd307e23df3a2d508d52ff10ac8f46bf3bcea3
2022-08-22 16:42:18 -07:00
sanwishe
cb73680ff8
fix etcd compaction doc
...
Kubernetes-commit: 8a013b36f3af870aad85654cb317366dc7831cb0
2022-08-17 02:35:16 +00:00
kkkkun
fc3eec104b
Cleanup reportedVerb only from
...
Kubernetes-commit: 42f72a3fe9dc27c0b0f10fd7dc4ab4cb6f901314
2022-08-14 13:53:25 +08:00
Tim Hockin
b304fee293
Clarify a few validation messages
...
Kubernetes-commit: 6d4241fe5dc7341e3207b8ab96513ab1ddeae8a2
2022-08-12 12:33:41 -07:00
Andy Goldstein
7eb011f596
watch cache: metrics: objectType -> group resource
...
Use the group resource instead of objectType in watch cache metrics,
because all CustomResources are grouped together as
*unstructured.Unstructured, instead of 1 entry per type.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
Kubernetes-commit: d08b69e8d35a5aa73a178c508f9b0e1ad74b882d
2022-08-11 15:51:21 -04:00
Andy Goldstein
ecf3a57374
watch cache: log GroupResource, not objectType
...
All CustomResources are treated as *unstructured.Unstructured, leading
the watch cache to log anything related to CRs as Unstructured. This
change uses the schema.GroupResource instead of object type for all type
related log messages in the watch cache, resulting in distinct output
for each CR type.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
Kubernetes-commit: 397533a4c2df9639ff4422c907d06fae195a1835
2022-08-11 15:45:04 -04:00
Tim Allclair
8a252ba686
More useful audit error logs
...
Kubernetes-commit: 8924d0e8b6d185eef8794f9144c321e2f4a0adae
2022-08-04 15:17:13 -07:00
cndoit18
902be89708
style: remove redundant judgment
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
Kubernetes-commit: ec43037d0f57fdfc2fdc4960fdb8a7e31ac79fae
2022-07-29 18:25:05 +08:00