Streamline your workflow with the new MCP server for Red Hat product documentation.Connect your AI tools and LLMs directly to live Red Hat product documentation. Connect now.
4.8.7. proxy
Kubernetes API 서버에 대해 프록시를 실행합니다.
$oc proxy --port=<port>--www=<static_directory>
중요
보안상의 이유로cluster-admin 사용자가 명령을 실행하는 경우를 제외하고 권한 있는 컨테이너에 액세스하면 oc exec 명령이 작동하지 않습니다. 관리자는 노드 호스트에 SSH로 연결한 다음 원하는 컨테이너에서 docker exec 명령을 사용할 수 있습니다.