EKS Deploy
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
| Parameter | Type | Description |
|---|---|---|
cluster_name | string | Name of the EKS cluster. |
namespace | string | Kubernetes namespace. |
deployment_name | string | Name of the Deployment to update. |
containers | array<object> | Container images to update. |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | - | AWS account ID where the EKS cluster is located. Defaults to stage account. |
region | string | - | AWS region. Defaults to stage region. |
manifest_path | string | - | Path to a Kubernetes manifest file or directory to apply before updating images. |
timeout | integer | 10 | Deployment 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