Skip to content

Commit

Permalink
Merge pull request #14 from TomHellier/master
Browse files Browse the repository at this point in the history
#13 various fixes to helm chart
  • Loading branch information
rlex authored Sep 5, 2022
2 parents f859b34 + b255caf commit 02ffa38
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/parca/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.2.0
version: 2.2.1

# 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
Expand Down
8 changes: 5 additions & 3 deletions charts/parca/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# parca

![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.0](https://img.shields.io/badge/AppVersion-v0.12.0-informational?style=flat-square)
![Version: 2.2.1](https://img.shields.io/badge/Version-2.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.1](https://img.shields.io/badge/AppVersion-v0.12.1-informational?style=flat-square)

Open Source Infrastructure-wide continuous profiling

Expand Down Expand Up @@ -44,10 +44,11 @@ helm repo add parca https://parca-dev.github.io/helm-charts
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| agent.enabled | bool | `true` | Allows disabling parca agent |
| agent.extraArgs | list | `[]` | additional arguments to pass to the agent |
| agent.extraEnv | list | `[]` | Additional container environment variables for agent |
| 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.9.0"` | Overrides the image tag |
| agent.image.tag | string | `"v0.9.1"` | 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 Down Expand Up @@ -75,10 +76,11 @@ helm repo add parca https://parca-dev.github.io/helm-charts
| server.config | object | `{"debug_info":{"bucket":{"config":{"directory":"./tmp"},"type":"FILESYSTEM"},"cache":{"config":{"directory":"./tmp"},"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 |
| server.extraEnv | list | `[]` | additional container environment variables for server |
| 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.12.0"` | Overrides the image tag for server |
| server.image.tag | string | `"v0.12.1"` | 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
3 changes: 3 additions & 0 deletions charts/parca/templates/agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
{{- if .Values.agent.podLabelSelector }}
- --pod-label-selector={{ .Values.agent.podLabelSelector }}
{{- end }}
{{- with .Values.agent.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- containerPort: 7071
hostPort: 7071
Expand Down
9 changes: 6 additions & 3 deletions charts/parca/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ spec:
{{- if .Values.server.otlpAddress }}
- --otlp-address={{ .Values.server.otlpAddress }}
{{- end }}
{{- with .Values.server.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
livenessProbe:
exec:
command:
- /grpc-health-probe
- /grpc_health_probe
- -v
- -addr=:7070
initialDelaySeconds: 5
Expand All @@ -59,7 +62,7 @@ spec:
readinessProbe:
exec:
command:
- /grpc-health-probe
- /grpc_health_probe
- -v
- -addr=:7070
initialDelaySeconds: 10
Expand Down Expand Up @@ -88,4 +91,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/parca/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ agent:
logLevel: info
# -- label selector for filtering out pods with pprof, ie "parca=enabled"
podLabelSelector: ""
# -- additional arguments to pass to the agent
extraArgs: []
# -- Additional container environment variables for agent
extraEnv: []
# -- Address of parca server to send profiles. If not defined, will be generated based on deployment settings.
Expand Down Expand Up @@ -71,6 +73,8 @@ server:
storageActiveMemory: 536870912
# -- OpenTelemetry collector address to send traces to
otlpAddress: ""
# -- additional arguments to pass to the server
extraArgs: []
# -- additional container environment variables for server
extraEnv: []
# -- parca server config block
Expand Down

0 comments on commit 02ffa38

Please sign in to comment.