Hello, I have a name space with a resource limits and when I try do deploy Elasticsearch it fails with:
create Pod ldap-test-3-es-55b787q5-0 in StatefulSet ldap-test-3-es-55b787q5 failed error: pods "ldap-test-3-es-55b787q5-0" is forbidden: failed quota: newp: must specify limits.cpu,limits.memory
If I remove the secureSettings from the config it deploys fine. Below is the yaml with kubectl.
At the moment I just testing ECK in a minikube instance.
---
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: ldap-test-3
spec:
nodeSets:
- config:
node.data: true
node.ingest: true
node.master: true
node.store.allow_mmap: false
count: 1
name: 55b787q5
podTemplate:
spec:
containers:
- env:
- name: ES_JAVA_OPTS
value: "-Xms1g -Xmx1g"
name: elasticsearch
resources:
limits:
cpu: '2'
memory: 2Gi
requests:
cpu: '1'
memory: 2Gi
secureSettings:
- secretName: secure-bind-password
version: 7.7.0