add environments necessary to memcache; bugfix rabbitmq configmap name

This commit is contained in:
Alan Meadows 2016-11-30 16:58:39 -08:00
parent d8386f4e0e
commit cded42e315
2 changed files with 11 additions and 1 deletions

View File

@ -16,6 +16,16 @@ spec:
image: {{ .Values.images.memcached }} image: {{ .Values.images.memcached }}
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: INTERFACE_NAME
value: "eth0"
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: COMMAND - name: COMMAND
value: "memcached -v -p {{ .Values.network.port }} -U 0 -c 8192 -m 1024" value: "memcached -v -p {{ .Values.network.port }} -U 0 -c 8192 -m 1024"
ports: ports:

View File

@ -37,5 +37,5 @@ spec:
- name: rabbitmq-emptydir - name: rabbitmq-emptydir
mountPath: /var/lib/rabbitmq mountPath: /var/lib/rabbitmq
- mountPath: /tmp/start_rabbitmq.sh - mountPath: /tmp/start_rabbitmq.sh
name: start-rabbitmq name: rabbitmq-bin
subPath: start_rabbitmq.sh subPath: start_rabbitmq.sh