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

Update agent and server tags in values.yaml #78

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/parca/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 4.19.0
version: 4.20.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.20.0
appVersion: v0.22.0
10 changes: 5 additions & 5 deletions charts/parca/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# parca

![Version: 4.19.0](https://img.shields.io/badge/Version-4.19.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.20.0](https://img.shields.io/badge/AppVersion-v0.20.0-informational?style=flat-square)
![Version: 4.20.0](https://img.shields.io/badge/Version-4.20.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.22.0](https://img.shields.io/badge/AppVersion-v0.22.0-informational?style=flat-square)

Open Source Infrastructure-wide continuous profiling

Expand Down Expand Up @@ -61,7 +61,7 @@ helm repo add parca https://parca-dev.github.io/helm-charts

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| agent.config | object | `{"relabel_configs":null}` | parca agent config block |
| agent.config | object | `{"relabel_configs":[{"source_labels":["__meta_process_executable_compiler"],"target_label":"compiler"},{"source_labels":["__meta_system_kernel_machine"],"target_label":"arch"},{"source_labels":["__meta_system_kernel_release"],"target_label":"kernel_version"},{"source_labels":["__meta_kubernetes_namespace"],"target_label":"namespace"},{"source_labels":["__meta_kubernetes_pod_name"],"target_label":"pod"},{"source_labels":["__meta_kubernetes_pod_container_name"],"target_label":"container"},{"source_labels":["__meta_kubernetes_pod_container_image"],"target_label":"container_image"},{"source_labels":["__meta_kubernetes_node_label_topology_kubernetes_io_region"],"target_label":"region"},{"source_labels":["__meta_kubernetes_node_label_topology_kubernetes_io_zone"],"target_label":"zone"},{"action":"labelmap","regex":"__meta_kubernetes_pod_label_(.+)","replacement":"${1}"},{"action":"labeldrop","regex":"apps_kubernetes_io_pod_index|controller_revision_hash|statefulset_kubernetes_io_pod_name|pod_template_hash"}]}` | parca agent config block |
| agent.enablePsp | bool | `false` | If the PodSecurityPolicy should be enabled |
| agent.enabled | bool | `true` | Allows disabling parca agent |
| agent.extraArgs | list | `[]` | additional arguments to pass to the agent |
Expand All @@ -71,7 +71,7 @@ helm repo add parca https://parca-dev.github.io/helm-charts
| agent.extraVolumes | list | `[]` | Additional volumes for agent daemonset |
| agent.image.pullPolicy | string | `"IfNotPresent"` | Overrides pullpolicy |
| agent.image.repository | string | `"ghcr.io/parca-dev/parca-agent"` | Overrides the image repository |
| agent.image.tag | string | `"v0.28.0"` | Overrides the image tag |
| agent.image.tag | string | `"v0.32.0"` | Overrides the image tag |
| agent.logLevel | string | `"info"` | Agent log level |
| agent.nodeSelector | object | `{}` | node selector for scheduling agent pods |
| agent.podAnnotations | object | `{}` | Additional annotations for pods |
Expand All @@ -98,7 +98,7 @@ helm repo add parca https://parca-dev.github.io/helm-charts
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | overrides chart name |
| server.config | object | `{"object_storage":{"bucket":{"config":{"directory":"./tmp"},"type":"FILESYSTEM"}}}` | parca server config block |
| server.config | object | `{"object_storage":{"bucket":{"config":null,"type":"FILESYSTEM"}}}` | parca server config block |
| server.corsAllowedOrigins | string | `"*"` | CORS setting |
| server.enabled | bool | `true` | Allows disabling parca server |
| server.extraArgs | list | `[]` | additional arguments to pass to the server |
Expand All @@ -109,7 +109,7 @@ helm repo add parca https://parca-dev.github.io/helm-charts
| server.extraVolumes | list | `[]` | Additional volumes for server deployment |
| server.image.pullPolicy | string | `"IfNotPresent"` | Overrides pull policy for server |
| server.image.repository | string | `"ghcr.io/parca-dev/parca"` | Overrides the image repository for server |
| server.image.tag | string | `"v0.20.0"` | Overrides the image tag for server |
| server.image.tag | string | `"v0.22.0"` | Overrides the image tag for server |
| server.logLevel | string | `"info"` | logging level of parca server |
| server.nodeSelector | object | `{}` | node selector for scheduling server pod |
| server.otlpAddress | string | `""` | OpenTelemetry collector address to send traces to |
Expand Down
8 changes: 7 additions & 1 deletion charts/parca/ci/k3s-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@
agent:
socketPath: /run/containerd/containerd.sock
extraArgs:
- --allow-running-in-non-root-pid-namespace
- --allow-running-in-non-root-pid-namespace
server:
config:
object_storage:
bucket:
config:
directory: "./tmp"
1 change: 0 additions & 1 deletion charts/parca/templates/agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ spec:
image: "{{ .Values.agent.image.repository }}:{{ .Values.agent.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.agent.image.pullPolicy }}
args:
- /bin/parca-agent
- --log-level={{ .Values.agent.logLevel }}
- --node=$(NODE_NAME)
- --http-address=$(MY_POD_IP):7071
Expand Down
29 changes: 26 additions & 3 deletions charts/parca/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@ agent:
# -- parca agent config block
config:
relabel_configs:
- source_labels: [__meta_process_executable_compiler]
target_label: compiler
- source_labels: [__meta_system_kernel_machine]
target_label: arch
- source_labels: [__meta_system_kernel_release]
target_label: kernel_version
- source_labels: [__meta_kubernetes_namespace]
target_label: namespace
- source_labels: [__meta_kubernetes_pod_name]
target_label: pod
- source_labels: [__meta_kubernetes_pod_container_name]
target_label: container
- source_labels: [__meta_kubernetes_pod_container_image]
target_label: container_image
- source_labels: [__meta_kubernetes_node_label_topology_kubernetes_io_region]
target_label: region
- source_labels: [__meta_kubernetes_node_label_topology_kubernetes_io_zone]
target_label: zone
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
replacement: ${1}
- action: labeldrop
regex: apps_kubernetes_io_pod_index|controller_revision_hash|statefulset_kubernetes_io_pod_name|pod_template_hash


# -- If the PodSecurityPolicy should be enabled
enablePsp: false
Expand All @@ -22,7 +46,7 @@ agent:
# -- Overrides pullpolicy
pullPolicy: IfNotPresent
# -- Overrides the image tag
tag: "v0.28.0"
tag: "v0.32.0"
# -- Agent log level
logLevel: info
# -- additional arguments to pass to the agent
Expand Down Expand Up @@ -81,7 +105,7 @@ server:
# -- Overrides pull policy for server
pullPolicy: IfNotPresent
# -- Overrides the image tag for server
tag: "v0.20.0"
tag: "v0.22.0"
# -- extra containers (e.g: auth proxy)
extraContainers: []
# -- logging level of parca server
Expand Down Expand Up @@ -111,7 +135,6 @@ server:
bucket:
type: "FILESYSTEM"
config:
directory: "./tmp"
# -- scrape configs for parca server
scrapeConfigs:
- job_name: 'kubernetes-pods'
Expand Down
Loading