Skip to main content

EKS Deploy

Stable

Type: DEVRAMPS:EKS:DEPLOY

Category: deploy

Version: 1.0.0


Description

Update container images on an existing Kubernetes Deployment.

Updates one or more container images on an existing Kubernetes Deployment in an Amazon EKS cluster. Uses kubectl to patch the deployment and monitors the rollout until completion. Supports rolling updates with automatic rollback detection.

Parameters

Required Parameters

ParameterTypeDescription
cluster_namestringName of the EKS cluster.
namespacestringKubernetes namespace.
deployment_namestringName of the Deployment to update.
containersarray<object>Container images to update.

Optional Parameters

ParameterTypeDefaultDescription
account_idstring-AWS account ID where the EKS cluster is located. Defaults to stage account.
regionstring-AWS region. Defaults to stage region.
manifest_pathstring-Path to a Kubernetes manifest file or directory to apply before updating images.
timeoutinteger10Deployment timeout in minutes.

Example Usage

- type: DEVRAMPS:EKS:DEPLOY
name: Deploy API to EKS
params:
cluster_name: my-cluster
namespace: api
deployment_name: api-server
containers:
- name: api
image_url: "${{ stage.artifacts["API Image"].image_url }}"
- name: sidecar
image_url: "${{ stage.artifacts["Sidecar Image"].image_url }}"
timeout: 10