Created
March 1, 2015 01:24
-
-
Save heytrav/297c40f681f74cd10dfc to your computer and use it in GitHub Desktop.
This file contains 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
id: logstash | |
kind: ReplicationController | |
apiVersion: v1beta1 | |
desiredState: | |
replicas: 1 | |
replicaSelector: | |
component: elasticsearch | |
role: logstash | |
podTemplate: | |
desiredState: | |
manifest: | |
version: v1beta1 | |
id: logstash | |
containers: | |
- name: elasticsearch | |
image: quay.io/heytrav/elasticsearch:v0.0.8-load-balancer | |
ports: | |
- name: http | |
containerPort: 9200 | |
- name: transport | |
containerPort: 9300 | |
volumeMounts: | |
- name: es-data | |
mountPath: /data | |
readOnly: false | |
- name: logstash | |
image: quay.io/heytrav/logstash:v0.0.37 | |
ports: | |
- name: lumberjack | |
containerPort: 5043 | |
- name: collectd | |
protocol: UDP | |
containerPort: 25826 | |
env: | |
- key: ES_CURATOR_OPTIMISE_DAYS | |
value: 7 | |
- key: ES_CURATOR_DELETE_DAYS | |
value: 14 | |
volumeMounts: | |
- name: logstash-keys | |
mountPath: /data/logstash | |
readOnly: true | |
volumes: | |
- name: logstash-keys | |
source: | |
hostDir: | |
path: /home/core/iwmn/data/logstash | |
- name: es-data | |
source: | |
hostDir: | |
path: /home/core/iwmn/data/elasticsearch | |
labels: | |
component: elasticsearch | |
role: logstash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment