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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
coreos.Dockerfile
*.vscode*
.env
core-dump-agent/vendor/**
core-dump-agent/vendor/**
.idea
8 changes: 7 additions & 1 deletion charts/core-dump-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
containers:
- name: coredump-container
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
requests:
memory: {{ .Values.image.request_mem }}
Expand All @@ -30,7 +31,7 @@ spec:
- name: core-volume
mountPath: {{ .Values.daemonset.coreDirectory }}
mountPropagation: Bidirectional
{{- if .Values.composer.events }}
{{- if .Values.composer.coreEvents }}
- name: event-volume
mountPath: {{ .Values.daemonset.eventDirectory }}
mountPropagation: Bidirectional
Expand Down Expand Up @@ -134,6 +135,11 @@ spec:
- name: core-volume
persistentVolumeClaim:
claimName: core-storage-pvc
{{- if .Values.composer.coreEvents }}
- name: event-volume
persistentVolumeClaim:
claimName: event-storage-pvc
{{- end }}
{{- if .Values.daemonset.mountContainerRuntimeEndpoint }}
- name: container-runtime
hostPath:
Expand Down
12 changes: 12 additions & 0 deletions charts/core-dump-handler/values.minikube.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
storageClass: standard
image:
tag: latest
pullPolicy: Never
composer:
logLevel: "Debug"
daemonset:
mountContainerRuntimeEndpoint: true
hostContainerRuntimeEndpoint: "/var/run/cri-dockerd.sock"
crioEndpoint: "unix:///var/run/cri-dockerd.sock"
deployCrioConfig: true
includeCrioExe: true