README.md

grace_shutdown

An example of using signal handling to gracefully shut down pods when they terminate.

Two modules work: the sender queues messages on RabbitMQ, the receiver selects messages from the queue.

When deleting a receiver, the pod exits gracefully: when the replica set restarts receiver, no messages are lost.

Humio Community Edition is used for storing logs.

Usage:

Create Humio parser named clearway (humio/clearway.txt)

Replace Humio ingest token value in helm/values.yaml

$ minikube start -p grace
$ kubectl create ns grace
$ cd docker
$ ./build_minikube
$ cd ../helm
$ helm dependencies build grace
$ helm install grace grace --namespace grace

To run locally:

$ cd docker
$ ./build_local
$ docker-compose up
Описание

An example of using signal handling to gracefully shut down pods when they terminate.

Конвейеры
0 успешных
0 с ошибкой