Skip to content

Instantly share code, notes, and snippets.

@kylelemons
Created April 5, 2015 00:27
Show Gist options
  • Save kylelemons/c9de22edcd4d0cf595e9 to your computer and use it in GitHub Desktop.
Save kylelemons/c9de22edcd4d0cf595e9 to your computer and use it in GitHub Desktop.
Frontend ReplicationController config
id: frontend
kind: ReplicationController
apiVersion: v1beta1
labels:
app: frontend
desiredState:
replicas: 1
replicaSelector:
app: frontend
podTemplate:
labels:
app: frontend
desiredState:
manifest:
version: v1beta1
id: frontend
labels:
app: frontend
volumes:
- name: webdata
source:
hostDir:
path: /mnt/webdata
# persistentDisk:
# pdName: webdata
# fsType: ext4
containers:
- name: frontend
image: "gcr.io/_b_kylelemonsdockerimages/frontend:latest"
ports:
- name: web
containerPort: 80
volumeMounts:
- name: webdata
mountPath: /data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment