1. 在docker hub中配置

2.在阿里云中指定对应的模版进行创建
apiVersion: v1kind: Servicemetadata: name: ivd-clientspec: selector: app: ivd-client tier: ivd-client ports: - protocol: "TCP" port: 80 targetPort: 80 type: LoadBalancer---apiVersion: apps/v1kind: Deploymentmetadata: name: ivd-clientspec: selector: matchLabels: app: ivd-client tier: ivd-client track: stable replicas: 1 template: metadata: labels: app: ivd-client tier: ivd-client track: stable spec: containers: - name: ivd-client image: "{ 镜像名 }" imagePullPolicy: Always resources: requests: cpu: 50m memory: 30Mi limits: cpu: 100m memory: 100Mi ports: - containerPort: 80 imagePullSecrets: - name: amwise