CKA (Certified Kubernetes Administrator) 55

10.Troubleshooting - Application Failure

LABS – CERTIFIED KUBERNETES ADMINISTRATOR WITH PRACTICE TESTS > TROUBLESHOOTING Troubleshooting 01. Application Failure 02. Control Plane Failure 03. Worker Node Failure 04. Troubleshoot Network Troubleshooting Test 1: A simple 2 tier application is deployed in the alpha namespace. 간단한 2계층 애플리케이션이 알파 네임스페이스에 배포됩니다. It must display a green web page on success. 성공 시 녹색 웹 페이지를 표시해야 합니다. Click on th..

CKA - Storage

볼륨 (Volume) - 컨테이너가 외부 스토리지에 액세스하고 공유하는 방법 - 포드의 각 컨테이너에는 고유의 분리된 파일 시스템 존재 - 볼륨은 Pod (포드) 의 컴포넌트이며 포드의 스펙에 의해 정의 - 독립적인 쿠버네티스 오브젝트가 아니며 스스로 생성, 삭제 불가 - 각 컨테이너의 파일 시스템의 볼륨을 마운트 하여 생성 볼륨의 종류 임시 볼륨 로컬 볼륨 네트워크 볼륨 네트워크 볼륨 (클라우드 종속적) emptyDir hostPath local ISCSI NFS cephFS glusterFS gcePersistentDisk awsEBS azureFile 주요 사용 가능한 볼륨의 유형 - emptyDir : 일시적인 데이터 저장, 비어 있는 디렉터리 - hostPath : pod 에 호스트 노드의 파일..

06.Security - Role Based Access Controls

Security 1) View Certificate Details 2) Certificates API 3) KubeConfig 4) Role Based Access Controls 5) Cluster Roles 6) Service Accounts 7) Image Security 8) Security Contexts 9) Network Policies 01. Inspect the environment and identify the authorization modes configured on the cluster. Check the kube-apiserver settings. Use the command kubectl describe pod kube-apiserver-controlplane -n kube-s..

07.Storage - Persistent Volume Claims

LABS – CERTIFIED KUBERNETES ADMINISTRATOR WITH PRACTICE TESTS > STORAGE Storage 01. Persistent Volume Claims 02. Storage Class # kubectl cheat sheet alias k=kubectl complete -F __start_kubectl k 01. info We have deployed a POD. Inspect the POD and wait for it to start running. In the current(default) namespace. 02. The application stores logs at location /log/app.log. View the logs. You can exec..

Multi-container pods

다중 컨테이너 포드 (multi-container pods) pod 내의 컨테이너는 수명주기가 같고, 같은 네트워크에 존재하기 때문에 서로를 localhost 로 참조 할수 있으며, 같은 볼륨에 접근할수 있다. pod 정의 파일의 spec 섹션에서 containers 섹션이 배열인 이유가 바로, 멀티컨테이너 pod 를 사용할 수 있게끔 하기 위해서이다. - 아래 YAML 파일은 kode kloud 예제이다. https://seulseul.tistory.com/22 4.Application Lifecycle Management - Multi Container PODs Application Lifecycle Management 1) Rolling Updates and Rollbacks 2) Commands ..