Skip to content

Commit 5e56953

Browse files
committed
Corev1.Node: Link to node doc and not PV doc in status.capacity
Currently, the go doc and as a result the generated swagger docs for node.status.capacity links to a documentation page for PV capacity. Update it to link to our nodes about node capacity and alloctable instead.
1 parent 466b10f commit 5e56953

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/v3/api__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3935,7 +3935,7 @@
39353935
"additionalProperties": {
39363936
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
39373937
},
3938-
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
3938+
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity",
39393939
"type": "object"
39403940
},
39413941
"conditions": {

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5874,7 +5874,7 @@ type NodeConfigStatus struct {
58745874
// NodeStatus is information about the current status of a node.
58755875
type NodeStatus struct {
58765876
// Capacity represents the total resources of a node.
5877-
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
5877+
// More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
58785878
// +optional
58795879
Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,1,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"`
58805880
// Allocatable represents the resources of a node that are available for scheduling.

staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)