Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

env PROMETHEUS_MULTIPROC_DIR is not set or not a directory with Kubernetes #1073

Closed
@ITS-Luc

Description

Setting the PROMETHEUS_MULTIPROC_DIR and creating this directory through a Dockerfile does not make the client work, getting the error env PROMETHEUS_MULTIPROC_DIR is not set or not a directory, but only with Kubernetes.

FYI, it works when setting through the ENTRYPOINT of the Dockerfile.

So, this does not work :

ENV PROMETHEUS_MULTIPROC_DIR="/tmp/proc_dir"
RUN mkdir -p "$PROMETHEUS_MULTIPROC_DIR"

But this works :

ENV PROMETHEUS_MULTIPROC_DIR="/tmp/proc_dir"
ENTRYPOINT ["/bin/sh", "-c", "mkdir -p $PROMETHEUS_MULTIPROC_DIR"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /