STEP

Undo the rollout of a Kubernetes Deployment

This will roll back a failing Kubernetes deployment to its previous state, using 'kubectl rollout undo'

Specification

google

Required

A Relay Google Cloud Platform (GCP) connection to useConnection docs
!Connection {type: gcp, name: my-gcp-connection}
namespace

Required

string
The namespace in which the deployment is running
deployment

Required

string
The name of the deployment to operate on
cluster

Required

string
The name of the cluster where the deployment is running
zone

Required

string
The GCP zone where the cluster is running

Outputs

result
Optional
string
The result of the kubectl command, both stderr and stdout

Integrations in this step

Install the Relay CLI

Relay CLI is an essential companion for authoring and managing workflows. You can install it with a package manager or download it.
brew install puppetlabs/puppet/relay
Learn more about setting up Relay.

How to contribute

We’re excited to see and share in our community’s creation. Take a look at our community overview to learn how to begin contributing to Relay.