Hi Team, We are experiencing an issue with deploy...
# nebula
h
Hi Team, We are experiencing an issue with deploying our StatefulSet on the Kubernetes cluster using the Nebula Operator. The deployment is failing with the following error: Warning FailedCreate 8m48s (x19 over 30m) statefulset-controller create Pod nebula-metad-0 in StatefulSet nebula-metad failed error: pods "nebula-metad-0" is forbidden: failed quota: nebula-rq: must specify limits.cpu for: dynamic-flags,ng-logrotate; limits.memory for: dynamic-flags,ng-logrotate; requests.cpu for: dynamic-flags,ng-logrotate; requests.memory for: dynamic-flags,ng-logrotate
d
Hey friend, the error shows that you have a ResourceQuota object in the namespace that is forcing you to define the CPU and Memory limits.
h
yes got it but if i need to set resource quota in dynamic-flags,ng-logrotate. So do i need to change code in nebula operator code?
k
No need to do that, these containers are generated by nebula-operator
If ResourceQuota is required in your environment, you can change nebula-operator code or submit a PR
h
Thanks for reply . Will do code changes in nebula-operator or else will submit PR.
log container is not required if logs output to stdout. https://github.com/vesoft-inc/nebula-operator/blob/master/doc/user/log_guide.md
h
thanks for sharing method reference.