Heartbeat POD crashes - Why?

Hi.

Im trying to run heartbeat on kubernetes. When i create the pod, it crashes and show this message:

/usr/local/bin/docker-entrypoint: line 8: exec: heartbeat: not found

This is my yml file:

apiVersion: v1
kind: Pod
metadata:
  name: hearthbeat
  namespace: inntech-logstash
spec:
  containers:
      - name: hearthbeat
  image: docker.elastic.co/beats/heartbeat:7.8.0
  resources:
    requests:
      cpu: "1"
      memory: "1Gi"
    limits:
      cpu: "1.5"
      memory: "1.5Gi"
  volumeMounts:
    - name: config-volume
      mountPath: /usr/share/heartbeat/
volumes:
  - name: config-volume
   configMap:
    name: heartbeat-deployment-config
    items:
      - key: heartbeat
        path: heartbeat.yml

Any ideas?

Thanks in advance.

Regards

Víctor

@exekias any ideas here?

Someone running heartbeat on kubernetes?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.