From 7a9e0570eeaf555190e228426bbdb2e11f55def6 Mon Sep 17 00:00:00 2001 From: ycz008 <133024907+ycz008@users.noreply.github.com> Date: Mon, 5 Jun 2023 22:41:32 +0800 Subject: [PATCH] Update email-service.yaml --- .../service_group/email-service.yaml | 69 ------------------- 1 file changed, 69 deletions(-) diff --git a/trainer-upgrade/service_group/email-service.yaml b/trainer-upgrade/service_group/email-service.yaml index 69e3aa5..d086bdc 100644 --- a/trainer-upgrade/service_group/email-service.yaml +++ b/trainer-upgrade/service_group/email-service.yaml @@ -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 \ No newline at end of file