CustomResourceSubresources

data class CustomResourceSubresources(val scale: CustomResourceSubresourceScale? = null, val status: JsonElement? = null)

CustomResourceSubresources defines the status and scale subresources for CustomResources.

Constructors

Link copied to clipboard
constructor(scale: CustomResourceSubresourceScale? = null, status: JsonElement? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

scale indicates the custom resource should serve a /scale subresource that returns an autoscaling/v1 Scale object.

Link copied to clipboard
val status: JsonElement? = null

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.