Skip to content

Unable to find documentation for how to migrate prometheus to sds #27996

Description

@Stono

Bug description
Our (multiple) prometheus servers use the istio-pilot created secrets in order to scape istio endpoints. As part of the move to istiod and subsequently sds, those secrets are no longer created.

I couldn't find any documentation to help me work out what to do next, until I was pointed at https://istio.io/v1.6/blog/2020/proxy-cert which says to use .Values.prometheus.provisionPrometheusCert to true.

However istioctl generate-manifest on 1.6.12 gives you: Error: unknown field "provisionPrometheusCert" in v1alpha1.ExternalComponentSpec:

So I couldn't.

We actually don't use the istio deployment of prometheus anyway, so i was only wanting to inspect the templated output. Instead I started looking at https://github.com/istio/istio/blob/release-1.6/manifests/charts/istio-telemetry/prometheus/templates/deployment.yaml

I can't really decipher what I need to do in order to migrate here.

Have I missed some documentation that clearly explains how people migrate to SDS?

[x] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure

Expected behavior
Clear guidance when making breaking changes.

Steps to reproduce the bug

Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
1.6.12

How was Istio installed?
Helm

Environment where bug was observed (cloud vendor, OS, etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions