You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
598 B

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