Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (25 sloc) 521 Bytes
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: frontend-canary
spec:
replicas: 1
template:
metadata:
labels:
app: nodejs
tier: frontend
track: canary
spec:
containers:
- name: nodejs
image: chenglong/simple-node:v2
resources:
requests:
cpu: 100m
memory: 100Mi
env:
- name: GET_HOSTS_FROM
value: dns
ports:
- containerPort: 8080