lolszowy opened a new issue, #123:
URL: https://github.com/apache/couchdb-helm/issues/123
<!-- Thanks for filing an issue! Before hitting the button, please answer
these questions. It's helpful to search the existing GitHub issues first. It's
likely that another user has already reported the issue you're facing, or it's
a known issue that we're already aware of
Fill in as much of the template below as you can. If you leave out
information, we can't help you as well.
Be ready for followup questions, and please respond in a timely manner. If
we can't reproduce a bug or think a feature already exists, we might close your
issue. If we're wrong, PLEASE feel free to reopen it and explain why.
-->
**Describe the bug**
I am getting CrashLoopBackoff of a CouchDB pod, when I am deploying it with
persistenVolume.
values for Helm Chart
```
clusterSize: '1'
persistentVolume:
enabled: 'true'
storageClass: 'efs-sc-couchdb'
couchdbConfig:
couchdb:
uuid: <some-uuid>
```
```
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: efs-sc-couchdb
namespace: <namespace-name>
provisioner: efs.csi.aws.com
parameters:
provisioningMode: efs-ap
fileSystemId: fs-<fsidhere>
directoryPerms: "760"
```
**Version of Helm and Kubernetes**:
Chart version: couchdb-4.4.1
App version: 3.3.2
EKS K8s Cluster version: 1.25
**What happened**:
✗ kubectl get pod couchdb-beta-couchdb-0
NAME READY STATUS RESTARTS AGE
couchdb-beta-couchdb-0 0/1 CrashLoopBackOff 8 (3m48s ago) 19m
**What you expected to happen**:
✗ kubectl get pod couchdb-beta-couchdb-0
NAME READY STATUS RESTARTS AGE
couchdb-beta-couchdb-0 1/1 Running
**How to reproduce it** (as minimally and precisely as possible):
helm upgrade --install couchdb-beta couchdb/couchdb --set clusterSize=1
--set persistentVolume.enabled=true --set
persistentVolume.storageClass=efs-sc-couchdb --set
persistenVolume.accessModes=ReadWriteOnce --set
couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4
2>/dev/null | tr -d -)
✗ kubectl logs couchdb-beta-couchdb-0 -c couchdb
✗ kubectl logs couchdb-beta-couchdb-0 -c init-copy
total 8
-rw-r--r-- 1 root root 101 Jun 15 09:36 seedlist.ini
-rw-r--r-- 1 root root 106 Jun 15 09:36 chart.ini
✗ kubectl get pvc database-storage-couchdb-beta-couchdb-0
NAME STATUS VOLUME
CAPACITY ACCESS MODES STORAGECLASS AGE
database-storage-couchdb-beta-couchdb-0 Bound
pvc-5fb45da0-1df7-4a5b-ae9z-6f797b210aex 10Gi RWO
efs-sc-couchdb 19h
**Anything else we need to know**:
All infrastructure is based on AWS service like EKS EFS...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]