Skip to content

Commit aced136

Browse files
ndixitak8s-publishing-bot
authored andcommitted
Generated files from API changes
Kubernetes-commit: b8777c32633ecfb214b02073369edadd23e8e9ec
1 parent 02d790d commit aced136

10 files changed

+317
-0
lines changed

core/v1/generated.pb.go

Lines changed: 235 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/v1/generated.proto

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/v1/types_swagger_doc_generated.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,8 @@ var map_PodStatus = map[string]string{
19511951
"resize": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources.",
19521952
"resourceClaimStatuses": "Status of resource claims.",
19531953
"extendedResourceClaimStatus": "Status of extended resource claim backed by DRA.",
1954+
"allocatedResources": "AllocatedResources is the total requests allocated for this pod by the node. If pod-level requests are not set, this will be the total requests aggregated across containers in the pod.",
1955+
"resources": "Resources represents the compute resource requests and limits that have been applied at the pod level if pod-level requests or limits are set in PodSpec.Resources",
19541956
}
19551957

19561958
func (PodStatus) SwaggerDoc() map[string]string {

core/v1/zz_generated.deepcopy.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testdata/HEAD/core.v1.Pod.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,23 @@
21212121
}
21222122
],
21232123
"resourceClaimName": "resourceClaimNameValue"
2124+
},
2125+
"allocatedResources": {
2126+
"allocatedResourcesKey": "0"
2127+
},
2128+
"resources": {
2129+
"limits": {
2130+
"limitsKey": "0"
2131+
},
2132+
"requests": {
2133+
"requestsKey": "0"
2134+
},
2135+
"claims": [
2136+
{
2137+
"name": "nameValue",
2138+
"request": "requestValue"
2139+
}
2140+
]
21242141
}
21252142
}
21262143
}

testdata/HEAD/core.v1.Pod.pb

99 Bytes
Binary file not shown.

testdata/HEAD/core.v1.Pod.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,8 @@ spec:
12301230
podGroup: podGroupValue
12311231
podGroupReplicaKey: podGroupReplicaKeyValue
12321232
status:
1233+
allocatedResources:
1234+
allocatedResourcesKey: "0"
12331235
conditions:
12341236
- lastProbeTime: "2003-01-01T01:01:01Z"
12351237
lastTransitionTime: "2004-01-01T01:01:01Z"
@@ -1449,4 +1451,12 @@ status:
14491451
resourceClaimStatuses:
14501452
- name: nameValue
14511453
resourceClaimName: resourceClaimNameValue
1454+
resources:
1455+
claims:
1456+
- name: nameValue
1457+
request: requestValue
1458+
limits:
1459+
limitsKey: "0"
1460+
requests:
1461+
requestsKey: "0"
14521462
startTime: "2007-01-01T01:01:01Z"

testdata/HEAD/core.v1.PodStatusResult.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,23 @@
369369
}
370370
],
371371
"resourceClaimName": "resourceClaimNameValue"
372+
},
373+
"allocatedResources": {
374+
"allocatedResourcesKey": "0"
375+
},
376+
"resources": {
377+
"limits": {
378+
"limitsKey": "0"
379+
},
380+
"requests": {
381+
"requestsKey": "0"
382+
},
383+
"claims": [
384+
{
385+
"name": "nameValue",
386+
"request": "requestValue"
387+
}
388+
]
372389
}
373390
}
374391
}
99 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)