标签:cluster tde ice cond physics points term value opp
deployments:
- apiVersion: apps/v1beta1
kind: Deployment
metadata:
labels:
system_serviceUnit: bas-biz-manage-app
system_workload: bas-biz-manage-app
system_namespace: de-bas-app
system_cluster: paas-te-cluster2
name: bas-biz-manage-app
namespace: de-bas-app
spec:
replicas: 1
template:
metadata:
labels:
system_serviceUnit: bas-biz-manage-app
system_workload: bas-biz-manage-app
system_namespace: de-bas-app
system_cluster: paas-te-cluster2
spec:
containers:
- env:
- name: paas_container_ip
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: shtelpaas_app_ip
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: paas_container_host_ip
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: shtelpaas_center_name
value: debas
- name: pinpoint_applicationName
value: deBasBizManageApp
- name: shtelpaas_app_name
value: basBizManageApp
- name: shtelpaas_service_layer
value: data
- name: shtelpaas_app_nameserver
value: http://nameserver1.de-bas-sys.svc.cluster.local:8761/eureka,http://nameserver2.de-bas-sys.svc.cluster.local:8761/eureka,http://nameserver3.de-bas-sys.svc.cluster.local:8761/eureka
- name: shtelpaas_log_profile
value: log$de$1.0
- name: shtelpaas_app_basepkg
value: com.shtel
- name: JAVA_OPTS
value: -Xms3g -Xmx3g -XX:+PrintFlagsFinal -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:ParallelGCThreads=2 -XX:CICompilerCount=2 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:InitialCodeCacheSize=128m -XX:ReservedCodeCacheSize=256m -XX:MinMetaspaceFreeRatio=20 -XX:MaxMetaspaceFreeRatio=80 -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=768m -XX:CompressedClassSpaceSize=256m -XX:MaxDirectMemorySize=256M -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xloggc:/usr/local/gc.txt -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 -XX:+LogVMOutput -XX:LogFile=/usr/local/vm.txt -XX:-UseBiasedLocking -XX:+LogCompilation -XX:+SafepointTimeout -XX:SafepointTimeoutDelay=500
- name: shtelpaas_app_config_profile
value: app$de$1.0
- name: profiler_collector_ip
value: 10.145.216.248
image: ${imagePathPrefix}:${imageName}
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command:
- /bin/sh
- -c
- /usr/local/paas-common/service_down.sh
livenessProbe:
httpGet:
httpHeaders: []
path: /health
port: 8103
initialDelaySeconds: 120
periodSeconds: 60
timeoutSeconds: 10
name: master
resources:
limits:
memory: 4096.0Mi
cpu: 4000.0m
requests:
memory: 512.0Mi
cpu: 512.0m
volumeMounts:
- mountPath: /paastmp
name: paastmp
readOnly: false
- mountPath: /data/paas/bas/application/basBizManageApp/log/
name: app-log-centos
readOnly: false
- env:
- name: CE_CLUSTER_NAME
value: paas-te-cluster2
- name: CE_NAMESPACE_NAME
value: de-bas-app
- name: CE_WORKLOAD_NAME
value: bas-biz-manage-app
- name: CE_SERVICE_NAME
value: bas-biz-manage-app
- name: CE_LOG_PATH
value: /data/paas/bas/application/basBizManageApp/log/*
- name: CE_LOG_SERVER_ADDR
value: 10.145.216.133:6230,10.145.216.134:6230,10.145.216.135:6230
image: hub.paas/paas/filebeat:0.6
imagePullPolicy: Always
name: file-beat
resources:
limits:
memory: 200Mi
cpu: 500m
requests:
memory: 40Mi
cpu: 10m
volumeMounts:
- mountPath: /paastmp
name: paastmp
readOnly: false
- mountPath: /data/paas/bas/application/basBizManageApp/log/
name: app-log-centos
readOnly: false
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: paastmp
- emptyDir: {}
name: app-log-centos
workLoadParam:
id: null
kind: WorkLoad
name: bas-biz-manage-app
type: 0
description: null
clusterNameSpace: de-bas-app
physicsClusterName: paas-te-cluster2
serviceMonitors:
bas-biz-manage-app: true
serviceUnitParams:
- name: bas-biz-manage-app
services:
- apiVersion: v1
kind: Service
metadata:
labels:
system_serviceUnit: bas-biz-manage-app
system_workload: bas-biz-manage-app
system_namespace: de-bas-app
system_cluster: paas-te-cluster2
name: bas-biz-manage-app
spec:
ports:
- name: 8103-8103
port: 8103
protocol: TCP
targetPort: 8103
selector:
system_serviceUnit: bas-biz-manage-app
system_workload: bas-biz-manage-app
system_namespace: de-bas-app
system_cluster: paas-te-cluster2
ingresses:
- apiVersion: extensions/v1beta1
kind: Ingress
metadata:
labels:
system_serviceUnit: bas-biz-manage-app
system_workload: bas-biz-manage-app
system_namespace: de-bas-app
system_cluster: paas-te-cluster2
name: bas-biz-manage-app
spec:
rules:
- host: bas-biz-manage-app.bas.de.com
http:
paths:
- backend:
serviceName: bas-biz-manage-app
servicePort: 8103
path: /
标签:cluster tde ice cond physics points term value opp
原文地址:https://www.cnblogs.com/fan-gx/p/11869756.html