wojtekt
6fc1d642b6
Fix metrics reporting in kube-apiserver
...
Kubernetes-commit: 3d2a80643aec08be1e50193aeed08aad0d7f886b
2020-10-14 17:34:33 +02:00
Kubernetes Publisher
968a41a8a7
Merge pull request #92459 from roycaihw/storage-version/manager
...
Add storageversion manager interface
Kubernetes-commit: 6d01c5a58996d1619ac049c2b3077274299eb2d0
2020-10-20 10:44:11 +00:00
Kubernetes Publisher
8dc7971548
Merge pull request #93901 from jpbetz/atomic-structs
...
Treat LabelSelectors as atomic by Server Side Apply to fix #92913
Kubernetes-commit: 90c9f7b3e198e82a756a68ffeac978a00d606e55
2020-10-04 00:09:15 +00:00
Kubernetes Publisher
196e9757a2
Merge pull request #95240 from apelisse/no-field-update-on-nop
...
Do not update managedFields timestamp when they don't change
Kubernetes-commit: 3005b6d767cc8f2d4e6ec558f8ee601a5ee4311e
2020-10-03 00:05:46 +00:00
Kubernetes Publisher
860e865715
Merge pull request #95012 from nodo/add-namespace-to-post-based-namespace-creation
...
Make the creation of namespace using POST and PATCH consistent
Kubernetes-commit: 5549a0d9bb1bc9d285487412e5440ee8a384e06a
2020-10-02 04:05:41 +00:00
Antoine Pelisse
d0b4a78e16
Do not update managedFields timestamp when they don't change
...
Kubernetes-commit: fedc0b7093e396aaf1fca7fd6f145a0f3cfd5c47
2020-10-01 10:53:16 -07:00
Kubernetes Publisher
fd42eacc6e
Merge pull request #95145 from wojtek-t/send_bookmarks_on_changes
...
Watch bookmarks may contain version of objects of other types
Kubernetes-commit: b9d2df810c89bde69cd790905ec937caf1c36d19
2020-09-29 20:04:29 +00:00
Kubernetes Publisher
fcb86defb8
Merge pull request #95148 from wojtek-t/graduate_indexes_to_ga
...
Graduate SelectorIndex to GA
Kubernetes-commit: a8e96c82de258e620572dc82464b40d163db6aa7
2020-09-29 16:18:23 +00:00
wojtekt
0a1c9314fa
Graduate SelectorIndex to GA
...
Kubernetes-commit: fea3042f1f84129ab1cb6e481bd51343061673b7
2020-09-29 14:06:41 +02:00
wojtekt
cdc93483b8
Watch bookmarks may contain version of objects of other types
...
Kubernetes-commit: 0bd8104809922aae504fc9be2e853650ecd17b8a
2020-09-29 12:27:20 +02:00
Kubernetes Publisher
e8e1ea4393
Merge pull request #95123 from lavalamp/fix-95064
...
fix goroutine that lives too long
Kubernetes-commit: 55be3c063a96a5358621e2aecba05f55cab08e71
2020-09-29 01:39:25 -07:00
Daniel Smith
7e305c53b5
fix goroutine that lives too long
...
Kubernetes-commit: 9a2e0fcb18bc9feb327122edc95a968a8d423af7
2020-09-28 10:50:47 -07:00
Kubernetes Publisher
3f80aac972
Merge pull request #94766 from sttts/sttts-healthz-name
...
apiserver: fix healthz vs. livez vs. readyz log output
Kubernetes-commit: f448dc54bd2f7f7e56debd97c2467cd1a5a3c9fa
2020-09-26 04:04:24 +00:00
Kubernetes Publisher
4626e73796
Merge pull request #94983 from Jefftree/update-netproxy
...
Bump konnectivity-client to v0.0.12
Kubernetes-commit: b39a9a943f56057ae96f69e88b61d60afb1e3b46
2020-09-26 04:04:22 +00:00
Kubernetes Publisher
e996d15d55
Merge pull request #94364 from wojtek-t/efficient_watch_resumption
...
Efficient watch resumption
Kubernetes-commit: 0f39af90ed39794ceea426aa0f77de67b1392308
2020-09-26 00:06:21 +00:00
Kubernetes Publisher
6f7a0a81fa
Merge pull request #94288 from LogicalShark/apiserver-selfreq
...
API server self request metric
Kubernetes-commit: 282ceef2cf6aecfd2383239eadacc58c354ae4b9
2020-09-25 00:04:09 +00:00
Kubernetes Publisher
eec9279056
Merge pull request #93247 from iotty/fix.govet
...
[k8s.io/apiserver/pkg/server/filters]: fixup go vet warning
Kubernetes-commit: 9b1d273c89e03e9a85f84b034dd97509ed144712
2020-09-25 00:04:08 +00:00
Marcus Alder
ab7c669cad
apiserver self request metric
...
Kubernetes-commit: 6f85e5c11179040b3618bcce9abe4e8f769323ad
2020-09-23 19:54:03 +00:00
Kubernetes Publisher
899cb1b459
Merge pull request #94872 from roycaihw/typo/fix-webhook-test-name
...
fix duplicate testcase names in TestValidateCachedClient
Kubernetes-commit: 299f6b7c60f8c9e0b029647152514a64d71522fe
2020-09-23 00:04:06 +00:00
Jefftree
e2902d36a1
Bump konnectivity-client to v0.0.12
...
Kubernetes-commit: 89d5adc050d8fce6dcc6480fdfd254d89a3d0ffb
2020-09-22 13:24:18 -07:00
Kubernetes Publisher
3a79dc9491
Merge pull request #94903 from tkashem/request-received-timestamp
...
Take into account the latency incurred in server filters
Kubernetes-commit: f5a0250800309017e667e82067d704b6ed28513a
2020-09-21 20:03:58 +00:00
Kubernetes Publisher
f65062cdff
Merge pull request #94803 from azush26/modify-bearertoken
...
Limit the max number of splitting.
Kubernetes-commit: 0c3286e13548ba31532e0af00abf1eb3f0c56ee3
2020-09-21 20:03:56 +00:00
Andrea Nodari
618f4b129a
Make the creation of namespace using POST and PATCH consistent
...
PATCH verb is used when creating a namespace using server-side apply,
while POST verb is used when creating a namespace using client-side
apply.
The difference in path between the two ways to create a namespace led to
an inconsistency when calling webhooks. When server-side apply is used,
the request sent to webhooks has the field "namespace" populated with
the name of namespace being created. On the other hand, when using
client-side apply the "namespace" field is omitted.
This commit aims to make the behaviour consistent and populates the
"namespace" field when creating a namespace using POST verb (i.e.
client-side apply).
Kubernetes-commit: 3cb510e33eecbdc37aad14f121396ccfbf5268cb
2020-09-21 12:13:12 +02:00
Kubernetes Publisher
530a2e2c2c
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
Kubernetes-commit: b86e725694e81b48ea36b11f647f28cf70a66210
2020-09-18 15:08:27 -07:00
Abu Kashem
50cce843c9
Take into account latency incurred in server filters
...
apiserver_request_duration_seconds does not take into account the
time a request spends in the server filters. If a filter takes longer
then the latency incurred will not be reflected in the apiserver
latency metrics.
For example, the amount of time a request spends in priority and
fairness machineries or in shuffle queues will not be accounted for.
- Add a server filter that attaches request received timestamp to the
request context very early in in the handler chain (as soon as
net/http hands over control to us).
- Use the above received timestamp in the apiserver latency metrics
apiserver_request_duration_seconds.
- Use the above received timestamp in the audit layer to set
RequestReceivedTimestamp.
Kubernetes-commit: d74ab9e1a4929be208d4529fd12b76d3fcd5d546
2020-09-18 16:46:07 -04:00
azush26
df032850ea
Add an unit test for requests including value after token
...
Kubernetes-commit: 367214dffdc070706011c6814cb2307749b0503f
2020-09-19 01:04:35 +09:00
Matthew Cary
cf59895ec0
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
Kubernetes-commit: 299a296c7a6e88b49c9d5e5c43749c5f2b7805e1
2020-09-18 00:44:39 +00:00
Haowei Cai
8622b05104
fix duplicate testcase names
...
Kubernetes-commit: c3f71ad5487844e4cdd01702d4df3ac8606ca397
2020-09-17 17:15:05 -07:00
Haowei Cai
07efe569d7
add a OWNERS file under storageversion
...
Kubernetes-commit: 184b4603692e0b497bd039e12c65461ae71e0993
2020-09-15 13:16:59 -07:00
azush26
c0d57defce
Limit the max number of splitting
...
Kubernetes-commit: bf516ab99c3c2ce2b4ad6d0acaf122a4d216cc2d
2020-09-15 23:04:57 +09:00
Dr. Stefan Schimanski
4cf3f7725b
apiserver: fix healthz vs. livez vs. readyz log output
...
Kubernetes-commit: 480b4c74b858a9caac0b33cb4d9a1ab30ae65cf4
2020-09-15 15:46:02 +02:00
wojtekt
c4fb001eda
Enable progress notify events in watchcache
...
Kubernetes-commit: a94fb5369d5e77b3fcafd1296bac072a1d6e13fe
2020-08-31 13:15:36 +02:00
wojtekt
e40efde837
Implement etcd3 progress-notify feature in etcd3 layer
...
Kubernetes-commit: 56e72841b6005740453828a9f4f7a9a1b9a831f6
2020-08-31 12:40:41 +02:00
wojtekt
a5000473c1
Pipe newFunc to etcd3 storage layer
...
Kubernetes-commit: fbd65a265a47ffe081aaac2f794a55034333d11d
2020-08-31 11:58:45 +02:00
Joe Betz
2c72507385
Tag LabelSelector with +structType=atomic
...
Kubernetes-commit: 8874bdf00402b55cf5ede88a5ba4dfc94e9f4399
2020-08-11 11:34:15 -07:00
Joe Betz
8aaa8b7cce
Bump to latest kube-openapi and SMD to pick up structType=atomic support
...
Kubernetes-commit: f298d549f60c9342abcff1ad17d8455cd62b19fb
2020-09-30 11:49:13 -07:00
Haowei Cai
276689a456
generated
...
Kubernetes-commit: c548d016d4907f613c063e73c181384552a3b88c
2020-07-29 14:38:10 -07:00
Zhou Peng
b07fe5362d
[k8s.io/apiserver/pkg/server/filters]: fixup go vet warning
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
Kubernetes-commit: 842cd8e315566388025f509edf563b20022922f6
2020-07-20 17:06:01 +08:00
Haowei Cai
63a8ee2ad7
add the storageversion.Manager interface
...
Kubernetes-commit: 48361711a50d634a676a63ccac177b46f94ffe3b
2020-06-23 23:55:38 -07:00
Matthew Cary
76fa8bebd1
update storageos vendor for FilteredDial change
...
Kubernetes-commit: 74dbf274d963d730491b64e89c60e9bb6212a9d5
2020-06-10 01:02:40 +00:00
Kubernetes Publisher
6f1910367b
Merge pull request #93214 from trashhalo/prefer-error
...
test: prefer NoError/Error over Nil/NotNil
Kubernetes-commit: 09b3f6dbb3224f32d28c81f330f303ac16ee2eae
2020-09-17 00:12:31 +00:00
Kubernetes Publisher
db2da9544d
Merge pull request #94773 from tkashem/etcd-object-count
...
count of etcd object should be limited to the specified resource
Kubernetes-commit: 9fdbf1cf89809763aa7b405a7e641d37f45d2e21
2020-09-15 23:48:36 +00:00
Kubernetes Publisher
c7456b3315
Merge pull request #93537 from timuthy/enhancement.move-resourcequota
...
Move ResourceQuota admission to k8s.io/apiserver lib
Kubernetes-commit: e7b9453972eccaa57d18dfb7024b017b97de0b26
2020-09-15 19:48:42 +00:00
Kubernetes Publisher
de4e75122a
Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
...
Do not allow manual changes to manageFields via subresources
Kubernetes-commit: 396dd2555d185bb613bb42e9f207682c7ed85910
2020-09-15 19:48:40 +00:00
Kubernetes Publisher
add1986a03
Merge pull request #94711 from jingyih/update_etcd
...
Bump etcd to dd1b699fc489
Kubernetes-commit: 3a42886dee904cbbbbc593705a64501ec3cb76d5
2020-09-15 09:18:58 +00:00
Abu Kashem
bd49a32a3f
count of etcd object should be limited to the specified resource
...
Currently count includes keys from different resource(s) if the keys
are a prefix of the specified resource/key.
Consider the following keys:
A: <storage-prefix>//foo.bar.io/machines
B: <storage-prefix>//foo.bar.io/machinesets
If we ask for the count of key A, the result will also include the
keys from key B since key B shares the same prefix as key A.
Append a separator to mark the end of the key, this will exclude all
other keys from a different resource that is a prefix of the specified
key.
Kubernetes-commit: 7e445867aa4d37a67591faf6e5508abaea69d216
2020-09-11 17:07:09 -04:00
jingyih
c47e522738
Update etcd to dd1b699fc489
...
Kubernetes-commit: 5ee8e8e9181eb45876e07ea4fe825283a5dc2794
2020-09-11 17:20:29 +08:00
Kubernetes Publisher
00267339c0
Merge pull request #94589 from p0lyn0mial/racy-serialize-object
...
fixes a data race in SerializeObject function
Kubernetes-commit: 425edbb397de02f872b01aa5dbe2079a3a3f2ff5
2020-09-09 13:24:53 +00:00
Kubernetes Publisher
678d99e614
Merge pull request #93087 from roycaihw/storage-version/move-types
...
Move the StorageVersions types to kube-apiserver
Kubernetes-commit: 5e95af8c7d9dbcb298bda2e713ba20a103401fe1
2020-09-09 01:26:52 +00:00
Lukasz Szaszkiewicz
ac3c7faf5d
deferredResponseWriter returns after calling the Close() method
...
previously all sorts of errors including a data race were possible because deferredResponseWriter resets the writer and returns it to the pool.
an attempt to write to a nil writer will lead to "invalid memory address or nil pointer dereference"
sharing the same instance of deferredResponseWriter might lead to "index out of range [43] with length 30" and "recovered from err index > windowEnd" errors
Kubernetes-commit: e6f98311d00f083c1b980ed7434d2e9769fa921f
2020-09-07 12:42:36 +02:00