Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="13">
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
@taking
taking / kubevirt.md
Last active March 12, 2025 05:30
Learn how to use kubevirt with an example

01_Test_environment

kubernetes v1.31
cni : flannel v0.26.3
cri : cri-o v1.31

01_install_kubernetes

  • (주의) hostname이 k8s-master로 변경됩니다.
#!/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
#!/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."
}

Karmada Installation with Helm

  • Karmada on Kubernetes

Prerequisites

  • Kubernetes 1.20+
  • Helm 3.2.0+

Reference

{
"editor.fontFamily": "Hack, D2Coding, Consolas, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 17,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.wrappingIndent": "indent",
"editor.fontLigatures": true,
"editor.rulers": [100, 120],
"editor.cursorBlinking": "phase",
"editor.guides.indentation": true,

minio Installation with Docker Compose

  • minio on Docker

Prerequisites

  • Docker

.env

DOCKER_ROOT=/volume/HDD_02/minio
#!/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`