kubectl create secret docker-registry container-registry --docker-server=172.20.11.41:1034 \ --docker-username =admin --docker-password=abc123_ --namespace=default kubectl describe secret container-registry -n default kubectl patch serviceaccount default --namespace=default -p '{"imagePullSecrets": [{"name": "container-registry
kubectl create secret docker-registry container-registry --docker-server=172.20.11.41:1034 \ --docker-username =admin --docker-password=abc123_ --namespace=kube-system kubectl describe secret container-registry ServiceAccount metadata: name: serviceaccount-coredns namespace: kube-system imagePullSecrets: - name: container-registry
To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
配置K8S环境模板 如果大家直接创建一个K8S的环境会发现根本无法初始化,主要原因是K8S相关的Docker包是存放到gcr.io下面,https://cloud.google.com/container-registry
coreos.com/,https://quay.io/repository/ CoreOS的Docker Registry,CoreOS 相关的镜像存储在这里 https://cloud.google.com/container-registry
storageclass.storage.k8s.io/microk8s-hostpath created Storage will be available soon Applying registry manifest namespace/container-registry NAME READY STATUS RESTARTS AGE container-registry NAMESPACE NAME READY STATUS RESTARTS AGE container-registry
image>:<docker tag> 当然,针对Docker应用,你可以使用JFrog提供的免费版镜像中心——JCR(JFrog Container Registry,https://jfrog.com/container-registry
ServiceAccount metadata: name: serviceaccount-tiller namespace: kube-system imagePullSecrets: - name: container-registry
metadata: name: serviceaccount-kube-dashboard namespace: kube-system imagePullSecrets: - name: container-registry
默认使用的镜像,托管在 DockerHub 上,如果需要配置加速的小伙伴,可传递 --container-registry 更改源地址,以便于加速安装进度。
ServiceAccount metadata: name: serviceaccount-nginx-ingress namespace: kube-system imagePullSecrets: - name: container-registry
blog/2023/03/17/upcoming-changes-in-kubernetes-v1-27/ 参考资料 [1] k8s.gcr.io: https://cloud.google.com/container-registry
结合TensorFlow Serving,训练好模型,创建Docker镜像,推送到Google Container Registry https://cloud.google.com/container-registry
[7] Quay.io: https://quay.io/repository/ [8] Google Container Registry: https://cloud.google.com/container-registry
hub.docker.com/ 2 Quay.io:https://quay.io/repository/ 3 Google Container Registry:https://cloud.google.com/container-registry
in your registry - Azure Container Registry | Microsoft Docs: https://docs.microsoft.com/en-us/azure/container-registry