Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile
@taking
taking / kubevirt.md
Last active October 8, 2024 05:47
Learn how to use kubevirt with an example

01_install_kubernetes

  • (주의) hostname이 k8s-master로 변경됩니다.
curl 
https://gist.github.com/taking/024d5fdb7393b9ea1f1eb84c07cd992d/raw/85ef71854210439b131fcec097b050248f819751/k8s-v1.31-crio-auto-installation.sh | bash k8s-master master

02_install_helm

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
#!/bin/bash
# 작성자: Taking
# Ubuntu 22.04
# Kubernetes v1.31 설치 + 초기화
# Cri-o v1.31
# Flannel CNI
# 클러스터 이름 변경 (호스트명 기준)
# how-to
# > curl {gist_url}/k8s-v1.31-crio-auto-installation.sh | bash k8s-master master

Karmada Installation with Helm

  • Karmada on Kubernetes

Prerequisites

  • Kubernetes 1.20+
  • Helm 3.2.0+

Reference

#!/bin/bash
# Install oh-my-zsh from container image
curl -fsSL https://raw.githubusercontent.com/taking/taking/main/mySettings/scripts/ohmyzsh_install.sh | bash
# Function to install Python (placeholder)
install_python() {
echo "Python installation is not defined in this script."
}
#!/bin/bash
# Author by Taking
# (1) go language install + env
GO_URL="https://go.dev/dl"
GO_VERSION=$(curl -s 'https://go.dev/VERSION?m=text' | head -n1)
ARCH=$(dpkg --print-architecture)
GO_FILE="$GO_VERSION.linux-$ARCH.tar.gz"
RED='\033[0;31m'
#!/bin/bash
# Author by Taking
# ubuntu 22.04
# Kubernetes v1.25 Install + Reset
# Cri-o v1.25
# Flannel CNI
# Cluster Name Change (Host명 기준)
# MetalLB Install
RED=`tput setaf 1`

Authentik Installation with Helm

  • postrges, redis 이미지는 bitnami 를 이용하기 때문에 arm 환경에서는 사용 불가

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • pwgen package (apt-get install pwgen)
  • geoIP Account

SECRET KEY