17. 생성된 파드를 확인합니다.
[root@m-k8s ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
nfs-pvc-deploy-7888b77964-69c8n 1/1 Running 0 8m27s
nfs-pvc-deploy-7888b77964-c6nrp 1/1 Running 0 13s
nfs-pvc-deploy-7888b77964-knb92 1/1 Running 0 13s
nfs-pvc-deploy-7888b77964-mj6mt 1/1 Running 0 8m27s
nfs-pvc-deploy-7888b77964-q2gjw 1/1 Running 0 8m27s
nfs-pvc-deploy-7888b77964-qwwsm 1/1 Running 0 8m27s
nfs-pvc-deploy-7888b77964-v7h6w 1/1 Running 0 13s
nfs-pvc-deploy-7888b77964-wpj5c 1/1 Running 0 13s
18. 최근에 증가한 4개의 파드 중 1개를 선택해 exec로 접속하고 기록된 audit 로그가 동일한지 확인합니다.
[root@m-k8s ~]# kubectl exec -it nfs-pvc-deploy-7888b77964-c6nrp -- /bin/bash
root@nfs-pvc-deploy-7888b77964-c6nrp:/# cat /audit/audit_nfs-pvc-deploy-7888b77964-qwwsm.log
03/Mar/2020:20:25:00 +0900 172.16.221.144 GET