Skip to content

Rescue Kubeclient::HttpError when generating prometheus_client

Shinya Maeda requested to merge fix-kube_client-proxy_url-exception into master

What does this MR do?

Currently users are unable to see environment pages if the clusters are improperly configured. This MR fixes the 500 error.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

  • Tests added for this feature/bug
  • Conform by the code review guidelines
    • Has been reviewed by a Backend maintainer
  • End-to-end tests pass (package-and-qa manual pipeline job)

What are the relevant issue numbers?

Related: https://gitlab.com/gitlab-org/gitlab-ce/issues/46406

Edited by Grzegorz Bizon

Merge request reports