Skip to content

Instantly share code, notes, and snippets.

@Chronojam
Created July 15, 2016 14:21
Show Gist options
  • Save Chronojam/e229e69748ec6c0bdb0c94d97c011217 to your computer and use it in GitHub Desktop.
Save Chronojam/e229e69748ec6c0bdb0c94d97c011217 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: "{{ name }}"
labels:
name: "{{ name }}"
spec:
replicas: 1
template:
metadata:
name: "{{ name }}"
labels:
app: "{{ name }}"
spec:
containers:
- image: "{{ image }}"
imagePullPolicy: "Always"
name: "{{ name }}"
env:
- name: "NGINX_LISTEN_PORT"
value: "4000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment