Skip to content

Instantly share code, notes, and snippets.

@wkharold
Created October 6, 2015 22:17
Show Gist options
  • Save wkharold/9ebf788d33fceef214ef to your computer and use it in GitHub Desktop.
Save wkharold/9ebf788d33fceef214ef to your computer and use it in GitHub Desktop.
hadv2
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: had
version: "2"
namespace: dev
name: hadv2-0-0
spec:
replicas: 1
selector:
name: had
version: "2"
template:
metadata:
labels:
name: had
version: "2"
namespace: dev
spec:
containers:
- name: hadv2-0-0
version: "2"
image: b.gcr.io/...
volumeMounts:
- name: adk
mountPath: /etc/keys.d
readOnly: true
command:
- "/go/bin/had"
- "-k"
- "/etc/keys.d/..."
- "-db"
- "1..."
- "-dev=true"
env:
- name: CASSANDRA
value: "..."
- name: KEYSPACE
value: "..."
volumes:
- name: adk
secret:
secretName: adk
ports:
- containerPort: 8080
resources:
limits:
cpu: "0.25"
nodeSelector:
env: shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment