apiVersion: apps/v1 kind: Deployment metadata: name: eth-nginx namespace: sre spec: selector: matchLabels: app: eth-nginx template: metadata: annotations: k8s.aliyun.com/pod-with-eip: "true" k8s.aliyun.com/pod-eip-instanceid: "eip-11111111111111111111111111111" labels: app: eth-nginx spec: containers: - name: eth-nginx image: registry-vpc.cn-hongkong.aliyuncs.com/ssssssssssssssss/nginx-proxy:2 ports: - name: eth containerPort: 8080 imagePullPolicy: IfNotPresent