Zzong's Notes

Home

❯

K8s

❯

kubectl

kubectl

2026년 6월 14일1 min read

Kubectl

2. Lesson Learned

2.1. Pod Status

pod 상태를 보면 Init:0/1 이렇게 되어 있는데, 이것은 팟이 초기화 컨테이너 (init container 를 포함하고 있고, 해당 컨테이너의 작업이 마무리 되지 않았다는 뜻이다. 만약 마무리 되었다면 Running 상태로 바뀐다.

만약 계속

Refer: docker - Kubernetes pods hanging in Init state - Stack Overflow

3. Related

4. References

  • Init Containers | Kubernetes

링크된 언급

1
deployment(Kubernetes)

kubectl 은 cluster 와 상호작용 하기 위해 kubernetes API 를 사용함

함께 보면 좋은 글

init container

Init Container 팟의 app container 가 실행되기 이전에 동작하는 특수 컨테이너를 의미한다. 일반적으로 초기화 컨테이너는 유틸리티 또는 셋업 스크립트를 포함한다. Related References.

pod(Kubernetes)

Kubernetes Pod A Pod is the basic execution unit of a Kubernetes application.

deployment(Kubernetes)

Once you have a running Kubernetes cluster, you can deploy your containerized applications on top of it.

Kubernetes

Kubernetes Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and...

probe(k8s)

probe(k8s) Liveness, Readiness and Startup Probes (probe: 조사) (관련 링크) probes 들은 kubelet 가 container 의 상태를 조사하는데 사용하는 일종의 지표 역할을 한다.

StatefulSet

Statefulset a Kubernetes resource object that manages a set of pods with unique identities.

Kubernetes Node

Kubernetes Node A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster.

Persistent Volumes

Persistent Volumes Volumes (Background) 콘테이너의 On-disk 파일들은 임시적이다. 이러한 특성은 콘테이너가 crash 되는 경우 파일의 손실을 발생시킨다. kubelet 이 콘테이너를 재시작해도 clean 한 상태로 진행된다.

helm

Helm Kubernetes 리소스들을 간편하게 관리할 수 있도록 도와주는 툴입니다. 하나의 커맨드로 클러스터 내에 리소스들을 설치하고 변경사항을 반영 할 수 있으며, 이러한 변경사항들은 리비전으로 관리할 수 있습니다.

cluster(Kubernetes)

Kubernetes Cluster Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit.

  • Kubectl
  • 2. Lesson Learned
  • 2.1. Pod Status
  • 3. Related
  • 4. References