Skip to content

A process for collecting core dumps and uploading them to object storage

License

Notifications You must be signed in to change notification settings

IBM/core-dump-operator

Repository files navigation

core-dump-operator

An experimental operator for https://github.com/IBM/core-dump-handler. This repository contains a special uploader to enable multi-tenant core-dump collection per namespace. The custom uploader searches and uses a secret with type: core-dump-handler in the namespace that runs a core-dumper process.

install with public images

Create a namespace for the operator

oc create namespace core-dump-handler

Label the namespace

oc label namespace core-dump-handler core-dump-handler=enabled"

Run bundle command to deploy the operator

operator-sdk run bundle ghcr.io/ibm/core-dump-operator/core-dump-operator-bundle:v0.0.1 --namespace core-dump-handler

Update the S3 values in the config/samples/secrets.yaml and deploy a sample daemonset with it.

kubectl apply -f config/samples/secrets.yaml \
              -f config/samples/charts_v1alpha1_coredumphandler.yaml

install from commandline

make deploy

install as bundle

Build and push the core-dump-uploader

make uploader-push

Build and push the operator image

make docker-build docker-push IMG="myrepo.io/core-dump-operator:v0.0.1"

Setup the bundle

make bundle IMG="myrepo.io/core-dump-operator:v0.0.1"

Build and push the bundle image

make bundle-build bundle-push BUNDLE_IMG="myrepo.io/core-dump-operator-bundle:v0.0.1"

Run bundle command

operator-sdk run bundle myrepo.io/core-dump-operator-bundle:v0.0.1 --pull-secret-name mysecret --namespace target

deploy the deamonset

Update the S3 values in the config/samples/secrets.yaml

kubectl apply -f config/samples/secrets.yaml \
              -f config/samples/charts_v1alpha1_coredumphandler.yaml

About

A process for collecting core dumps and uploading them to object storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages