기존에는 관리자가 PersistentVolume 을 개발자 (사용자) 로 부터 요청을 받을 때마다 생성을 해 주었다. 그런데 k8s 에서는 이 작업을 StorageClass 를 통해 자동으로 수행 할 수 있다.

개발자가 PersistentVolumeClaim 을 생성할 때 이전에는 직접적으로 PersistentVolume 을 참조했다면 지금은 StorageClass 를 참조한다.
1 min read
기존에는 관리자가 PersistentVolume 을 개발자 (사용자) 로 부터 요청을 받을 때마다 생성을 해 주었다. 그런데 k8s 에서는 이 작업을 StorageClass 를 통해 자동으로 수행 할 수 있다.

개발자가 PersistentVolumeClaim 을 생성할 때 이전에는 직접적으로 PersistentVolume 을 참조했다면 지금은 StorageClass 를 참조한다.
OpenEBS 는 Kubernetes worker nodes 에게 어떤 저장소든 local 이나 분산 Kubernetes Persistent Volumes 형태로 사용 가능하게 만들어준다.
Volumes (Background) 콘테이너의 On-disk 파일들은 임시적이다. 이러한 특성은 콘테이너가 crash 되는 경우 파일의 손실을 발생시킨다. kubelet 이 콘테이너를 재시작해도 clean 한 상태로 진행된다.
Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation.
a Kubernetes resource object that manages a set of pods with unique identities.
환경 변수나 설정값들을 변수로 관리해서 Pod 가 생성될때 이 값을 넣어줄 수 있는데, 이러한 기능을 제공하는 것이 바로 Configmap 과 Secret 이다.
Ingress 는 cluster(Kubernetes) 내의 서비스에 대한 외부 접근을 관리하는 API object 일반적으로 HTTP 를 관리하며 부하 분산, SSL Termination, 이름 기반의 가상 호스팅을 제공할 수 있음 Ingress 는 클러스터 외부에서 내부 service(Kubernetes) 로...
Lesson Learned Pod Status pod 상태를 보면 Init:0/1 이렇게 되어 있는데, 이것은 팟이 초기화 컨테이너 (init container 를 포함하고 있고, 해당 컨테이너의 작업이 마무리 되지 않았다는 뜻이다.
Kubernetes Cluster Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit.
Kubernetes Service Kubernetes Service 는 논리적 pod set 을 정의하고 외부 트래픽 노출 및 load balancing, 그리고 그 pods 들에 대한 service discovery 를 가능하게 해주는 추상 계층이다.
A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster.