apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: sink spec: version: 7.16.1 nodeSets: - name: default count: 1 volumeClaimTemplates: - metadata: name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path. spec: accessModes: - ReadWriteOnce resources: requests: storage: 50Gi podTemplate: spec: containers: - name: elasticsearch env: - name: ES_JAVA_OPTS value: -Xms2g -Xmx2g resources: requests: memory: 4Gi cpu: 1 limits: memory: 4Gi --- apiVersion: kibana.k8s.elastic.co/v1 kind: Kibana metadata: name: sink spec: version: 7.16.1 count: 1 elasticsearchRef: name: sink