Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

jhipster-import-dashboards does not work on OpenShift #122

Open
wittwerch opened this issue Oct 1, 2019 · 0 comments
Open

jhipster-import-dashboards does not work on OpenShift #122

wittwerch opened this issue Oct 1, 2019 · 0 comments

Comments

@wittwerch
Copy link

The jhipster-import-dashboards does not work on OpenShift. It works locally with docker-compose, but on OpenShift somehow the execution context for the user is different.

-
  apiVersion: v1
  kind: DeploymentConfig
  metadata:
    name: jhipster-import-dashboard
  spec:
    strategy:
      type: Recreate
    replicas: 1
    template:
      metadata:
        labels:
          app: jhipster-import-dashboard
      spec:
        containers:
        - name: jhipster-import-dashboard
          image: jhipster/jhipster-import-dashboards:v4.1.0
          command:
            - 'pwd && env'
          imagePullPolicy: IfNotPresent
          env:
            - name: ELASTICSEARCH_URL
              value: http://jhipster-elasticsearch:9200
        initContainers:
          - name: check-jhipster-elasticsearch-connection
            image: busybox
            command:
            - wget
            - "--spider"
            - "jhipster-elasticsearch:9200/_cluster/health"

Once the pod is started, it fails immediately with that error:

/usr/local/bin/docker-entrypoint: line 13: metricbeat: command not found

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant