123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: dmp-rwd-plus
- labels:
- app: dmp-rwd-plus
- spec:
- selector:
- app: dmp-rwd-plus
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: dmp-rwd-plus
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: dmp-rwd-plus
- template:
- metadata:
- labels:
- app: dmp-rwd-plus
- spec:
- containers:
- - name: dmp-rwd-plus
- image: labisenlin.persagy.com/library/dmp-rwd-plus:v1.0.0
- imagePullPolicy: Always
- resources:
- limits:
- memory: 2Gi
- requests:
- memory: 512Mi
- env:
- - name: TZ
- value: Asia/Shanghai
- - name: SERVER_PORT
- value: "8117"
- - name: SPRING_CLOUD_CONFIG_URI
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: spring.cloud.config.uri
- - name: SPRING_PROFILES_ACTIVE
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: spring.profiles.active
- - name: SPRING_CLOUD_CONFIG_PROFILE
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: spring.cloud.config.profile
- - name: EUREKA_CLIENT_FETCH_REGISTRY
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: eureka.client.fetch-registry
- - name: EUREKA_CLIENT_REGISTER_WITH_EUREKA
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: eureka.client.register-with-eureka
- - name: EUREKA_CLIENT_DEFAULT_ZONE
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: eureka.client.default.zone
- - name: EUREKA_INSTANCE_IP_ADDRESS
- valueFrom:
- configMapKeyRef:
- name: dmp-rwd-plus
- key: eureka.instance.ip.address
|