Created
November 17, 2018 13:16
-
-
Save yudaykiran/2162cb7e5d7ee4d8bffc2f01f59e9323 to your computer and use it in GitHub Desktop.
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
| # 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