- EKS Calico2024년 12월 24일
- wngnl05
- 작성자
- 2024.12.24.:03
Calico란?
Pod의 보안그룹으로 볼 수 있다.
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일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)