标签:reg rbo net profile pass uber spec doc containe
方式:
apiVersion: v1
kind: Pod
metadata:
name: private-reg
spec:
containers:
- name: private-reg-container
image: quay.io/<Quay profile name>/<image name>
imagePullSecrets:
- name: harborSecret
harborSecret
中。创建secret
kubectl create secret docker-registry harborSecret --docker-server=quay.io --docker-username=<Profile name> --docker-password=<password>
查看secret
kubectl get secret harborSecret --output="jsonpath={.data.\.dockerconfigjson}" | base64 --decode
标签:reg rbo net profile pass uber spec doc containe
原文地址:https://www.cnblogs.com/yechen2019/p/13672134.html