Dev(61)
-
Karmada 설치하기
이 글은 AWS EKS에 Karmada를 설치하고 멤버 클러스터로 또 다른 EKS clsuter를 등록하고 테스트하는 과정을 기록했습니다. karmada control-plane에 member cluster를 등록하는 push, pull 두 방식 중에 push방식을 사용했습니다. 글의 흐름 host cluster 생성 -> 배스천 생성 -> karmada 설치 -> member cluster1,2 생성 -> 배포 테스트 1. Karamada 설치를 위한 테스트 환경 구축 eksctl과 kubectl이 필요합니다. 저는 eksctl 버전 0.144.0, kubectl 버전 v1.27.2를 사용했습니다. 로컬에서 eksctl로 eks 클러스터를 만듭니다. HTML 삽입 미리보기할 수 없는 소스 eksctl ..
2023.06.20 -
1 pods are unevictable from node eksctl
How to solve "1 pods are unevictable from node in eksctl". I tried to delete the AWS EKS cluster with the eksctl command. Problem: eksctl delete fail (pending, stuck, block) eksctl delete cluster -f host.yaml 2023-06-16 16:41:12 [ℹ] deleting EKS cluster "host" 2023-06-16 16:41:12 [ℹ] will drain 0 unmanaged nodegroup(s) in cluster "host" 2023-06-16 16:41:12 [ℹ] starting parallel draining, max in-..
2023.06.16 -
데브옵스를 위한 리눅스
Introduction 이번 퀘스트를 통해 리눅스의 기본적인 구조와 기능에 대해 공부할 수 있습니다. Topics 리눅스의 기본 커맨드 cd, pwd, ls, cp, mv, mkdir, rm, touch, ln, echo, cat, tail, find, ps, kill, grep, wc, df, du 파이프(|) 문자 리눅스의 기본적인 디렉토리 구성 /bin, /usr/bin, /boot, /dev, /etc, /home, /lib, /mnt, /proc, /root, /sbin, /usr/sbin, /tmp, /usr, /var 쉘과 환경변수와 퍼미션 sh, bash, zsh .bash_profile, .bashrc, .zshrc env, set, unset, export chmod, chown, ch..
2023.06.08 -
데브옵스란 무엇인가
데브옵스는 개발(Dev)와 운영(Ops)의 합성어입니다. 지금 사용하는 데브옵스(devops)라는 단어는 2004년에 처음으로 등장하고, 2010년에 본격적으로 사용한 것으로 보입니다. https://aws.amazon.com/ko/devops/what-is-devops/ DevOps란 무엇인가요? - DevOps 모델 설명 - Amazon Web Services(AWS) 소프트웨어와 인터넷은 쇼핑에서 엔터테인먼트 그리고 뱅킹에 이르기까지 전 세계와 산업을 변화시켰습니다. 이제 소프트웨어는 비즈니스를 지원하는 것에 그치지 않고, 비즈니스의 모든 부분 aws.amazon.com https://azure.microsoft.com/ko-kr/resources/cloud-computing-dictionary/w..
2023.06.08 -
EKS ALB 504 Gateway Time-out
EKS에서 AWS Load Balancer Controller를 설치하고 Ingress를 통해 ALB를 프로비저닝 했다. 처음에는 default로 생기는 security groups을 사용하다가 alb.ingress.kubernetes.io/security-groups: sg-xxxx, nameOfSg1, nameOfSg2 이 annotations를 추가해서 직접 생성한 보안그룹을 추가했다. 하지만 서비스에서 504 error가 발생했다. 해결 방법은 alb.ingress.kubernetes.io/manage-backend-security-group-rules 어노테이션을 추가로 등록해줘야 한다. 이유는 공식 문서에 나오는데 When this annotation is not present, the con..
2023.06.07 -
AWS LoadBalancer Security Groups 초기화 문제
개발팀이 AWS Console에서 ALB에 보안그룹을 등록했는데, 계속 지워진다고 연락이 왔습니다. CloudTrail > 이벤트 기록에서 확인을 하고, EKS 노드그룹 스케쥴링 때문에 초기화 되는것 아니냐고 질문주셨습니다. 확인해 보니 노드그룹 스케줄 문제는 아니었습니다. EKS에서 AWS LoadBalacner Controller로 ALB를 프로비저닝했고 컨트롤러가 ALB를 관리하고 있기 때문에 콘솔에서 등록한 시큐리티그룹은 자동으로 삭제되는게 문제였습니다. https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.5/guide/ingress/annotations/#security-groups Annotations - AWS Load Bal..
2023.06.05