What This Design Does:

A starter Kubernetes design with a Deployment and a Service that exposes it inside the cluster. It runs two replicas of a placeholder container and shows how to label pods and match a Service selector to them. A good base for a small Go API.

Design Snapshot

go-api-starter design snapshot

Caveats and Consideration:

Uses nginx:1.27 as a placeholder image, so replace it with your own Go API image before deploying. The Service is ClusterIP only, so it is not reachable from outside the cluster. A dry run on the shared Playground cluster failed with a 403 permissions error, so test it on your own cluster.

Compatibility:

kubernetes
`