반응형 전체 글168 가상머신에 k8s 설치하기 (Google Compute Engine - Ubuntu 20.04 LTS) Docker 설치 - https://docs.docker.com/engine/install/ubuntu/ 접속 1. 도커 키링(GPG-key) 설치 # Add Docker's official GPG key: # apt-get update # apt-get install ca-certificates curl # install -m 0755 -d /etc/apt/keyrings # curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc # chmod a+r /etc/apt/keyrings/docker.asc 2. 리포지토리 추가 # echo \ "deb [arch=$(dpkg --print-archite.. 2024. 11. 26. k8s 설치간 error 모음 (계속 업뎃중) error: could not find a JWS signature in the cluster-info ConfigMap for token ID 해결방법 1. kubeadm token list -> 안나오는 경우도 있음 2. kubeadm token create -> 새로 만들어줌 3. kubadm join... 재실행(ex: kubeadm join [master_ip]:6443 --token [token값] --discovery-token-ca-cert-hash sha256:47cc6881d3a5c30d0a89f207971bec90cb42df23159742078899605defb66d9a) 2024. 11. 26. Artifact Registry repo에 이미지 Push 안될때 (IAM 권한 다 있어도) # gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin 2024. 10. 24. Airflow 유저 접속 안될때 확인 방법 유저 리스트 확인gcloud composer environments run [composer 명] —location asia-northeast3 users list유저 삭제gcloud composer environments run [composer 명] —location asia-northeast3 users delete — —email [gcp iam 계정] 2024. 10. 24. GKE에 argocd 설치하기 GKE 생성 (Standard 버전) - GCP에서 생성했다.생성한 GKE에 연결하기$ gcloud container clusters get-credentials argocd-github --zone asia-northeast3-a --project 프로젝트명argocd namespace 생성하기$ kubectl create namespace argocd생성한 argocd namespace에 yaml 파일 실행해서 서비스 생성$ kubectl apply -n argocd -f Argo CD API Server를 외부에서 접근 가능하도록 LB와 맵핑$ kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'Argo C.. 2024. 4. 11. Jenkins 설치시 public key not installed 에러 상황 jenkins를 cnetos7에 올려서 사용하려고 설치중에Public key for jenkins-2.440.2-1.1.noarch.rpm is not installed 에러가 발생구글링을 해보니 이번 버전부터 키가 변경됬다는걸 보았다. 보통 rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key 이렇게 하면 해결된다고 나오나동일한 에러 발생 다시 찾아보니 rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key 이걸 받아오면정상적으로 설치 완료 -------------------------- 설치 완료 후 포트 변경할라니 난 이상하게 /etc/sysconfig/jenkins .. 2024. 3. 21. 이전 1 2 3 4 5 6 7 8 ··· 28 다음 반응형