본문 바로가기

전체 글

(104)
(DK) Argocd-cli 설치 및 User 추가 및 RABC 적용 현재 블로그 이전으로 아래 내용에서 더 자세히 확인 할 수 있을거 같다. https://huntedhappy.github.io/argo/ The Documentation Argo-CD Argo Install Guide huntedhappy.github.io // 설치 VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-lin..
(DK) TKG에 HELM을 통한 ARGO 배포 ## namespace 생성 kubectl create namespace argo ## helm repo 등록 helm repo add argo https://argoproj.github.io/argo-helm ## helm repo update helm repo update ## helm values download helm show values argo/argo-cd > argocd.yaml ## ssl로 구성시 생성한 인증서 등록 (Optional) kubectl create secret tls argo-tls --cert=/data/cert/yourdomain.com.crt --key=/data/cert/yourdomain.com.key -n argo ## 수정이 필요 하면 argocd.yaml ..
(DK) Jenkins github 연동 Manage Jenkins를 클릭 하면 옆에 화면처럼 변경이 된다. 여기서 Manage Credentials를 클릭 한다 Jenkins를 클릭 하면 Add Credentials 클릭 Add를 클릭 하면 아래 화면이 나온다. Username: {Github username} Password: {Github Password} ID: {ID는 필수는 아니나 알기 쉬운 이름으로 설정 해도 된다.)
(DK) Jenkins Install for ubuntu ## 자바 설치 sudo apt update -y sudo apt upgrade -y sudo apt search openjdk sudo apt install openjdk-11-jdk -y java --version ## JENKINS 설치 wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt update -y sudo apt install jenkins -y systemctl restart jenki..
(DK)WSL 에서 TCE Extension 설치 하기 ## repo 저장 tanzu package repository add tce-repo --url projects.registry.vmware.com/tce/main:0.9.1 --namespace tanzu-package-repo-global ## repo list 확인 tanzu package repository list --namespace tanzu-package-repo-global ## repo 설치 가능한 리스트 확인 tanzu package available list ## 또는 kubectl get package -A ## 설치 방법 tanzu package install cert-manager --package-name cert-manager.community.tanzu.vmware.co..
(DK)WSL에서 TCE(Tanzu Communty Edition) Install 윈도우에서는 아래와 같은 에러가 발생 함 Error: unable to create Tanzu Standalone Cluster client Cause: unable to ensure prerequisites: unable to ensure tkg BOM file: failed to download TKG compatibility file from the registry: failed to list TKG compatibility image tags: Get "https://projects.registry.vmware.com/v2/": x509: certificate signed by unknown authority Error: exit status 1 해당 파일을 열어서 내용 수정 ## 파일을 열고 %..
(DK)WSL - UBUNTU Issue 해당 에러가 나올 경우 아래 실행 // System has not been booted with systemd as init system (PID 1). Can't operate. // Failed to connect to bus: Host is down sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME snap v..
(DK)WSL 설정 ## 설치 가능한 OS 확인 wsl -l -o ## 설치 wsl --install -d Ubuntu-20.04 ## 접속 wsl -d Ubuntu-20.04 -u ubuntu 이미 설치가 완료가 되어 있으면 보이는 것과 같이 설치가 되어 있다고 하고 우분투를가 실행 되는 것을 확인 할 수 있음 이후에 username이랑 password를 신규로 생성 하면 wsl을 활용하여 우분투를 배포 완료 할 수 있다. ## 별도로 필요 한 명령어 ## 실행 되고 있는 우분투 끄기 wsl --shutdown -d Ubuntu-20.04 ## 삭제 wsl --unregister -d Ubuntu-20.04