Skip to content

Instantly share code, notes, and snippets.

@yudaykiran
Created November 17, 2018 13:16
Show Gist options
  • Select an option

  • Save yudaykiran/2162cb7e5d7ee4d8bffc2f01f59e9323 to your computer and use it in GitHub Desktop.

Select an option

Save yudaykiran/2162cb7e5d7ee4d8bffc2f01f59e9323 to your computer and use it in GitHub Desktop.
# need more cpu upon initialization, therefore burstable class
limits:
cpu: 1000m
requests:
cpu: 100m
ports:
- containerPort: 9200
name: db
protocol: TCP
- containerPort: 9300
name: transport
protocol: TCP
volumeMounts:
- name: elasticsearch-logging
mountPath: /data
env:
- name: "NAMESPACE"
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: NODE_MASTER
value: "false"
- name: ES_JAVA_OPTS
value: -Xms1g -Xmx1g
imagePullSecrets:
- name: mayadatasecret
volumeClaimTemplates:
- metadata:
name: elasticsearch-logging
spec:
storageClassName: openebs-cstor-ssd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment