You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Core Dump Handler
2
2
3
-
This helm chart is designed to deploy functionality that automatically saves core dumps from most public cloud kubernetes service providers and private kubernetes instances to an S3 compatible storage service.
3
+
This helm chart is designed to deploy functionality that automatically saves core dumps from most public cloud kubernetes service providers and private kubernetes instances to an object storage service.
[](https://quay.io/repository/icdh/core-dump-handler)
@@ -99,7 +99,7 @@ This chart aims to tackle the problems surrounding core dumps by leveraging comm
99
99
100
100
The chart deploys two processes:
101
101
102
-
1. The **agent** manages the updating of `/proc/sys/kernel/*` configuration, deploys the composer service and uploads the core dumps zipfile created by the composer to an object storage instance.
102
+
1. The **agent** manages the updating of `/proc/sys/kernel/*` configuration, deploys the composer service and uploads the core dumps zipfile created by the composer to an object storage instance. Native S3-compatible and Azure Blob Storage uploads are supported.
103
103
104
104
2. The **composer** handles the processing of a core dump and creating runtime, container coredump and image JSON documents from CRICTL and inserting them into a single zip file. The zip file is stored on the local file system of the node for the agent to upload.
105
105
@@ -205,6 +205,11 @@ or run the helm install command with the settings
Copy file name to clipboardExpand all lines: charts/core-dump-handler/README.md
+56-3Lines changed: 56 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Core Dump Handler
2
2
3
-
This helm chart is designed to deploy functionality that automatically saves core dumps from any public cloud kubernetes service provider or [RedHat OpenShift Kubernetes Service](https://cloud.ibm.com/kubernetes/catalog/create?platformType=openshift) to an S3 compatible storage service.
3
+
This helm chart is designed to deploy functionality that automatically saves core dumps from any public cloud kubernetes service provider or [RedHat OpenShift Kubernetes Service](https://cloud.ibm.com/kubernetes/catalog/create?platformType=openshift) to an object storage service.
4
4
5
5
## Prerequisites
6
6
7
7
The [Helm](https://helm.sh/) cli to run the chart
8
8
9
-
An [S3 Protocol Compatible](https://en.wikipedia.org/wiki/Amazon_S3) object storage solution.
9
+
An object storage solution reachable from the cluster. Native S3-compatible uploads and Azure Blob Storage uploads are supported.
10
10
11
11
A [CRIO](https://cri-o.io/) compatible container runtime on the kubernetes hosts. If you service provider uses something else we will willingly recieve patches to support them.
Where the `--set` options are configuration for your S3 protocol compatible provider
24
24
25
+
Azure Blob Storage is auto-detected when `daemonset.azureClientId` is present. The agent prioritizes managed identity authentication; if the client ID is not set, it falls back to connection string / account key.
@@ -234,6 +261,13 @@ The agent pod has the following environment variables and these are all set by t
234
261
e.g. --set S3_REGION=host.mycloud.com
235
262
236
263
See https://github.com/IBM/core-dump-handler/issues/124 for further discussion.
264
+
* STORAGE_PROVIDER - Optional explicit backend selector. Supported values are `s3` and `azure`. When omitted, the agent auto-detects Azure if Azure storage settings are present, otherwise it uses S3.
265
+
* AZURE_STORAGE_CONNECTION_STRING - Azure Blob Storage connection string. When set, the agent derives account and endpoint settings from it.
266
+
* AZURE_STORAGE_ACCOUNT_NAME - Azure storage account name when not using a connection string.
267
+
* AZURE_STORAGE_ACCOUNT_KEY - Azure storage account key when not using a connection string.
268
+
* AZURE_STORAGE_CONTAINER_NAME - Blob container that receives the uploaded archives.
269
+
* AZURE_STORAGE_BLOB_ENDPOINT - Blob service endpoint, for example `https://myaccount.blob.core.windows.net`.
270
+
* AZURE_STORAGE_BLOB_PREFIX - Optional virtual folder prefix prepended to each uploaded blob name.
237
271
* VENDOR - Some older hosts may require targeted builds for the composer.
238
272
239
273
default(Default) - A RHEL8 build
@@ -258,6 +292,18 @@ The following secrets are configurable and map to the corresponding environment
258
292
259
293
key: s3Region
260
294
295
+
key: azureStorageConnectionString
296
+
297
+
key: azureStorageAccountName
298
+
299
+
key: azureStorageAccountKey
300
+
301
+
key: azureStorageContainerName
302
+
303
+
key: azureStorageBlobEndpoint
304
+
305
+
key: azureStorageBlobPrefix
306
+
261
307
### Values
262
308
263
309
General
@@ -322,14 +368,21 @@ Daemonset
322
368
* useINotify: Maps to the USE_INOTIFY environment variable (Default false)
323
369
* DeployCrioConfig: Maps to the DEPLOY_CRIO_CONFIG enviroment variable (Default false)
324
370
* includeCrioExe: Maps to the DEPLOY_CRIO_EXE enviroment variable (Default false)
325
-
* manageStoreSecret: Defines if the chart will be responsible for creating the S3 environment variables.
371
+
* manageStoreSecret: Defines if the chart will be responsible for creating the storage environment variables.
326
372
327
373
Set to false if you are using an external secrets managment system (Default true)
328
374
375
+
* storageProvider : Maps to the STORAGE_PROVIDER enviroment variable. Use `azure` to force Azure Blob Storage, `s3` to force S3, or leave empty for autodetection.
329
376
* s3AccessKey : Maps to the S3_ACCESS_KEY enviroment variable
330
377
* s3Secret : Maps to the S3_SECRET enviroment variable
331
378
* s3BucketName : Maps to the S3_BUCKET_NAME enviroment variable
332
379
* 3Region : Maps to the S3_REGION enviroment variable
380
+
* azureStorageConnectionString : Maps to the AZURE_STORAGE_CONNECTION_STRING environment variable
381
+
* azureStorageAccountName : Maps to the AZURE_STORAGE_ACCOUNT_NAME environment variable
382
+
* azureStorageAccountKey : Maps to the AZURE_STORAGE_ACCOUNT_KEY environment variable
383
+
* azureStorageContainerName : Maps to the AZURE_STORAGE_CONTAINER_NAME environment variable
384
+
* azureStorageBlobEndpoint : Maps to the AZURE_STORAGE_BLOB_ENDPOINT environment variable
385
+
* azureStorageBlobPrefix : Maps to the AZURE_STORAGE_BLOB_PREFIX environment variable
333
386
* extraEnvVars: Option for passing additional configuration to the agent such as endpoint properties.
334
387
* envFrom: Array of [EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#envfromsource-v1-core) to inject into main container.
335
388
* sidecarContainers: Array of [Container](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#container-v1-core) to define as part of the pod.
0 commit comments