Skip to content
Merged
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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ To create the config map:
kubectl create cm <config map name> --from-file=config=alumet-agent-client.toml
```

### Using process-to-cgroup-bridge plugin

The process-to-cgroup-bridge find the associated cgroup to a process.
This plugin needs access to PIDs below `/proc/`. The key *hostPID* allows the pod to share the PID namespace, allowing the plugin to access other processes executed on the node.

### Using the nvml plugin

When enabling the nvml plugin through the values, the chart automatically appends a limits of `nvidia.com/gpu` to `1`.
Expand Down
4 changes: 2 additions & 2 deletions charts/alumet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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: 0.6.3
version: 0.7.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
Expand All @@ -33,5 +33,5 @@ dependencies:
version: 0.6.2
condition: alumet-relay-server.enabled
- name: alumet-relay-client
version: 0.6.3
version: 0.7.0
condition: alumet-relay-client.enabled
2 changes: 1 addition & 1 deletion charts/alumet/charts/alumet-relay-client/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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: 0.6.3
version: 0.7.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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ spec:
labels:
{{ include "alumet-relay-client.labels" . | nindent 8 }}
spec:
securityContext:
# for RAPL plugin we need to be root
runAsUser: 0
tolerations:
{{ toYaml .Values.tolerations | nindent 8 }}
{{- if .Values.runtimeClassName }}
runtimeClassName: {{ .Values.runtimeClassName }}
{{- end }}
serviceAccountName: {{ .Release.Name }}-alumet-reader
automountServiceAccountToken: true
{{- if .Values.hostPID }}
hostPID: {{ .Values.hostPID }}
{{- end }}
{{- if .Values.plugins.relay_client.enable }}
# if relay_client plugin is activated, wait starting alumet server
initContainers:
Expand Down
9 changes: 3 additions & 6 deletions charts/alumet/charts/alumet-relay-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ fullnameOverride: ''
runtimeClassName: ''

securityContext:
capabilities:
add:
- SYS_ADMIN
- SYS_NICE
- PERFMON
- SYS_PTRACE
privileged: true

hostPID: true

resources:
limits:
Expand Down
Loading