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

[Reporting] Document how to make screenshot reports work in ECK #131100

Open
tsullivan opened this issue Apr 27, 2022 · 2 comments
Open

[Reporting] Document how to make screenshot reports work in ECK #131100

tsullivan opened this issue Apr 27, 2022 · 2 comments
Labels
documentation Feature:Reporting:Screenshot Reporting issues pertaining to PNG/PDF file export impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@tsullivan
Copy link
Member

tsullivan commented Apr 27, 2022

Kibana version: 8.1

Original install method (e.g. download page, yum, from source, etc.): ECK

Describe the bug:
Under the main documentation for deploying Kibana in ECK, a Kibana container will not have optimal resources for running screenshot report jobs.

The following custom yaml for the Kubernetes Kibana instance optimizes the amount of system RAM to help PNG/PDF reports complete faster:

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: reporting-custom-quickstart
spec:
  version: 8.1.3
  count: 1
  elasticsearchRef:
    name: quickstart # 1
  podTemplate:
    spec:
      containers:
      - name: kibana
        env:
          - name: NODE_OPTIONS
            value: "--max-old-space-size=800" # 2
        resources:
          limits:
            memory: 2Gi # 3
            cpu: 2
  1. Refers to https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html#k8s-deploy-elasticsearch
  2. Between 800 and 1200 (megabytes) should be enough for the Kibana process. Primarily, containers need system memory available for the memory-hungry Chromium process that is spawned.
  3. The more memory here, the better. Depending on search latency, and the number of browser connections needed to load the PDF dashboard. Up to 8G could be necessary. 16G would put it at a "comfortable" level.

Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for explanation of this configuration

@tsullivan tsullivan added the bug Fixes for quality problems that affect the customer experience label Apr 27, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 27, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesUx)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 27, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@tsullivan tsullivan added the (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Apr 27, 2022
@exalate-issue-sync exalate-issue-sync bot added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels May 2, 2022
@petrklapka petrklapka added Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) and removed Team:AppServicesUx labels Oct 24, 2022
@vadimkibana vadimkibana added documentation and removed bug Fixes for quality problems that affect the customer experience labels Aug 11, 2023
@tsullivan tsullivan added Feature:Reporting:Screenshot Reporting issues pertaining to PNG/PDF file export and removed (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Feature:Reporting:Screenshot Reporting issues pertaining to PNG/PDF file export impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

4 participants