Kazan v0.11.0 Kazan.Models.ApiextensionsApiserver.Apiextensions.V1beta1.CustomResourceSubresourceScale View Source

CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.

OpenAPI Definition: io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale

Properties

  • label_selector_path :: String

    • LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string.
  • spec_replicas_path :: String

    • SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET.
  • status_replicas_path :: String

    • StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() ::
  %Kazan.Models.ApiextensionsApiserver.Apiextensions.V1beta1.CustomResourceSubresourceScale{
    label_selector_path: String.t(),
    spec_replicas_path: String.t(),
    status_replicas_path: String.t()
  }