Level up your SRE Game — Best of this Week — 25th June 2023
“Success is not final, failure is not fatal: It is the courage to continue that counts.” — Winston Churchill
I compile Site Reliability Engineering/DevOps-related articles every week and help you keep up your learning game.
This week we covered:
- Seamless upgrades for your Kubernetes Cluster
- Discover a Goldmine of Fundamental Programming Projects
- The Hidden Functionality Behind ‘kubectl cp’ Command
- Exciting New Feature in Kubernetes: In-place Resource Resizing
I also write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/
Seamless upgrades for your Kubernetes Cluster
Upgrading Kubernetes? Fear the risks?
Meet Kubent, the tool that saves you from future API chaos.
Kubent is a simple tool that detects deprecated APIs in your cluster. It analyzes your resource deployment and identifies deprecated APIs using the original manifest. You can use Kubent with:
📄 File: Local YAML or JSON manifests.
🔧 Kubectl: Extracts info from [https://lnkd.in/eJGs_36p](https://lnkd.in/eJGs_36p) annotation.
⛑️ Helm v3: Handles Helm manifests stored as Secrets or ConfigMaps.
Stay ahead of compatibility issues by finding potential issues before upgrading your Kubernetes cluster.
Try kubent and let me know your thoughts [https://lnkd.in/ecJg-FQe](https://lnkd.in/ecJg-FQe)
#kubernetes #devops
Discover a Goldmine of Fundamental Programming Projects
I landed upon a gold mine yesterday!
I wish I knew about it earlier! Are you curious about how they build things like Database, Docker, Torrent Client, Physics engines, regex engines, IDE, Programming language,s and more?
This #github repository is a compilation of various small projects which build a smaller version of these things from the ground up and help you understand the underlying fundamentals. Pick things one by one and learn them over a long period of time to become a much better programmer.
[https://lnkd.in/e7iEYjzV](https://lnkd.in/e7iEYjzV)
Share this gold mine so a lot more people discover it! 🙂
#opensource #programming #softwareengineering
The Hidden Functionality Behind ‘kubectl cp’ Command
Let me share a sneaky secret about kubectl!
Believe it or not, there’s no ‘kubectl cp’ command 🤯
It’s just a mask for ‘kubectl exec’, cleverly using the ‘tar’ command.
But watch out! 🚨 Your ‘kubectl cp’ could fail if the pod doesn’t have the ‘tar’ command installed.
To learn more — checkout this stackoverflow thread: [https://lnkd.in/eFhKwPjp](https://lnkd.in/eFhKwPjp)
So, keep this little Kubernetes trick in mind and make sure your pods are ready with the ‘tar’ command if you’re using `kubectl cp`! 💡
What other Kubernetes secrets do you know? Share your insights below! 🪄
#kubernetes
Exciting New Feature in Kubernetes: In-place Resource Resizing
Did you know about this new feature launched by Kubernetes recently?
The in-place resource resizing for Kubernetes pods.
What’s the big deal?
1️⃣ Adjust CPU & Memory resources of a running pod without any restarts. A new benchmark for operational efficiency!
2️⃣ Skip the hassle of creating a new pod or rebooting the containers within.
All you need is to patch the running pod spec using the resources field, and you’re all set — resources get updated smoothly!🔄
Kubernetes continues to make strides, providing us with enhanced control and flexibility.
Read more about this feature here: [https://lnkd.in/emCWKgBM](https://lnkd.in/emCWKgBM)
#kubernetes #devops