Skip to content

Instantly share code, notes, and snippets.

View adrian-pino's full-sized avatar

Adrian Pino adrian-pino

View GitHub Profile
@adrian-pino
adrian-pino / kind-installation-node-accessible-from-outside.md
Last active May 22, 2025 11:18
Kind installation for a cluster that is reachable from outside of the node

Kind installation for a cluster reachable from outside of the node

# Variables definition
CLUSTER_NAME = cilium-kind
CONTROL_PLANE_IP= X.Y.Z.T

kind create cluster --name $CLUSTER_NAME --config - <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
@adrian-pino
adrian-pino / Resize-vm-disk-lvm.md
Last active March 13, 2025 14:39
Resize an Ubuntu VM disk with LVM

Disk Resizing on Ubuntu VM with LVM

0. Resize the disk from the hypervisor (e.g.: Proxmox)

1. Rescan the Disk & Check the current partitions

Before starting, ensure the kernel recognizes the new size of the disk:

sudo partprobe
@adrian-pino
adrian-pino / Add-kubeconfig-file.md
Last active November 26, 2024 11:42
Add additional kubeconfigs

How to add an additional kubernetes config file to your current one

How to add an additional kubernetes config file to your current one (located in ~./kube/config)

  1. Backup the existing kubeconfig

    Before making any changes, it's essential to back up your existing kubeconfig file.

    cp ~/.kube/config ~/.kube/config.backup