본문 바로가기

기능과 기술

23.04.17 ARGOCD 시작 따라하기

728x90

템플릿

문제

상황

참고

해결

시간

반성

 


 

ARGOCD?!

문제

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

상황

kubectl create namespace argocd

참고

 

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively

Am working on Azure Kubernates where we can store Docker Images in Azure. Here am trying to check my kubectl version, then am getting Unable to connect to the server: dial tcp [::1]:8080: conne...

stackoverflow.com

해결

docker > kubernetes > context

시간

검색 및 적용 : 5분

반성

...

 


 

ARGOCD 설치

문제

argocd 설치 필요

상황

참고

 

Installation - Argo CD - Declarative GitOps CD for Kubernetes

Installation You can download the latest Argo CD version from the latest release page of this repository, which will include the argocd CLI. Linux and WSL ArchLinux Homebrew Download With Curl Download latest version curl -sSL -o argocd-linux-amd64 https:/

argo-cd.readthedocs.io

해결

$version = (Invoke-RestMethod https://api.github.com/repos/argoproj/argo-cd/releases/latest).tag_name
$url = "https://github.com/argoproj/argo-cd/releases/download/" + $version + "/argocd-windows-amd64.exe"
$output = "argocd.exe"

Invoke-WebRequest -Uri $url -OutFile $output

argocd.exe 생성

시간

검색 및 적용 : 5분

반성

...

 


 

Argo CD server address unspecified

문제

브라우저에서는 localhost:8080 으로 접속이 되고 기능을 사용할 수 있는데 CMD에서는 안되는 문제

상황

argocd app list

참고

 

FATA[0000] Argo CD server address unspecified · Issue #7061 · argoproj/argo-cd

The argocd UI running and working. Im trying to list apps with argocd app list or argocd app get svc-cart Thats what I get : FATA[0000] Argo CD server address unspecified Version { "Version": "v2.1...

github.com

해결

argocd-server 실행 (포트포워딩)

kubectl port-forward svc/argocd-server -n argocd 8080:443

CLI login

argocd login localhost:8080

결과 확인

argocd app list

시간

검색 및 적용 : 15분

반성

...

 


 

 

반응형