github.com/grafana/pyroscope@v1.18.0/operations/pyroscope/jsonnet/values.json (about)

     1  {
     2    "agent": {
     3      "agent": {
     4        "clustering": {
     5          "enabled": true
     6        },
     7        "configMap": {
     8          "create": false,
     9          "name": "grafana-agent-config-pyroscope"
    10        }
    11      },
    12      "controller": {
    13        "podAnnotations": {
    14          "profiles.grafana.com/cpu.port_name": "http-metrics",
    15          "profiles.grafana.com/cpu.scrape": "true",
    16          "profiles.grafana.com/goroutine.port_name": "http-metrics",
    17          "profiles.grafana.com/goroutine.scrape": "true",
    18          "profiles.grafana.com/memory.port_name": "http-metrics",
    19          "profiles.grafana.com/memory.scrape": "true"
    20        },
    21        "replicas": 1,
    22        "type": "statefulset"
    23      },
    24      "enabled": false
    25    },
    26    "alloy": {
    27      "alloy": {
    28        "clustering": {
    29          "enabled": true
    30        },
    31        "configMap": {
    32          "create": false,
    33          "name": "alloy-config-pyroscope"
    34        },
    35        "stabilityLevel": "public-preview"
    36      },
    37      "controller": {
    38        "podAnnotations": {
    39          "profiles.grafana.com/cpu.port_name": "http-metrics",
    40          "profiles.grafana.com/cpu.scrape": "true",
    41          "profiles.grafana.com/goroutine.port_name": "http-metrics",
    42          "profiles.grafana.com/goroutine.scrape": "true",
    43          "profiles.grafana.com/memory.port_name": "http-metrics",
    44          "profiles.grafana.com/memory.scrape": "true",
    45          "profiles.grafana.com/service_git_ref": "v1.8.1",
    46          "profiles.grafana.com/service_repository": "https://github.com/grafana/alloy"
    47        },
    48        "replicas": 1,
    49        "type": "statefulset"
    50      },
    51      "enabled": true
    52    },
    53    "architecture": {
    54      "deployUnifiedServices": false,
    55      "microservices": {
    56        "clusterLabelSuffix": "-micro-services",
    57        "enabled": false,
    58        "v1": {
    59          "ad-hoc-profiles": {
    60            "kind": "Deployment",
    61            "replicaCount": 1,
    62            "resources": {
    63              "limits": {
    64                "memory": "4Gi"
    65              },
    66              "requests": {
    67                "cpu": 0.1,
    68                "memory": "16Mi"
    69              }
    70            }
    71          },
    72          "compactor": {
    73            "kind": "StatefulSet",
    74            "persistence": {
    75              "enabled": false
    76            },
    77            "replicaCount": 3,
    78            "resources": {
    79              "limits": {
    80                "memory": "16Gi"
    81              },
    82              "requests": {
    83                "cpu": 1,
    84                "memory": "8Gi"
    85              }
    86            },
    87            "terminationGracePeriodSeconds": 1200
    88          },
    89          "distributor": {
    90            "kind": "Deployment",
    91            "replicaCount": 2,
    92            "resources": {
    93              "limits": {
    94                "memory": "1Gi"
    95              },
    96              "requests": {
    97                "cpu": "500m",
    98                "memory": "256Mi"
    99              }
   100            }
   101          },
   102          "ingester": {
   103            "kind": "StatefulSet",
   104            "replicaCount": 3,
   105            "resources": {
   106              "limits": {
   107                "memory": "16Gi"
   108              },
   109              "requests": {
   110                "cpu": 1,
   111                "memory": "8Gi"
   112              }
   113            },
   114            "terminationGracePeriodSeconds": 600
   115          },
   116          "querier": {
   117            "extraArgs": {
   118              "store-gateway.sharding-ring.replication-factor": "3"
   119            },
   120            "kind": "Deployment",
   121            "replicaCount": 3,
   122            "resources": {
   123              "limits": {
   124                "memory": "1Gi"
   125              },
   126              "requests": {
   127                "cpu": 1,
   128                "memory": "256Mi"
   129              }
   130            }
   131          },
   132          "query-frontend": {
   133            "kind": "Deployment",
   134            "replicaCount": 2,
   135            "resources": {
   136              "limits": {
   137                "memory": "1Gi"
   138              },
   139              "requests": {
   140                "cpu": "100m",
   141                "memory": "256Mi"
   142              }
   143            }
   144          },
   145          "query-scheduler": {
   146            "kind": "Deployment",
   147            "replicaCount": 2,
   148            "resources": {
   149              "limits": {
   150                "memory": "1Gi"
   151              },
   152              "requests": {
   153                "cpu": "100m",
   154                "memory": "256Mi"
   155              }
   156            }
   157          },
   158          "store-gateway": {
   159            "extraArgs": {
   160              "store-gateway.sharding-ring.replication-factor": "3"
   161            },
   162            "kind": "StatefulSet",
   163            "persistence": {
   164              "enabled": false
   165            },
   166            "readinessProbe": {
   167              "initialDelaySeconds": 60
   168            },
   169            "replicaCount": 3,
   170            "resources": {
   171              "limits": {
   172                "memory": "16Gi"
   173              },
   174              "requests": {
   175                "cpu": 1,
   176                "memory": "8Gi"
   177              }
   178            }
   179          },
   180          "tenant-settings": {
   181            "kind": "Deployment",
   182            "replicaCount": 1,
   183            "resources": {
   184              "limits": {
   185                "memory": "4Gi"
   186              },
   187              "requests": {
   188                "cpu": 0.1,
   189                "memory": "16Mi"
   190              }
   191            }
   192          }
   193        },
   194        "v2": {
   195          "ad-hoc-profiles": {
   196            "kind": "Deployment",
   197            "replicaCount": 1,
   198            "resources": {
   199              "limits": {
   200                "memory": "256Mi"
   201              },
   202              "requests": {
   203                "cpu": 0.1,
   204                "memory": "16Mi"
   205              }
   206            }
   207          },
   208          "admin": {
   209            "kind": "Deployment",
   210            "replicaCount": 1,
   211            "resources": {
   212              "limits": {
   213                "memory": "256Mi"
   214              },
   215              "requests": {
   216                "cpu": 0.1,
   217                "memory": "16Mi"
   218              }
   219            }
   220          },
   221          "compaction-worker": {
   222            "kind": "StatefulSet",
   223            "persistence": {
   224              "enabled": false
   225            },
   226            "replicaCount": 3,
   227            "resources": {
   228              "limits": {
   229                "memory": "2Gi"
   230              },
   231              "requests": {
   232                "cpu": 1,
   233                "memory": "1Gi"
   234              }
   235            },
   236            "terminationGracePeriodSeconds": 1200
   237          },
   238          "distributor": {
   239            "kind": "Deployment",
   240            "replicaCount": 2,
   241            "resources": {
   242              "limits": {
   243                "memory": "1Gi"
   244              },
   245              "requests": {
   246                "cpu": "500m",
   247                "memory": "256Mi"
   248              }
   249            }
   250          },
   251          "metastore": {
   252            "extraArgs": {
   253              "adaptive-placement.max-dataset-shards": 1024,
   254              "adaptive-placement.unit-size-bytes": 131072,
   255              "metastore.index.cleanup-interval": "1m",
   256              "metastore.raft.bootstrap-expect-peers": 3,
   257              "metastore.snapshot-compact-on-restore": true
   258            },
   259            "kind": "StatefulSet",
   260            "persistence": {
   261              "enabled": false
   262            },
   263            "replicaCount": 3,
   264            "resources": {
   265              "limits": {
   266                "memory": "2Gi"
   267              },
   268              "requests": {
   269                "cpu": 1,
   270                "memory": "1Gi"
   271              }
   272            },
   273            "terminationGracePeriodSeconds": 1200
   274          },
   275          "query-backend": {
   276            "kind": "Deployment",
   277            "replicaCount": 3,
   278            "resources": {
   279              "limits": {
   280                "memory": "1Gi"
   281              },
   282              "requests": {
   283                "cpu": 1,
   284                "memory": "256Mi"
   285              }
   286            }
   287          },
   288          "query-frontend": {
   289            "kind": "Deployment",
   290            "replicaCount": 2,
   291            "resources": {
   292              "limits": {
   293                "memory": "1Gi"
   294              },
   295              "requests": {
   296                "cpu": "100m",
   297                "memory": "256Mi"
   298              }
   299            }
   300          },
   301          "segment-writer": {
   302            "kind": "StatefulSet",
   303            "replicaCount": 3,
   304            "resources": {
   305              "limits": {
   306                "memory": "4Gi"
   307              },
   308              "requests": {
   309                "cpu": 1,
   310                "memory": "2Gi"
   311              }
   312            },
   313            "terminationGracePeriodSeconds": 600
   314          },
   315          "tenant-settings": {
   316            "kind": "Deployment",
   317            "replicaCount": 1,
   318            "resources": {
   319              "limits": {
   320                "memory": "256Mi"
   321              },
   322              "requests": {
   323                "cpu": 0.1,
   324                "memory": "16Mi"
   325              }
   326            }
   327          }
   328        }
   329      },
   330      "overwriteResources": {},
   331      "storage": {
   332        "migration": {
   333          "ingesterWeight": 1,
   334          "queryBackend": true,
   335          "queryBackendFrom": "auto",
   336          "segmentWriterWeight": 1
   337        },
   338        "v1": true,
   339        "v2": false
   340      }
   341    },
   342    "ingress": {
   343      "annotations": {},
   344      "className": "",
   345      "enabled": false,
   346      "labels": {},
   347      "pathType": "ImplementationSpecific"
   348    },
   349    "minio": {
   350      "buckets": [
   351        {
   352          "name": "grafana-pyroscope-data",
   353          "policy": "none",
   354          "purge": false
   355        }
   356      ],
   357      "drivesPerNode": 2,
   358      "enabled": false,
   359      "persistence": {
   360        "size": "5Gi"
   361      },
   362      "podAnnotations": {},
   363      "replicas": 1,
   364      "resources": {
   365        "requests": {
   366          "cpu": "100m",
   367          "memory": "128Mi"
   368        }
   369      },
   370      "rootPassword": "supersecret",
   371      "rootUser": "grafana-pyroscope"
   372    },
   373    "pyroscope": {
   374      "affinity": {},
   375      "cluster_domain": ".cluster.local.",
   376      "components": {},
   377      "config": "{{- if .Values.minio.enabled }}\nstorage:\n  backend: s3\n  s3:\n    endpoint: \"{{ include \"pyroscope.fullname\" . }}-minio:9000\"\n    bucket_name: {{(index .Values.minio.buckets 0).name | quote }}\n    access_key_id: {{ .Values.minio.rootUser | quote }}\n    secret_access_key: {{ .Values.minio.rootPassword | quote }}\n    insecure: true\n{{- end }}\n",
   378      "disableSelfProfile": true,
   379      "dnsPolicy": "ClusterFirst",
   380      "extraArgs": {
   381        "log.level": "debug"
   382      },
   383      "extraCustomEnvVars": {},
   384      "extraEnvFrom": [],
   385      "extraEnvVars": {},
   386      "extraLabels": {},
   387      "extraVolumeMounts": [],
   388      "extraVolumes": [],
   389      "fullnameOverride": "",
   390      "grpc": {
   391        "port": 9095,
   392        "port_name": "grpc"
   393      },
   394      "image": {
   395        "pullPolicy": "IfNotPresent",
   396        "repository": "grafana/pyroscope",
   397        "tag": ""
   398      },
   399      "imagePullSecrets": [],
   400      "initContainers": [],
   401      "memberlist": {
   402        "port": 7946,
   403        "port_name": "memberlist"
   404      },
   405      "metastore": {
   406        "port": 9099,
   407        "port_name": "raft"
   408      },
   409      "nameOverride": "",
   410      "nodeSelector": {},
   411      "persistence": {
   412        "accessModes": [
   413          "ReadWriteOnce"
   414        ],
   415        "annotations": {},
   416        "enabled": false,
   417        "metastore": {
   418          "subPath": ".metastore"
   419        },
   420        "shared": {
   421          "subPath": ".shared"
   422        },
   423        "size": "10Gi"
   424      },
   425      "podAnnotations": {
   426        "profiles.grafana.com/cpu.port_name": "http2",
   427        "profiles.grafana.com/cpu.scrape": "true",
   428        "profiles.grafana.com/goroutine.port_name": "http2",
   429        "profiles.grafana.com/goroutine.scrape": "true",
   430        "profiles.grafana.com/memory.port_name": "http2",
   431        "profiles.grafana.com/memory.scrape": "true"
   432      },
   433      "podDisruptionBudget": {
   434        "enabled": true,
   435        "maxUnavailable": 1
   436      },
   437      "podSecurityContext": {
   438        "fsGroup": 10001,
   439        "runAsNonRoot": true,
   440        "runAsUser": 10001
   441      },
   442      "replicaCount": 1,
   443      "resources": {},
   444      "securityContext": {},
   445      "service": {
   446        "annotations": {},
   447        "headlessAnnotations": {},
   448        "port": 4040,
   449        "port_name": "http2",
   450        "scheme": "HTTP",
   451        "type": "ClusterIP"
   452      },
   453      "serviceAccount": {
   454        "annotations": {},
   455        "create": true,
   456        "name": ""
   457      },
   458      "structuredConfig": {},
   459      "tenantOverrides": {},
   460      "tolerations": [],
   461      "topologySpreadConstraints": []
   462    },
   463    "serviceMonitor": {
   464      "annotations": {},
   465      "enabled": false,
   466      "interval": null,
   467      "labels": {},
   468      "matchExpressions": [],
   469      "metricRelabelings": [],
   470      "namespaceSelector": {},
   471      "relabelings": [],
   472      "scheme": "http",
   473      "scrapeTimeout": null,
   474      "targetLabels": [],
   475      "tlsConfig": null
   476    }
   477  }