본문 바로가기
728x90
반응형

Programming161

[Kubernetes] command terminated with exit code 137 kubernetes pod 이 exit code 137로 죽었을 경우, 이는 OOMKilled (Out Of Memory) error로 pod의 Memory가 부족하여 죽는 경우이다. 이때 Resource에 할당된 Memory limit을 늘려서 OOMKilled를 예방 할 수 있다. Resources 영역에는 request와 limt이 있으며 아래와 같다. request : container에 할당되는 최소한의 memory limit : container에 할당될 수 있는 최대한의 memory exit code 137이 발생하는 경우는 container에서 사용되는 memory가 limit을 넘었을 경우 발생할 수 있다. limit을 늘리는 방법은 아래와 같다. yaml 수정방법 spec: repli.. 2022. 5. 17.
[Composer] composer install Install composer 2022. 5. 17.
[Kubernetes][Docker] image pull ecr login kubernetes 클러스터 container에서 ecr login 인증을 얻기 위해 secret을 생성한 이후 클러스터 service account에 등록하여 ecr 인증이 되도록 해본다. 1. aws cli를 통해 ecr login aws ecr get-login-password --region ap-southeast-1 | docker login --username AWS --password-stdin {accountId}.dkr.ecr.ap-southeast-1.amazonaws.com 2. ecr login을 위한 secret 생성을 위한 password 얻어오기 $ aws ecr get-login-password --region ap-southeast-1 eyJwYXl....oxNjUyNzQx.. 2022. 5. 16.
[Google Analytics Data API] Call Google Analytics Data API with Python 아래 페이지를 통해 Google Analytics Data API V1 을 활성화 합니다. https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries#step_1_enable_the_api API Quickstart | Google Analytics Data API | Google Developers API Quickstart This page shows you how to get started with the Google Analytics Data API v1 in your favorite programming language using the client Libraries. Step 1. .. 2022. 5. 9.
728x90
반응형