Gibberish at is finest

It is fun how quite few words can mean a lot for some roles on IT but it can be just gibberish for most of people on IT. Fun commit description: IAM role for gha k8s SA How painful can be to integrate a Kubernetes account, so its pods can run things in AWS ( : Happy coding!

Read More »

k8s, aliases and frustation

I am not sure about you… but, after a few bi-zillions times running the same: k logs -f POD_NAME And get the error about the default container, so, you have to choose one, and then… run it again…. I wrote this: function klogs() { get_pod=$(kubectl get pods|awk ‘{print $1}’ | fzf) get_container=$(kubectl get pods ${get_pod} -o jsonpath='{.spec.containers[*].name}’ | tr -s ‘[[:space:]]’ ‘n’ |fzf ) kubectl logs -f ${get_pod} -c ${get_container} } You need https://github.com/junegunn/fzf , and will just give you a chance choose from the containers in the pod. Same has happen times enough in my life with cm, so,

Read More »