Ops Module

The ops module provides container and cluster management.

Deployment

import ops

deployment "app" {
  image "myapp:latest"
  ports 8080
  autoscale { min=1, max=10 }
}

Cluster Management

cluster "prod" {
  provider "k8s" { context="prod" }
  apply deployment:"app"
}

Next Steps