K8S Monitoring
Kubernetes monitoring
Kubernetes monitoring
Kubernetes networking
ZSH insecure directories 1 2 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? ncompinit: initialization aborted 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ❯ cd /usr/local/share/zsh sudo chmod -R 755 ./site-functions sudo chown -R root:root ./site-functions ❯ compaudit There are insecure directories: /home/alberto/zsh/completions/rg /home/alberto/zsh/completions/eza /home/alberto/zsh/pure /home/alberto/zsh/completions /home/alberto/zsh/completions /home/alberto/zsh
Kubernetes troubleshooting
Set up shortcuts for your terminal emulator
Static site generators
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....
Overview
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....
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....