Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add elasticsearch-healthcheck-timeout as an argument #726

Open
sammaphey opened this issue Jun 7, 2024 · 1 comment
Open

Add elasticsearch-healthcheck-timeout as an argument #726

sammaphey opened this issue Jun 7, 2024 · 1 comment

Comments

@sammaphey
Copy link

When I try to build a docker image with the following:

# Build the docker file needed to construct integration tests.
FROM rwynn/monstache:latest

# The base image does not expose a port (gitlab CI requires an exposed port to run as a service).
EXPOSE 8080

ENTRYPOINT ["/bin/monstache", "-elasticsearch-healthcheck-timeout", "60"]

I get an error stating flag provided but not defined: -elasticsearch-healthcheck-timeout

It looks like these are the only elastic options I can supply through arguments:

  -elasticsearch-api-key string
        Base64 encoded elasticsearch APIKey value
  -elasticsearch-client-timeout int
        Number of seconds before a request to Elasticsearch is timed out
  -elasticsearch-max-bytes int
        Number of bytes to hold before flushing to Elasticsearch
  -elasticsearch-max-conns int
        Elasticsearch max connections
  -elasticsearch-max-docs int
        Number of docs to hold before flushing to Elasticsearch
  -elasticsearch-max-seconds int
        Number of seconds before flushing to Elasticsearch
  -elasticsearch-password string
        The elasticsearch password for basic auth
  -elasticsearch-pem-file string
        Path to a PEM file for secure connections to elasticsearch
  -elasticsearch-retry
        True to retry failed request to Elasticsearch
  -elasticsearch-url value
        A list of Elasticsearch URLs
  -elasticsearch-user string
        The elasticsearch user name for basic auth
  -elasticsearch-validate-pem-file
        Set to boolean false to not validate the Elasticsearch PEM file (default true)
  -elasticsearch-version string
        Specify elasticsearch version directly instead of getting it from the server

Please add support for all of the config arguments as parameters to pass in

@sammaphey sammaphey changed the title Add [elasticsearch-healthcheck-timeout](https://rwynn.github.io/monstache-site/config/#elasticsearch-healthcheck-timeout) as an argument Add elasticsearch-healthcheck-timeout as an argument Jun 7, 2024
@Joey0538
Copy link

Joey0538 commented Jun 13, 2024

Just try :
ENTRYPOINT ["/bin/monstache", "-elasticsearch-healthcheck-timeout=60"]
and see if that works

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

No branches or pull requests

2 participants