Kubernetes Publisher
b7569257b2
Merge pull request #102872 from barkbay/client/fix-discovery-error
...
Return StatusError 404 in fake client when resource is not found
Kubernetes-commit: f8023d60f2c30836154e7f7a294cfbe9eb8d3e8a
2021-08-06 20:17:05 +00:00
Kubernetes Publisher
0f5acb8c39
Merge pull request #103917 from aojea/slow_handlers
...
client-go: deltaFIFO trace slow handlers
Kubernetes-commit: ec663ada4be14d0afd45e0414b8711d4380ec289
2021-08-06 00:06:00 +00:00
Kubernetes Publisher
fa98c04850
Merge pull request #103657 from dgrisonnet/fix-event-doc
...
Update Events version in the documentation of the events package
Kubernetes-commit: 7e99f3d7490d11438b9834a7bd6b0e8b7eb0bec1
2021-08-05 08:05:52 +00:00
Kubernetes Publisher
2d8e761048
Merge pull request #103564 from kevindelgado/unstr-extr-poc
...
ExtractItems for unstructured apply configurations
Kubernetes-commit: 0a704f9e1f6685f3ae39114435d23593a900e74c
2021-08-05 08:05:51 +00:00
Kubernetes Publisher
3c86d4a920
Merge pull request #100406 from tomkukral/retry-doc
...
fix typo in retry doc
Kubernetes-commit: bf22025950c0af15f3bbf92f3ff085dbe5b087a7
2021-08-05 04:05:53 +00:00
Tim Hockin
bcf88f084d
Update golang.org/x/time/rate ( #104014 )
...
* Add failing test case
* Update golang.org/x/time/rate
* Call update-internal-modules from update-vendor
Kubernetes-commit: 09dc055984e9532f29f37acae7aea7a979ded764
2021-07-30 02:27:36 +00:00
Kevin Delgado
dfebd379cf
fix boilerplate and staticcheck
...
Kubernetes-commit: 3628065b455f17cf3da5a5021c9603f89daf20bc
2021-07-27 22:31:38 +00:00
Kevin Delgado
ba2f26324b
fix vendor
...
Kubernetes-commit: 85bc3c4f857090899e82eb2c7c3f6aebc9f4eeaf
2021-07-27 21:23:49 +00:00
Kevin Delgado
d4454993f4
remove apiserver impor from client-go
...
Kubernetes-commit: af11c4ac9be74115dfd35ce6f18cfa0440fc3458
2021-07-27 20:46:40 +00:00
Kevin Delgado
10ec231914
wrap extractor errors
...
Kubernetes-commit: 479e2ae307c0ca7e0a826e54df6bcc7676445e35
2021-07-27 01:25:03 +00:00
Antonio Ojea
c63d830a92
client-go: deltaFIFO trace slow handlers
...
If the informers handlers are slow processing the objects, the deltaFIFO
blocks the queue and the streamWatchers can not add new elements to the
queue, creating contention and causing different problems, like high
memory usage.
The problem is not easy to identify from a user perspective, typically
you can use pprof to identify a high memory usage on the StreamWatchers
or some handler consuming most of the cpu time, but users should not
have to profile the golang binary in order to know that.
Metrics were disabled on the reflector because of memory leaks, also
monitoring the queue depth can't give a good signal, since it never goes high
However, we can trace slow handlers and inform users about the problem.
Kubernetes-commit: d38c2df2c4b945bcf1f81714fc6bfd01bbd0f538
2021-07-26 16:00:31 +02:00
Kevin Delgado
b5bb80748a
Revert caching in favor of simple ttl
...
Kubernetes-commit: 1122091b065b5ce37a93b1048174acaff243bf74
2021-07-21 22:57:57 +00:00
Kevin Delgado
784e3fbb2f
remove commented out code
...
Kubernetes-commit: 53582a0104fb88aacb5f9512e60136e59fc25f8c
2021-07-20 21:59:37 +00:00
Kevin Delgado
305b0bc3db
Address PR feedback around gvk parser generation ergonomics
...
Kubernetes-commit: c9e97de46bb76cf868fcb172f286127b9894fbe9
2021-07-20 21:29:02 +00:00
Kubernetes Publisher
ac207faedf
Merge pull request #103747 from mattcary/noapi
...
Revert #99378
Kubernetes-commit: 7303b2ce4e0de8d97e677eee880fa12b4d4939c1
2021-07-20 14:27:25 +00:00
Kevin Delgado
1b1afde6e1
Restructure caching logic
...
Kubernetes-commit: 9b9925f56db9f483e838606b632064b13c84a2bb
2021-07-19 22:06:43 +00:00
Kevin Delgado
6728ebaf13
comments
...
Kubernetes-commit: 7cb18e84f1396338ebea825677de772a862a2743
2021-07-19 20:50:50 +00:00
Kevin Delgado
f316b7b5f5
rename cache, add to integration test
...
Kubernetes-commit: 604db6eb2ada446e78152685943253455b5ec888
2021-07-19 20:04:27 +00:00
Kevin Delgado
4389b4f36a
Add HasOpenAPISchemaChanged to DiscoveryInterface
...
Kubernetes-commit: 235a57a29e5d232f411a23148643533140e646d1
2021-07-16 22:53:39 +00:00
Matthew Cary
2406d2208b
Revert "tests for statefulset PersistentVolumeClaimDeletePolicy api change"
...
This reverts commit b259686b367ffef89310a71875834a97befc5b4b.
Change-Id: I25cc8ae8a9aa77d0bc483147d3f8fb65616a2b2b
Kubernetes-commit: aeb82243fc863c44c3603f0d3bf4d8910774765e
2021-07-15 17:15:50 -07:00
Kubernetes Publisher
d3b97581d2
Merge pull request #103689 from enj/enj/t/exec_metrics
...
client-go exec: fix metrics related to plugin not found
Kubernetes-commit: 6609899398d35d22a7482f687ed05fb19093b762
2021-07-14 22:29:33 +00:00
Kevin Delgado
5d4570c9e0
basic caching working
...
Kubernetes-commit: 7b9757faa4924422bec746b689233ed1ea790b1b
2021-07-14 18:54:16 +00:00
Monis Khan
ef1d5d2691
client-go exec: fix metrics related to plugin not found
...
These were missed because our tests did not pass in the correct test
data input (the command to execute).
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: a6ac42082b4d7c0057b52900736bd7fbc2c44241
2021-07-14 12:34:56 -04:00
Damien Grisonnet
398a64c25b
client-go/tools: update events version in doc
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
Kubernetes-commit: d02568aab52c1003f3625a00ff4e29fcb81bbda6
2021-07-13 08:50:40 +02:00
Kubernetes Publisher
7a90b08589
Merge pull request #102928 from dprotaso/dynamic-client-backwards-compatible
...
Simplify construction of the fake dynamic client
Kubernetes-commit: fc4e7c17f4aead0bc953be03178c4e3caee1015f
2021-07-08 21:48:10 +00:00
Kubernetes Publisher
f0bc45ffb4
Merge pull request #98817 from alculquicondor/job-completion-api
...
Add Job.status.uncountedTerminatedPods for Job tracking
Kubernetes-commit: b76549665070beb2cc1a0410a6c7f66d8007f76b
2021-07-08 21:48:09 +00:00
Kubernetes Publisher
69e00b04ba
Merge pull request #103548 from dims/drop-hashicorp-lru
...
Drop hashicorp lru - switch to the lru impl in k8s.io/utils
Kubernetes-commit: 9c4905e7af0d070d139c06638ab9868fd3521883
2021-07-08 09:46:36 +00:00
Kevin Delgado
7525c0e37a
Manually set GVK in extract, add commentary to extractor
...
Kubernetes-commit: dda31bbf2e7a94624e3679e3db56c95e66509ce0
2021-07-08 01:56:58 +00:00
Davanum Srinivas
266e43aa73
update to new k8s.io/utils
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 3a221b3332464d7947aacee91e661880208ef901
2021-07-07 13:39:19 -04:00
Kubernetes Publisher
8abac606c4
Merge pull request #103487 from novahe/fix/fixture-data-race
...
client-go: fix fixture data race
Kubernetes-commit: 075ce33452879fe90f0893e008e5b5111e6b55fa
2021-07-08 01:46:45 +00:00
Kubernetes Publisher
b267864032
Merge pull request #103276 from NetApp/data-source-ref
...
Add DataSourceRef field to PVC spec
Kubernetes-commit: eaba61b4de9db615c73f868468ae2f816a4fe1c4
2021-07-07 17:49:30 +00:00
Kubernetes Publisher
4339f1ba5f
Merge pull request #102181 from enj/enj/i/deprecate_gcp_azure
...
Deprecate azure and gcp in-tree auth plugins
Kubernetes-commit: 60475ee5c2dffd48a30018745ad7a2bafdf97bac
2021-07-07 05:46:37 +00:00
Kubernetes Publisher
68cb2ddef9
Merge pull request #102890 from ankeesler/exec-plugin-v1
...
exec credential provider: add v1 struct
Kubernetes-commit: 3392f16908a84dd96a29d52d2edee159fcb6711f
2021-07-06 21:46:29 +00:00
novahe
b7e5fce706
client-go: copying object to fix data race ( #103148 )
...
Kubernetes-commit: ce257266aa7f3f104e656b722310be32e95a9cb5
2021-07-05 21:55:55 +08:00
Kevin Delgado
690f06e07a
Initial UnstructuredExtract without caching
...
Kubernetes-commit: 6e481c5db19cda1ef1b7506c22c0046e440c7fe2
2021-07-03 00:05:11 +00:00
Kubernetes Publisher
ca3a47f0b4
Merge pull request #99494 from enj/enj/i/not_after_ttl_hint
...
csr: add expirationSeconds field to control cert lifetime
Kubernetes-commit: 659c7e709f3b7f5f2a25e456525cd8747f2e68cc
2021-07-02 09:46:07 +00:00
Kubernetes Publisher
843bb800b1
Merge pull request #103176 from CaoDonghui123/updatemod
...
Update golang.org/x/net
Kubernetes-commit: c14017b270d21e6a7e79c0b8872a580f43a67220
2021-07-01 05:45:55 +00:00
Kubernetes Publisher
e9d2f61609
Merge pull request #103318 from jpbetz/fix-102749
...
Bump SMD to v4.1.2 to pick up #102749 fix
Kubernetes-commit: 0dad7d1c47c41f232b21cdd5c21be6683e545e9d
2021-06-30 21:46:05 +00:00
Kubernetes Publisher
45d107794c
Merge pull request #99378 from mattcary/api
...
StatefulSet PersistentVolumeClaimDeletePolicy
Kubernetes-commit: 98d20f552bf93e268868c4211c9eed533a508415
2021-06-30 21:46:02 +00:00
Joe Betz
83ade40bcb
Bump SMD to v4.1.2 to pick up #102749 fix
...
Kubernetes-commit: b790cf388ce1fce140c80bb0f7f9669288408b7a
2021-06-29 19:33:00 -07:00
Andrew Keesler
f00874ad93
exec credential provider: update tests+metadata for v1
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Kubernetes-commit: 20e1c4d7548de0b39a2d70a748ca0b9aab28f631
2021-06-28 10:58:02 -04:00
Andrew Keesler
dba1c9aa68
promote client.authentication.k8s.io to v1
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Kubernetes-commit: 30a6812aa13d11422b7d03b7d662b4857bddf24f
2021-06-28 10:56:57 -04:00
Kubernetes Publisher
e68c673b3c
Merge pull request #103026 from sanposhiho/fix/typo-on-ExtractHoge
...
Fix typo on ExtractHoge documentation.
Kubernetes-commit: 49ac765b67cafcf881c01354195456a4a683b6ba
2021-06-28 11:45:32 +00:00
caodonghui
68518116c3
Update golang.org/x/net to v0.0.0-20210520170846-37e1c6afe023
...
Kubernetes-commit: c1d5a3a99e120281c618d6573d7b424138dfb5a9
2021-06-25 15:25:52 +08:00
Kubernetes Publisher
dae61bee3a
Merge pull request #95472 from ahmedtd/lru-remove-mpl
...
Remove MPL-licensed dep from lruexpirecache
Kubernetes-commit: 89ebe77aebf2b5f0c9526f474b003358655dbac5
2021-06-24 23:45:54 +00:00
Kubernetes Publisher
f54e1433f8
Merge pull request #102540 from jpbetz/apply-client-docs
...
Add doc.go explaining client-go apply support
Kubernetes-commit: b27ad157792e9c306cbbc1a287d7905670d9836b
2021-06-24 23:45:52 +00:00
Monis Khan
e56c7dcd36
Generated
...
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: 29b3fa782631ab65c7e1f48fecef58c5365577c8
2021-06-23 17:55:14 -04:00
Monis Khan
30cd4e9a49
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: cd91e59f7c351fce47c064a5162c2cb79075159c
2021-06-25 22:08:10 -04:00
Joe Betz
50ffc02e9b
Split documentation according to both mechanisms available for migration
...
Kubernetes-commit: 7f893f6bd62357e52ee77ddc64dd163a4a5f1224
2021-06-23 10:30:58 -07:00
Joe Betz
acf46abf8c
Apply suggestions from code review
...
Co-authored-by: Daniel Smith <dbsmith@google.com>
Kubernetes-commit: 5d461adb3b8f8192695b3a3cd76d903347d3285a
2021-06-23 10:18:17 -07:00