Sunday, April 14, 2024

Minimal kubernetes pods log shipping with fluent-bit

I just released how to ship kubernetes cluster pod logs to Amazon Simple Storage Service (AWS S3) using fluent-bit. Platform engineers should do their best to keep cloud independence. This setup will work for Azure AKS, Google GKE and Amazon EKS. The choice for S3 is just a pick and not a preference. Google Cloud Storage (GCS) or Azure Blob Storage (ABS) will do the job as well (just check fluent-bit docs and adapt the code below for your choice).

Monday, February 19, 2024

My .vimrc for google (and amazon) cloud shell

Will keep here what I am using in google (and amazon) cloud shells.
" keep all defaults
source $VIMRUNTIME/defaults.vim
" disable visual mode when using mouse
set mouse=c
" keep all defaults
source $VIMRUNTIME/defaults.vim
" disable visual mode when using mouse
set mouse=c
" paste as copied
set paste
" indentation
set tabstop=2        " Set the width of a tab character to 2 spaces
set shiftwidth=2     " Set the number of spaces to use for each step of (auto)indent
set expandtab        " Convert tabs to spaces
set softtabstop=2    " Set the number of spaces a Tab counts for while performing editing operations, like inserting a Tab or using BS
set smartindent      " Enable smart indenting for new lines

Followers