Skip to main content

KubernetesDeploymentRollback

Resource KubernetesDeploymentRollback in pulumi-portainer.
2 min read

Resource KubernetesDeploymentRollback in pulumi-portainer.

Pulumi type: portainer:index/kubernetesDeploymentRollback:KubernetesDeploymentRollback.

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 roll back.
environmentIdnumberyesIdentifier of the Portainer Kubernetes environment the deployment belongs to.
kubernetesDeploymentRollbackIdstringno
namespacestringyesNamespace the deployment lives in.
revisionnumbernoRollout revision to roll back to. 0 (the default) rolls back to the previous revision, matching kubectl rollout undo. Use the portainer.getKubernetesReplicasets data source to discover the available revisions.

Outputs#

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

PropertyTypeComputedDescription
deploymentNamestringnoName of the deployment to roll back.
environmentIdnumbernoIdentifier of the Portainer Kubernetes environment the deployment belongs to.
kubernetesDeploymentRollbackIdstringno
namespacestringnoNamespace the deployment lives in.
revisionnumbernoRollout revision to roll back to. 0 (the default) rolls back to the previous revision, matching kubectl rollout undo. Use the portainer.getKubernetesReplicasets data source to discover the available revisions.
rolledBackToReplicasnumberyesDesired replica count of the deployment after the rollback.