본문 바로가기
GCP

[Google Cloud AI] Devfest Cloud 2024 (4) 쿠버네티스를 꼭 사용해야할까?

by bestchoco 2024. 11. 23.

- 용도에 맞게 쓸 수 있는지 잘 파악하기.

주제. 쿠버네티스 / 테라폼(INFRASTRUCTURE PROVISIONING)

>> 배포, 스케일링 자동화, 어플리케이션 관리

>> GKE 예제

- Google Cloud Documentation 
=> vm instance 설치 시 플랫폼으로 Terraform도 지원하고 있음을 확인 가능

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
이전의 컨퍼런스 종류?
- MicroService
- Appmod
- inframod
- Cloud Native
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
AWS EKS
GOOGLE GKE
MICROSOFT AKS
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Write
Plan
Apply
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

enable_autopilot = true
>> node는 더 이상 나타나지 않음 (사용자 화면에 안 뜬다. 요금 미청구)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
application >> dockerfile >> docker >> Containerize
>> artifact >> ? >> ? >> ?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
고려해야 할 키워드들


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
기존예제들의 yaml >> terraform 으로 변환 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
High Availability

lifecycle

Scalability - 1.HPA / 2.KEDA / 3.KNATIVE
1. METRIC 정보를 읽어와서
2. QUEUE의 정보를 읽어와서 (HTTP 트래픽 보고)
3. ??

Cost Effective

Observability (모니터링 도구 차원?)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3개월마다 쿠버네티스 업데이트..
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
일반적인 배포 방법?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Cloud Run 추천!
/*
Google Cloud Run
설명: 서버리스 컨테이너 실행 환경으로, 
사용자가 컨테이너를 배포하면 Google Cloud가 인프라를 자동으로 관리합니다.
특징:
서버리스 아키텍처: 사용한 리소스에 대해서만 요금 청구.
자동 확장 기능: 요청 수에 따라 자동으로 인스턴스를 조정.
간편한 배포: 컨테이너 이미지를 업로드하면 즉시 실행 가능.
*/