Update email-service.yaml
parent
739e81e575
commit
7a9e0570ee
|
@ -65,72 +65,3 @@ spec:
|
|||
targetPort: http
|
||||
selector:
|
||||
app: email-query
|
||||
|
||||
---
|
||||
# apiVersion: v1
|
||||
# kind: ConfigMap
|
||||
# metadata:
|
||||
# name: email-config
|
||||
# data:
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: email-config
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: email-config
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: email-config
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: docker-regcred
|
||||
containers:
|
||||
- name: email-config
|
||||
image: beaconfireiic/email-config:1.1.0-sdet
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8888
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: "LOGGING_LEVEL_ROOT"
|
||||
value: "info"
|
||||
- name: "SERVER_PORT"
|
||||
value: "8888"
|
||||
- name: "LOG_APP-NAME"
|
||||
value: "email-config"
|
||||
- name: "SPRING_PROFILES_ACTIVE"
|
||||
value: "sdet"
|
||||
volumeMounts:
|
||||
- name: app-logs
|
||||
mountPath: /logs
|
||||
resources:
|
||||
requests:
|
||||
cpu: 0.1
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
volumes:
|
||||
- name: app-logs
|
||||
hostPath:
|
||||
path: /data/app_logs/email-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: email-config
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8888
|
||||
targetPort: http
|
||||
selector:
|
||||
app: email-config
|
Loading…
Reference in New Issue