I setup Elastic Cloud on Kubernetes on Openshift 4.6. Right now with the following services (Elasticsearch/Kibana/Filebeat)
I am now failing to get Heartbeat running. I had it running on another Testcluster without any issues.
> Exiting: Failed to create Beat meta file: open /usr/share/heartbeat/data/meta.json.new: permission denied
apiVersion: beat.k8s.elastic.co/v1beta1
kind: Beat
metadata:
name: heartbeat
spec:
type: heartbeat
version: 7.13.0
elasticsearchRef:
name: elasticsearch
config:
heartbeat.monitors:
- type: tcp
schedule: '@every 5s'
hosts: ["elasticsearch-es-http.elastic.svc:9200"]
- type: tcp
schedule: '@every 5s'
hosts: ["kibana-kb-http.elastic.svc:5601"]
deployment:
replicas: 1
podTemplate:
spec:
serviceAccountName: heartbeat
securityContext:
runAsUser: 0
I found this Grant privileged permissions to Beats | Elastic Cloud on Kubernetes [1.8] | Elastic
but the file path doesnt exist on the worker nodes