Skip to content

Instantly share code, notes, and snippets.

View slintes's full-sized avatar
💻
implementing all the things...

Marc Sluiter slintes

💻
implementing all the things...
View GitHub Profile
@-moz-document domain("alex.github.io") {
body {
display: flex;
flex-direction: column;
}
#alaska {
display: none !important;
}
#north-carolina {
display: none !important;
package lease
import (
"context"
"time"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/tools/leaderelection/resourcelock"
)
@slintes
slintes / delete-release.sh
Last active March 10, 2020 17:40
Delete app release from quay.io
#!/usr/bin/env bash
set -e
if [ $# -lt 1 ]; then
echo "usage: ${0} list|delete <namespace> <package> [<release>]"
fi
case ${1} in

Keybase proof

I hereby claim:

  • I am slintes on github.
  • I am slintes (https://keybase.io/slintes) on keybase.
  • I have a public key whose fingerprint is 00E0 3026 89A3 ACD5 3430 48C1 CBA1 6EC5 DA5B E375

To claim this, I am signing this object:

@slintes
slintes / centralized-logging.md
Created June 25, 2018 13:04
centralized logging

Centralized logging

While it's easy to get logs from single containers with the kubectl logs command, sometimes it would be nice to have centralized logging, in order to see logs from different components ordered by time, and searchable. There are some applications available, which in combination provide this funtionality.

Fluentd

Fluentd is a log aggregator, which gathers logs from different sources, modifies them, and stores them in different kind of sinks. Here we use Fluentd to gather logs from the pods, enrich them with metadata