上传代码
This commit is contained in:
@ -7,23 +7,23 @@ metadata:
|
||||
namespace: default
|
||||
labels:
|
||||
app: biz-service-ebtp-project
|
||||
|
||||
|
||||
# 必选,详细定义
|
||||
spec:
|
||||
# pod 副本数量
|
||||
replicas: 1
|
||||
|
||||
|
||||
# 滚动升级配置信息
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
|
||||
|
||||
# 选择器,匹配pod模板
|
||||
selector:
|
||||
matchLabels:
|
||||
app: biz-service-ebtp-project
|
||||
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@ -32,7 +32,7 @@ spec:
|
||||
annotations:
|
||||
prometheus.io/port: '18012'
|
||||
prometheus.io/jl-pod: 'true'
|
||||
|
||||
|
||||
# 定义容器模板,该模板可以包含多个容器
|
||||
spec:
|
||||
# 挂载日志存储
|
||||
@ -40,7 +40,7 @@ spec:
|
||||
- name: log
|
||||
hostPath: #以下三选一
|
||||
path: /var/lib/docker/log/349553515466-uat/default-group/all #uat环境
|
||||
|
||||
|
||||
# 必选,Pod中容器列表
|
||||
containers:
|
||||
- name: biz-service-ebtp-project
|
||||
@ -73,7 +73,7 @@ spec:
|
||||
- name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
|
||||
value: skywalking-oap-cluster.skywalking:11800
|
||||
- name: SW_AGENT_NAME
|
||||
value: biz_service_ebtp_project
|
||||
value: biz_supplier_manage
|
||||
- name: JAVA_TOOL_OPTIONS
|
||||
value: -XX:+UnlockExperimentalVMOptions
|
||||
-XX:+UseContainerSupport
|
||||
@ -101,5 +101,5 @@ spec:
|
||||
app: biz-service-ebtp-project
|
||||
status:
|
||||
loadBalancer: {}
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user