Skip to main content

KubernetesDeploymentScale

Resource KubernetesDeploymentScale in pulumi-portainer.
2 min read

Resource KubernetesDeploymentScale in pulumi-portainer.

Pulumi type: portainer:index/kubernetesDeploymentScale:KubernetesDeploymentScale.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
deploymentNamestringyesName of the deployment to scale. The deployment must already exist; this resource manages only its replica count.
environmentIdnumberyesIdentifier of the Portainer Kubernetes environment the deployment belongs to.
kubernetesDeploymentScaleIdstringno
namespacestringyesNamespace the deployment lives in.
replicasnumberyesDesired number of replicas. Changing this scales the deployment in place.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
availableReplicasnumberyesNumber of replicas available for at least the configured minimum ready seconds, as reported after the scale request.
deploymentNamestringnoName of the deployment to scale. The deployment must already exist; this resource manages only its replica count.
environmentIdnumbernoIdentifier of the Portainer Kubernetes environment the deployment belongs to.
kubernetesDeploymentScaleIdstringno
namespacestringnoNamespace the deployment lives in.
readyReplicasnumberyesNumber of replicas passing their readiness checks, as reported after the scale request.
replicasnumbernoDesired number of replicas. Changing this scales the deployment in place.