Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created December 12, 2017 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelseyhightower/597bbfe5df8d945c2ced58783c0fd6bc to your computer and use it in GitHub Desktop.
Save kelseyhightower/597bbfe5df8d945c2ced58783c0fd6bc to your computer and use it in GitHub Desktop.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
labels:
app: app
customer: customer2
name: app-customer-2
spec:
template:
metadata:
labels:
app: app
customer: customer2
spec:
containers:
- name: app
image: gcr.io/hightowerlabs/geoinc:1.0.2
env:
- name: DATABASE_URL
value: "postgres://customer2:<password>@postgres-customer-2/customer2?sslmode=disable"
ports:
- containerPort: 80
protocol: TCP
resources:
limits:
cpu: 1000m
memory: 512Mi
requests:
cpu: 500m
memory: 256Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment