k8s docker-registry secret

kubectl create secret docker-registry vimll --docker-server=https://d.vimll.com:9888 --docker-username=test --docker-password=test -n test

应用
    spec:
      containers:
      - name: test
        image: test:latest
        imagePullPolicy: IfNotPresent
     ......

      imagePullSecrets:
      - name: vimll