Skip to content

Deployment

Source: src/Kubernetes/Deployment.ts

A Kubernetes deployment bound to an EKS cluster.

const app = yield* Deployment("api", {
cluster,
namespace: "default",
containers: [
{
name: "api",
image: "nginx:latest",
},
],
});