Created
October 6, 2015 22:14
-
-
Save wkharold/b5ca05b2493a3cd76bf4 to your computer and use it in GitHub Desktop.
hadv1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
labels: | |
name: had | |
namespace: dev | |
name: had | |
spec: | |
replicas: 1 | |
selector: | |
name: had | |
template: | |
metadata: | |
labels: | |
name: had | |
namespace: dev | |
spec: | |
containers: | |
- name: had | |
image: b.gcr.io/... | |
volumeMounts: | |
- name: adk | |
mountPath: /etc/keys.d | |
readOnly: true | |
command: | |
- "/go/bin/had" | |
- "-k" | |
- "/etc/keys.d/..." | |
- "-db" | |
- "..." | |
- "-dev=true" | |
env: | |
- name: CASSANDRA | |
value: "...2" | |
- 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