📌  相关文章
📜  如何为 k8s pod 传递 docker hub 凭据 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.459000             🧑  作者: Mango

代码示例1
ambarishs-MacBook-Pro:gke ambarish$ kubectl create secret docker-registry private-registry-key --docker-username="devopsrecipes" --docker-password="xxxxxx" --docker-email="username@example.com" --docker-server="https://index.docker.io/v1/"secret "private-registry-key" created