core-dump-operator

command module
v0.0.0-...-6a8eecd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the charts v1alpha1 API group +kubebuilder:object:generate=true +groupName=charts.ibm.com
Package v1alpha1 contains API Schema definitions for the charts v1alpha1 API group +kubebuilder:object:generate=true +groupName=charts.ibm.com
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳