#kubectl

Dorian Santner 🇦🇹Dorianix@graz.social
2025-05-21

Das Juni-Treffen der #Python #Usergroup #Graz steht an.

Diesmal gibt es einen Vortrag (auf Englisch) von #Nicoo zum Thema:

"Modern #operations in python with #kubernetes "

- 3. Juni 2025 ab 19:00 Uhr
- im #Realraum

#ops #kubectl #k9s #steiermark #styria

pygraz.org

events.graz.social/events/8ffb

Chmouel Boudjnahchmouel@fosstodon.org
2025-04-18

Because I always forget, here's how to easily decode a kubectl secret with jq (I think there's a built-in way to do this, but life's too short to figure it out).

kubectl get secret secret -o json | jq -r '.data | to_entries[] | "\(.key): \(.value | @base64d)"'

#kubernetes #Shell #kubectl

ДевоПесdevops@twiukraine.com
2025-03-27

На жаль #kubectl команда "get nodes" може не показувати повну інформацію про ноди.
Щоб заставити #kubectl виводити потрібні дані можна використати #jq
```
kubectl -n get nodes -o json|jq -r '.items[].metadata | [.name, .annotations."alpha.kubernetes.io/provided-node-ip", .labels.lifecycle] | @tsv' |column -t
ip-192-168-131-224.eu-central-1.compute.internal 192.168.131.224 OnDemand
ip-192-168-133-177.eu-central-1.compute.internal 192.168.133.177 Ec2Spot
ip-192-168-135-25.eu-central-1.compute.internal 192.168.135.25 OnDemand
ip-192-168-150-219.eu-central-1.compute.internal 192.168.150.219 OnDemand
```
#Kubernetes

2025-03-16

20 полезных команд Kubernetes, о которых вы не знали

Ваш кластер снова ведёт себя как капризный ребёнок? Ошибки, зависшие поды, бесконечные деплои, которые идут не туда, куда нужно? Значит, пора прокачать свои навыки работы с kubectl! Мы собрали в этой подборке самые полезные команды с подробным описанием, которые помогут держать Kubernetes в узде и решать любые инциденты одной кнопкой!

habr.com/ru/companies/aeza/art

#devops #cloud #k8s #kubernetes #linux #kubectl #контейнеризация #контейнеры

Green Webpagegreenwebpage
2025-03-14

This guide will walk you through the process step-by-step, enabling you to harness the full potential of Kubernetes from your terminal.

greenwebpage.com/community/how

2025-02-19

Стратегии деплоя: как мы пришли к использованию Argo CD

Привет, Хабр! Меня зовут Егор Салиев, я DevOps-инженер в провайдере IT-решений Hilbert Team. Сегодня хочу затронуть тему, которую недавно обсуждали на Kuber MeetUp в Selectel, и которая будет интересна инженерам, занимающимся настройкой CI/CD и деплоем. Рассмотрим, как со временем менялась практика развертывания приложений в Kubernetes. Обсудим переход от ручного процесса к автоматизации и сравним две модели деплоя: push и pull. В результате мы дойдем до современного подхода — GitOps с Argo CD. Такой метод помогает компаниям стандартизировать процессы, уменьшить количество ошибок и сбоев, ускорить вывод продукта на рынок, а также сократить расходы на инфраструктуру.

habr.com/ru/companies/selectel

#selectel #hilbertteam #kubernetes #devops #argocd #terratest #gitlab #gitops #kubectl #helm

2025-02-04

Creating a #Kubernetes cluster in less than 10 minutes? What do use in 2025?

Let’s see and create a three node cluster in just minutes!

#talos #linux #howto #k8s #taloslinux #cloud #talosctl #kubectl

gyptazy.com/talos-linux-howto-

2025-01-06

Also, stop memorising the vimrc setup and #kubectl command completion. These are now standard in the environment.

Be prepared for a horrible test environment. It's like a VNC web client connected to the Linux desktop with a terminal and Firefox. Copy and paste between the browser and local to the VM is janky.

It looks like can install extra software I was able to install gron, but I did this via apt. So anything that requires a curl shell install script may not work. I noticed that kubernetes.io search still listed community topics but did not let you click on them.

You're expected to know #JSONPath / #jq. If you're mind goes blank (remember you won't be able to search StackOverflow), get the format of the output from kubectl correct and then use grep (the old ways are the best).

If you do use #Kubernetes but in a managed environment (EKS, AKS, etc) you'll want to drill the labs on installing/maintaining clusters, etcd maintenance and deployments (including network policies, ingresses, etc). Same applies if you're used to an automated deployment CD environment like #ArgoCD. Remember "--dry-run=client --output yaml" is your friend.

Finally, be aware there are multiple cluster environments in the exam (questions will tell you which context to use), so if you know how to mod your PS1 prompt make sure it includes the output from "kubectl config current-context". Alternatively, create an alias 😉

Do you have any useful tips? Share them in the replies?

Links 🔗
udemy.com/course/certified-kub
github.com/tomnomnom/gron

Jeff MAURYjeffmaury
2025-01-03

My collegue @mariolet did a nice lightning talk at KubeCon NA 2024 about a kubectl debugging extension: youtube.com/watch?v=fg57Zmm4eN4

Jeff MAURYjeffmaury
2024-12-19

My collegue @mariolet did a nice lightning talk at KubeCon NA 2024 about a kubectl debugging extension: youtube.com/watch?v=fg57Zmm4eN4

2024-11-30

I'm using #ansible to automate #helm which automates #kubectl which automates #crio which automates #cgroups and #namespaces. #kubernetes is #turtlesallthewaydown

Miguel Afonso Caetanoremixtures@tldr.nettime.org
2024-11-04

Here's a tutorial I wrote a few months ago that's aimed at software developers who work professionally with programming languages like Python, but aren't exactly familiar with Kubernetes and containerization. Essentially, it explains how to containerize a simple Python application in Docker and then deploy it to a Kubernetes cluster.

I have a few other technical writing pieces that I plan to make publicly available on my GitHub repository. In the medium term, I plan to create my own personal website just to store my portfolio of technical writing articles and to share/comment on interesting things I happen to notice about this profession. At the moment I'm still hesitating about the right technology stack to use - Hugo/Gatsby/Docusaurus/GitBook/Jeckyl...

"This hands-on tutorial provides a step-by-step guide to preparing an application image, setting up the necessary infrastructure, and deploying the image to a Kubernetes cluster. It is written for professional software developers who are new to Kubernetes and containerization."

github.com/remixtures/nordlys/

#Kubernetes #Docker #DevOps #Python #Programming #SoftwareDevelopment #TechnicalWriting #Containers #Containerization #Kubectl

Arthur Lutz (Zenika)arthurzenika@pouet.chapril.org
2024-09-27

> On-demand Webinar: Beyond Load Balancers: Scaling Out GenAI with Message Queues on Kubernetes

:star-struck: @jpetazzo est brillant as usual.

(genAI et ollama est un prétexte de demo pour cocher la case de la hype selon moi)

perfectscale.io/blog/scaling-o

#kubernetes #cloudnativePG #rabbitmq #autoscaling #HPA #keda, #loadbalancers #grafana, #kubectl #bento #helm #helmfile

2024-08-15

Don't use #EntraId login for #kubectl on #Azure #aks or you add a delay of several seconds to to your cli commands.

This sucks big time. Especialy as it is non deterministic.

You'll also see erros like this regulary: "E0815 18:55:51.093416 962504 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials"

#wtf

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst