K8S Troubleshooting

Kubernetes troubleshooting

July 13, 2024 · Alberto

Alacritty: escape sequence

Set up shortcuts for your terminal emulator

July 6, 2024 · Alberto

Hugo

Static site generators

July 2, 2024 · Alberto

Helm: The package manager for Kubernetes

Helm helm fetch You can use helm fetch to Download a chart to your local directory, so You can change the values in values.yaml file and then install it. for example: 1 helm fetch stable/superset --untar

Alberto

K8S Configuration Overview

Initially, Kubernetes was build to manage Docker Containers. Docker is the technology that made containers accessible to the mainstream. Containers were not an entirely new technology. LXC containers existed before and Linux namespaces are a thing since 2002, but Docker made it so easy to use containers. By handling software packaging, distribution and all low level network and device configuration, Docker allowed every developer to start any application in an isolated environment....

Alberto

Kubernetes Gateway Api

The Kubernetes Gateway API The Kubernetes Gateway API is a modern, extensible standard for managing ingress and routing traffic in Kubernetes environments. It builds upon the limitations of the legacy Ingress API to provide a vendor-agnostic, declarative framework for configuring L4 and L7 network traffic. The Gateway API is designed to unify and simplify traffic management while supporting advanced use cases such as multi-tenancy, path-based routing, and traffic splitting. Vendor-Agnostic Abstraction:...

Alberto

Lazygit: Git for Lazy People

Lazygit How to cherry pick with LazyGit From the “Commit” panel (or the “Branches” panel) focus on a commit an press Shift + c, you can select more than one Go to the “Commit” panel (in the “Branches” panel it doesn’t work) and press Shift + v, will ask for confirmation.

Alberto

Proxmox Overview

Overview

Alberto

Proxmox Remove Node from Cluster Including Ceph

The pvecm command is the tool you use to manage cluster nodes. It provides capabilities for checking the status of nodes, adding new nodes, and, crucially, removing nodes from the cluster. 1 pvecm nodes This command lists all nodes in the cluster and statuses. This definitely helps to understand the current topology before making changes or removing a node from a cluster, including the node ID that we will need later....

Alberto

PSQL Percona Monitoring and Management

Overview PMM Quickstart PMM HAProxy OPS Change the password for the default admin user. 1 docker exec -t pmm-server change-admin-password <new_password> Update With Watchtower: watchtower 1 docker run -v /var/run/docker.sock:/var/run/docker.sock -e WATCHTOWER_HTTP_API_UPDATE=1 -e WATCHTOWER_HTTP_API_TOKEN=your_watchtower_token --hostname=your_watchtower_host --network=pmm_default docker.io/perconalab/watchtower PMM and clients: 1 pmm-admin update Check version 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $ curl -ku admin:admin2024 https://localhost/v1/version { "version": "2.43.1", "server": { "version": "2....

Alberto