Jordan Liggitt
d96dabc5bb
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Replay of a9593d634c6a053848413e600dadbf974627515f
Kubernetes-commit: 203d8ac83844b8ea8ece8ece7630cb22ef8f327d
2022-11-16 17:40:06 +00:00
Stephen Augustus
6036977e4a
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Kubernetes-commit: 481cf6fbe753b9eb2a47ced179211206b0a99540
2021-08-12 17:13:11 -04:00
Artyom Lukianov
93cd3d97e3
Extend pod resource API response to return the memory manager information
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
Kubernetes-commit: 24023f9fcc7a2031d81a53add1e0054319f0b0f0
2021-04-05 17:15:36 +03:00
Angus Lees
bcb28af0cf
Rename deviceIDs -> device_ids to follow protobuf naming conventions
...
The protocol buffer [styleguide] says field names should use
underscore_separated_names.
Code generation tools rely on this convention to split words and
generate language-specific accessors/properties in the local style
conventions (ie: it's more than just a style convention). For
example, the previous `deviceIDs` name caused Rust proto tools to
generate field names like `device_i_ds` which is just weird.
[styleguide]: https://developers.google.com/protocol-buffers/docs/style#message-and-field-names
Rename `deviceIDs` field to `device_ids`, and use a gogo-specific
option to keep the existing `DeviceIDs` golang name (otherwise it
would generate `DeviceIds`).
Note this doesn't affect protocol buffer / gRPC wire encoding, which
uses numeric values.
Kubernetes-commit: 815dcd5b3174f9ccaa3789f1b688a809223ca860
2020-06-05 12:27:02 +10:00
Francesco Romani
5bb58afe54
node: podresources: add generated files
...
Signed-off-by: Francesco Romani <fromani@redhat.com>
Kubernetes-commit: 8b79ad65335d5f82822aba64ef436c519dcfdef3
2021-02-03 16:26:16 +01:00
Francesco Romani
f73b3cd2cb
node: podresources: add GetAllocatableResources API
...
Extend the podresources API adding the GetAllocatableResources endpoint,
as specified in the KEP
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments
Signed-off-by: Francesco Romani <fromani@redhat.com>
Kubernetes-commit: c44f8214dbd6072416acf3b3ad405838ccf4e93c
2020-11-11 10:30:58 +01:00
Michael Beaumont
4757857c4a
Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis
...
Kubernetes-commit: a5a6762d33743521e1696113143ea66b3072a224
2021-02-09 19:47:42 +01:00
Nabarun Pal
916f97b0c2
update gogo/protobuf to v1.3.2
...
gogo/protobuf@v1.3.2 fixes https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3121
Ref: https://github.com/kubernetes/client-go/issues/927
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Kubernetes-commit: 9cada2ec3ba793597606a1df1375ff8e8311ccf3
2021-01-27 18:01:27 +05:30
Carlos Panato
a22c6a5382
[go1.15] updatestaging pb.go files using the hack scripts
...
Kubernetes-commit: 3dec5781ade54eb47cf8d1dc8428f33d8739f10b
2021-01-27 11:50:33 +01:00
Anthony ARNAUD
3f4a6a9389
Port deviceManager in windows container manager
...
Kubernetes-commit: 8bdc3d897018862c654a7fb0b4094abd7df45eb2
2020-07-21 12:35:49 +02:00
Andrew Sy Kim
e1ef77d075
kubelet: add initial credentialprovider v1alpha1 APIs
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
Kubernetes-commit: 2d0dd26252a91d8eccf460c41d6eff3f0462f2fa
2020-11-10 13:44:06 -05:00
Alexey Perevalov
77bc9b8ae4
Generate podresources API for TopologyInfo and cpu_ids
...
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
Kubernetes-commit: db0a515be0cfc3fe10ff6b48212dd56ea3bb50c2
2020-10-28 12:43:13 +03:00
Alexey Perevalov
8001f72d88
Add TopologyInfo and cpu_ids into podresources
...
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
Kubernetes-commit: ce921c039b933d4ec9ccb2c3db0aea3b9c56283a
2020-10-22 11:47:34 +03:00
Renaud Gaubert
3a7ef55e24
Update generated files
...
Kubernetes-commit: 68cf24c087752ace54fea33678d063196afd285e
2020-10-10 12:57:15 -07:00
Renaud Gaubert
8fadf102c0
Add podresources v1 API
...
Kubernetes-commit: a989bece009496c7d862d42fd32cab9eaf3a21f2
2020-10-10 12:54:21 -07:00
Marek Siarkowicz
21d52241c5
Move Kubelet Summary API to staging repo
...
Kubernetes-commit: 7d309e0104fedb57280b261e5677d919cb2a0e2d
2020-07-11 12:59:52 +02:00
Renaud Gaubert
86eb171868
Move podresources api to k8s.io/kubelet/pkg/apis
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
Kubernetes-commit: 60304452ffd0f6ce1e58d1806ab9fdc33cdefb17
2020-06-30 04:46:33 +00:00
David Ashpole
c5a2be5f9e
consistently use double quotes in proto files
...
Kubernetes-commit: 296f7c91bb52cd724ce6d6d120d5d41ed459d677
2020-09-03 13:50:03 -07:00
Jeremy Shih
96b39cb21c
fix golint failures
...
some packages under staging/src/k8s.io/sample-apiserver/
Kubernetes-commit: a39f502fc058fbba8258a84617a6ed3700ee4343
2020-08-31 17:17:28 +08:00
Kevin Klues
83a091b032
Add GetPreferredAllocation() call to the device plugin api.proto
...
The details of this API can be found in:
https://github.com/kubernetes/enhancements/pull/1121
Kubernetes-commit: 202c4f0816be76ece0a9ba8b94192f458e55b35a
2020-07-02 15:15:46 +00:00
Kevin Klues
4e51df3aae
Update whitespace in device plugin api.proto
...
Kubernetes-commit: 9c4198952413685106fa4aef0537154a08e900fd
2020-07-02 15:15:41 +00:00
drfish
97d98d762a
Fix typo from reseting to resetting
...
Kubernetes-commit: 5a44cd65fd9687410003a5933203f01ff9299ea1
2020-01-10 21:35:06 +08:00
Davanum Srinivas
b929782e22
update generated files
...
Kubernetes-commit: b3853138a4f1a0637ec3c38a5c59f8228765b261
2020-01-13 17:56:56 -05:00
chenyaqi01
76f250ec4d
Fix device plugin generator script
...
Kubernetes-commit: fa9a55617bbbbe274195f9f2915e7364c1cb3de5
2019-11-20 12:53:09 +08:00
chenyaqi01
56e9dcaef1
fix inconsistent comment in device plugin api
...
Kubernetes-commit: f8d3c45d1a9fb25ab3df697a0a59c05c7d60d586
2019-10-11 10:26:19 +08:00
Davanum Srinivas
4398d8f461
Move pkg/kubelet/pluginregistration and deviceplugin
...
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
Kubernetes-commit: d30c489c54c5e6d41ae3a1e1fcd96d24dba4fc51
2019-10-06 15:24:24 -04:00