ls -A
bin boot data data_tmp dev .dockerenv entrypoint.sh etc home lib lib64 media mnt opt proc requirements.txt root run sbin srv sys tmp usr var
$ ls -ld
drwxr-xr-x 1 root root 4096 May 18 01:44 .
$ whoami
airflow
try to exec command: 'find_pod_status etl-engine Running' (1/50 trials)
Waiting for 'pod/etl-engine-74c88c8495-hp8kk' to [Running] state: now [Pending] (1/50 trials)
Waiting for 'pod/etl-engine-74c88c8495-hp8kk' to [Running] state: now [Pending] (2/50 trials)
Waiting for 'pod/etl-engine-74c88c8495-hp8kk' to [Running] state: now [Pending] (3/50 trials)
'/usr/src/app/dags' -> '/usr/local/airflow/dags'
'/usr/src/app/dags/data-remove.py' -> '/usr/local/airflow/dags/data-remove.py'
'/usr/src/app/dags/data-transfer.py' -> '/usr/local/airflow/dags/data-transfer.py'
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
# cd /
# ls -ld
drwxr-xr-x 1 root root 4096 May 18 02:31 .
# whoami
root
# cat requirements.txt
boto3
hdfs
굿. 잘된다.
물론 시큐리티 건드는 문제라 좀 fgroups나 fsuser 등 각종 설정을 섬세하게 건들면 더 좋겠지만,