Skip to content
Discussion options

You must be logged in to vote

👋 Yes it is possible like this:

local kp =
  (import 'kube-prometheus/main.libsonnet') +
  (import 'kube-prometheus/addons/node-ports.libsonnet')
  {
    values+:: {
      prometheus+: {
        externalLabels: {
          cluster: 'us-east-1',
        },
      },
      common+: {
        namespace: 'monitoring',
      },
    }, 
    
    prometheus+: {
      prometheus+: {
        spec+: {
          remoteWrite: [{
              url: '<Your Metrics instance remote_write endpoint>',
              basicAuth: {
                username: {
                  name: 'kubepromsecret',
                  key: 'username'
                },
                password: {
                  name: 'kubepr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sumitdhameja
Comment options

Answer selected by paulfantom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants