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

Add priorityclassname Support #779

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions deployments/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ eBPF-based autoinstrumentation of HTTP and HTTPS services
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | Tolerations allow pods to be scheduled on nodes with specific taints |
| updateStrategy.type | string | `"RollingUpdate"` | update strategy type |
| priorityClassName | string|`""` | priorityClassName for pods |
| updateStrategy.type | string | `"RollingUpdate"` | update strategy type |
georgesouzafarias marked this conversation as resolved.
Show resolved Hide resolved
| volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. |
| volumes | list | `[]` | Additional volumes on the output daemonset definition. |

5 changes: 4 additions & 1 deletion deployments/helm/templates/daemon-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
privileged: true
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
ports:
- containerPort: {{ .Values.service.targetPort }}
protocol: TCP
Expand All @@ -57,7 +60,7 @@ spec:
valueFrom:
{{- tpl (toYaml $value) $ | nindent 16 }}
{{- end }}
{{- with .Values.nodeSelector }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
6 changes: 4 additions & 2 deletions deployments/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rbac:
extraClusterRoleRules: []
# - apiGroups: []
# resources: []

serviceAccount:
# -- Specifies whether a service account should be created
create: true
Expand All @@ -67,6 +67,8 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

priorityClassName: ""
georgesouzafarias marked this conversation as resolved.
Show resolved Hide resolved

## -- Expose the beyla internal metrics service to be accessed from outside the cluster (LoadBalancer service).
## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
## ref: http://kubernetes.io/docs/user-guide/services/
Expand Down Expand Up @@ -174,7 +176,7 @@ config:
# grafana:
# otlp:
# cloud_zone: prod-eu-west-0
# cloud_instance_id: 123456
# cloud_instance_id: 123456
# cloud_api_key:
attributes:
kubernetes:
Expand Down
Loading