Identifying a Kubernetes Namespace from within a Windows Container

后端 未结 0 1825
既然无缘
既然无缘 2020-12-13 02:54

I need to find out if a container is running in k8s and find the namespace from within the container itself, using PowerShell I was able to find it in C:\\var\\run\\secrets\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题