Skip to content

Instantly share code, notes, and snippets.

View ferr0's full-sized avatar

Alexander ferr0

View GitHub Profile

Talos Cluster Certificate Expiration and Renewal

Problem Description

The user encountered an issue where they could no longer connect to their Talos cluster due to expired certificates. This manifested in two ways:

  1. Unable to use kubectl:
    kubectl get nodes
    

E1006 19:24:27.025594 1695958 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"

@AlexVlan
AlexVlan / gist:f5217a2064359e0004ff3a492a8b7fd0
Created September 30, 2024 15:08
redos-7.ks.pkrtpl.hcl
# Generated by Anaconda 33.25.4
# Generated by pykickstart v3.30
#version=F33
# url --url https://repo1.red-soft.ru/redos/7.3/x86_64/os/
# repo --name="Updates" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/updates/'
# repo --name="Extras" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/extras/'
# Repositories
url --url=https://repo1.red-soft.ru/redos/7.3/x86_64/os
# ,https://mirror.yandex.ru/redos/7.3/x86_64/os,http://repo.red-soft.ru/redos/7.3/x86_64/os
packer {
required_version = ">= 1.7.0"
required_plugins {
qemu = {
version = "~> 1.0"
source = "github.com/hashicorp/qemu"
}
}
}
@rothgar
rothgar / talos-root.sh
Created April 10, 2024 23:57
Get a "host" shell on Talos Linux
#!/usr/bin/env bash
if ! command -v kubectl &>/dev/null; then
echo "kubectl not be found"
exit 1
fi
if ! command -v fzf &>/dev/null; then
echo "fzf not be found"
exit 1
fi

Arch install with encrypted BTRFS (LUKS2), GRUB e AwesomeWM

My notes with the steps to install Arch Linux with encrypted BTRFS (LUKS2) and GRUB.

If you stumbled upon this document looking for a guide to install Arch Linux, I recommend checking the official installation guide on the Arch Linux Wiki: https://wiki.archlinux.org/title/Installation_guide. This is not a guide, just some notes that I'm taking while trying this setup and getting fragments of information from the internet.

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active November 11, 2026 23:20
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@ishad0w
ishad0w / sources.list
Created August 20, 2023 09:36
Debian 12 (Bookworm) -- Full sources.list and debian.sources
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
@fullmetalbrackets
fullmetalbrackets / oh-my-posh-install.md
Created July 13, 2023 07:34
Quick Guide - Install Oh-My-Posh in Windows Terminal or PowerShell with winget

Pre-Requisites

This guide will use the winget CLI tool to install and configure Oh-My-Posh. If you haven't already, I suggest installing Windows Terminal from the Microsoft Store and use Oh-My-Posh with it. If you'd rather not use Windows Terminal for some reason, you can still use Oh-My-Posh with PowerShell. Whichever you choose, check out these instructions to install winget.


Install Oh-My-Posh

winget install JanDeDobbeleer.OhMyPosh -s winget
@hakerdefo
hakerdefo / sources.list
Created June 11, 2023 18:47
Debian 12 "bookworm" complete sources.list
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
@cristaloleg
cristaloleg / golangci.yaml
Created March 28, 2023 07:01
Go linters configuration, the right version.
# See: https://olegk.dev/go-linters-configuration-the-right-version
run:
# Depends on your hardware, my laptop can survive 8 threads.
concurrency: 8
# I really care about the result, so I'm fine to wait for it.
timeout: 30m
# Fail if the error was met.