• 프로필사진
    Home
  • Portfolio
  • github [#ffffff] Created with Sketch.
    Github
  • linkedin
    Linkedin
  • Setting
  • Posting
    • 분류 전체보기 (105)
      • Aws (96)
      • Backend (3)
      • Extension (1)
  • 방문자 수
    • 전체:
    • 오늘:
    • 어제:
  • 최근 댓글
      등록된 댓글이 없습니다.
    • 최근 공지
        등록된 공지가 없습니다.
      # Home
      # 공지사항
      #
      # 태그
      # 검색결과
      # 방명록
      • EKS Calico
        2024년 12월 24일
        • wngnl05
        • 작성자
        • 2024.12.24.:03

        Calico란?

        Pod의 보안그룹으로 볼 수 있다.

         

        Install Calico

        helm repo add projectcalico https://docs.tigera.io/calico/charts
        helm show values projectcalico/tigera-operator --version v3.25.2
        
        kubectl create namespace tigera-operator
        echo '{ installation: {kubernetesProvider: EKS }}' > values.yaml
        helm install calico projectcalico/tigera-operator --version v3.25.2 -f values.yaml --namespace tigera-operator

         

        Check

        kubectl get all -n tigera-operator
        kubectl get all -n calico-system

         

        Down File

        wget https://raw.githubusercontent.com/wngnl05/AWS/main/EKS/Calico/Network-Policy.yaml

         

        Pod

        더보기
        kubectl exec -n wsi -it $(kubectl get pods -n wsi --no-headers -o custom-columns=":metadata.name" | grep customer | head -n 1) -- curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600" --max-time 10
                  resources:
                    requests:
                      memory: "500Mi"
                      cpu: "250m"
                    limits:
                      memory: "500Mi"
                      cpu: "250m"
        kubectl describe pod -n wsi $(kubectl get pods -n wsi --no-headers -o custom-columns=":metadata.name" | grep customer | head -n 1) | grep QoS

         

         

        pod=$(kubectl get pods -n wsi --no-headers \
        -o custom-columns=":metadata.name" | grep customer | head -n 1)
        kubectl exec -it $pod -n wsi -- curl -X GET --max-time 5 \
        -w "\n%{http_code}\n" product-service.wsi.svc.cluster.local/v1/product
        pod=$(kubectl get pods -n wsi --no-headers \
        -o custom-columns=":metadata.name" | grep product| head -n 1)
        kubectl exec -it $pod -n wsi -- curl -X GET --max-time 5 \
        -w "\n%{http_code}\n" customer-service.wsi.svc.cluster.local/v1/customer

         

         

         

         

         

         

        저작자표시 비영리 변경금지 (새창열림)

        'Aws' 카테고리의 다른 글

        EKS Fluent-Bit to OpenSearch  (0) 2024.12.24
        EKS Fluent-Bit to CloudWatch 로그 그룹  (0) 2024.12.24
        EKS MetricServer [ HPA, VPA, CA ] 공부  (0) 2024.12.24
        ElastiCache 도전  (0) 2024.12.24
        DocDB 도전  (1) 2024.12.24
        다음글
        다음 글이 없습니다.
        이전글
        이전 글이 없습니다.
        댓글
      조회된 결과가 없습니다.
      스킨 업데이트 안내
      현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
      ("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)
      목차
      표시할 목차가 없습니다.
        • 안녕하세요
        • 감사해요
        • 잘있어요

        티스토리툴바