- Kubernetes 1.19+
- Helm 3.2.0+
helm repo add argo https://argoproj.github.io/argo-helm
# broker | |
export KUBECONFIG=~/.kube/config | |
export BROKER_NS=submariner-k8s-broker | |
export SUBMARINER_NS=submariner-operator | |
export SUBMARINER_PSK=$(LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 64 | head -n 1) | |
helm repo add submariner-latest https://submariner-io.github.io/submariner-charts/charts | |
helm repo update | |
helm install submariner-helm submariner-latest/submariner-k8s-broker \ |
#!/bin/bash | |
# Author by Taking | |
# (1) K3s Install + Reset | |
# (2) Istio + Multi Cluster | |
# (3) Multi Cluster | |
# Check permission | |
if ! [ $(id -u) = 0 ] | |
then echo "${RED}Please run as root ${NC}" |
#!/bin/bash | |
# Author by Taking | |
# (1) K3s Install + Reset | |
# (2) Gloo Mesh | |
# (3) Istio | |
# (4) Multi Cluster | |
# (임시) Master IP 설정 값 | |
M_IP=192.168.150.194 | |
SERVERPASS="YourP@ss" |
#!/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' |
# elastic.yml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: elasticsearch | |
namespace: telemetry | |
labels: | |
app: elasticsearch | |
spec: | |
replicas: 1 |
#!/bin/bash | |
# Author by Taking | |
# Kubernetes Install + Reset | |
# Containerd | |
# Flannel CNI | |
# Cluster Name Change (Host명 기준) | |
# MetalLB Install | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` |
#!/bin/bash | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` | |
NC=`tput sgr0` | |
#apt install jq -y | |
get_latest_release() { |
helm repo add argo https://argoproj.github.io/argo-helm
package main | |
import ( | |
"context" | |
"fmt" | |
"k8s.io/apimachinery/pkg/api/errors" | |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"k8s.io/client-go/kubernetes" | |
"k8s.io/client-go/rest" |