Skip to content

Instantly share code, notes, and snippets.

View picaron's full-sized avatar

Pascal Chouinard picaron

  • Upgrade Inc
  • Montreal
View GitHub Profile
@picaron
picaron / kube-alias.sh
Last active September 11, 2020 19:01
useful kubernetes aliases for using with orchard
alias k="kubectl"
alias kp="kubectl get pods"
alias ks="kubectl get pods"
alias kd="kubectl describe pod"
function kk() {
kubectl config get-contexts | grep '*' | awk '{print "Context:",$2,"\nNamespace:",$5}'
}
function kc() {
@picaron
picaron / monolith_log.json
Last active May 27, 2020 19:59
lnav format file for Monolith logs, to install do: lnav -i monolith_log.json
{
"monolith_log": {
"title": "Monolith Log Format",
"description": "Log format used by the monolith",
"json": true,
"timestamp-field": "@timestamp",
"level-field": "level",
"level": {
"trace": "TRACE",
"debug": "DEBUG",

Keybase proof

I hereby claim:

To claim this, I am signing this object: