# io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources

From **Kubernetes**.

CustomResourceSubresources defines the status and scale subresources for CustomResources.

- Type: `object`

## Properties

### `scale`

- Required: false
scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.

### `status`

- Required: false
status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.

## JSON Schema

```json
{"description":"CustomResourceSubresources defines the status and scale subresources for CustomResources.","properties":{"scale":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale"}],"description":"scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."},"status":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus"}],"description":"status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."}},"type":"object"}
```
