root layout

패스트캠퍼스

CKAD 관련 질문 드립니다.

2025.02.16 21:47 작성

1) 기출문제 2번 유형(Pod Resource)에서 특정 네임스페이스의 최대 메모리 크기를 확인하고 그 크기의 반을 Pod Resource의 최대 할당가능(limit)한 메모리 크기로 설정하려고 하는데, 특정 네임스페이스의 최대 메모리 할당 크기를 확인할수 있는 방법은 뭔가요?

- 실제 ckad 시험에서 이런 조건이 나왔음 : Limits the memory to half the maximum memory constraint set for the crayfah namespace



2) 기출문제 5번 유형(Service Account)에서 yaml 파일 수정 말고, kubectl set serviceaccount 명령어로도 app-ac service account를 지정할수 있는지



3) security context 문제에서 'Privilege escalation is forbidden' 조건은 allowPrivilegeEscalation: false 인걸까요?



4) 시험 응시 시 yaml 파일에 apiVersion 위에 ---가 있는데, 삭제하고 apply 진행해야되는지 궁금합니다.

(예시)

--- => 요부분

apiVersion: v1

kind: Pod

metadata:

name: user-pod

spec:

containers:


답변 

연관 질문

커뮤니티 질문보기