-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi there,
VerneMQ pods fail to start up with error message:
08:39:35.207 [error] Error creating /vernemq/data/generated.configs: permission denied
Error generating config with cuttlefish
run vernemq config generate -l debug for more information.
The PVCs are created successfully, but it appears as though the pods don't have permissions to access the volumes.
Any ideas?
Manifest:
apiVersion: vernemq.com/v1alpha1
kind: VerneMQ
metadata:
labels:
vernemq: k8s
name: k8s
namespace: messaging-dev
spec:
baseImage: vernemq/vernemq
vmqConfig: 'accept_eula=yes'
config:
configs:
- name: allow_register_during_netsplit
value: "on"
- name: allow_publish_during_netsplit
value: "on"
- name: allow_subscribe_during_netsplit
value: "on"
- name: allow_unsubscribe_during_netsplit
value: "on"
- name: allow_anonymous
value: "on"
listeners:
- address: 0.0.0.0
port: 1883
allowedProtocolVersions: '3,4,5'
- address: 0.0.0.0
port: 8080
websocket: true
allowedProtocolVersions: '3,4,5'
plugins: []
storage:
volumeClaimTemplate:
metadata:
name: data
annotations: {}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: "gp2"
serviceAccountName: vernemq-k8s
size: 2
version: 1.10.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels