안녕하세요, Google cloud의 관리형 kubernetes 서비스인 Google Kubernetes Engine(GKE)를 테스트한 내용을 정리했습니다.
사전환경
gcloud CLI 설치
- OS 환경에 맞게 Google Cloud CLI를 설치합니다
kubectl 설치
kubectl를 설치합니다.
GKE 생성
- Compute Engine API, Kubernetes Engine API 설정
- Google Cloud -> Kubernetes Engine -> Create Cluster -> Standard
Kubernetes 클러스터 기본 구성
클러스터 노드 구성
클러스터 액세스 구성
$ gcloud container clusters get-credentials CLUSTER_NAME# 현재 클러스터 config 확인
$ kubectl config view# 클러스터 내 namespace 확인
$ kubectl get namespaces
GKE Reference
[GCP]GKE 차근 차근 알아보기 1탄 — GKE 개요
안녕하세요 이정운 입니다.
blog migration project
written in 2022.10.20
https://medium.com/techblog-hayleyshim/gcp-gke-cli-integration-aedc5f7c706a
'IT > Infra&Cloud' 카테고리의 다른 글
[aws] Security (0) | 2023.10.29 |
---|---|
[csp]Hierarchy Architecure & API/API Gateway (0) | 2023.10.29 |
[aws] Developing on AWS (0) | 2023.10.29 |
[aws] EKS Hands On — EKS Anywhere (0) | 2023.10.29 |
[aws] EKS Hands On — Blueprints (0) | 2023.10.29 |