2.プライベートミラーウェアハウスのパスワード辞書を作成します
kubectl create secretdocker-registry密码名-ndefault --docker-server = registry.cn-hangzhou.aliyuncs.com --docker-username = xxx @ xxx--docker-password = xxxxxxxx --docker-email = abc @ aliyun.com
3.デプロイされたプログラムYMLを変更します
"securityContext": {},
"imagePullSecrets": [
{
"name": "密码名称"
}
],
"schedulerName": "default-scheduler"