This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.36.2. 환경 변수 나열
Pod 또는 Pod 템플릿의 환경 변수를 나열하려면 다음을 수행합니다.
oc set env <object-selection> --list [<common-options>]
$ oc set env <object-selection> --list [<common-options>]
이 예에서는 Pod p1
의 모든 환경 변수를 나열합니다.
oc set env pod/p1 --list
$ oc set env pod/p1 --list