大量更新
This commit is contained in:
191
74-202603-新疆阿克苏地区/k8s-app/uav-ai-core-nacos.yaml
Normal file
191
74-202603-新疆阿克苏地区/k8s-app/uav-ai-core-nacos.yaml
Normal file
@@ -0,0 +1,191 @@
|
||||
spring:
|
||||
cache:
|
||||
type: none
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ant_path_matcher
|
||||
platform:
|
||||
info:
|
||||
name: AI原子能力
|
||||
description: AI原子能力
|
||||
version: 6.2.0
|
||||
datasource:
|
||||
dynamic:
|
||||
primary: uav_ai_core
|
||||
datasource:
|
||||
uav_ai_core:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://helm-mysql:3306/uav_ai_core?characterEncoding=UTF-8&useSSL=true&zeroDateTimeBehavior=convertToNull&&allowMultiQueries=true&serverTimezone=GMT%2B8
|
||||
username: k8s_admin
|
||||
password: fP#UaH6qQ3)8
|
||||
redis:
|
||||
host: helm-redis-master
|
||||
port: 6379
|
||||
database: 0
|
||||
password: Mcache@4522
|
||||
redisson:
|
||||
model: SINGLE
|
||||
single-server-config:
|
||||
address: helm-redis-master:6379
|
||||
database: 0
|
||||
password: Mcache@4522
|
||||
rabbitmq:
|
||||
host: helm-rabbitmq
|
||||
port: 5672
|
||||
username: admin
|
||||
password: nYcRN91r._hj
|
||||
virtual-host: /
|
||||
server:
|
||||
compression:
|
||||
enabled: true
|
||||
min-response-size: 1024
|
||||
mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
|
||||
springdoc:
|
||||
api-docs:
|
||||
version: openapi_3_1
|
||||
group-configs:
|
||||
- group: common
|
||||
display-name: 公共能力
|
||||
paths-to-match:
|
||||
- /cmii/**
|
||||
- group: regulator
|
||||
display-name: 管理端
|
||||
paths-to-match:
|
||||
- /regulator/**
|
||||
- group: all
|
||||
display-name: 所有的服务能力
|
||||
paths-to-match:
|
||||
- /**
|
||||
override-with-generic-response: true
|
||||
info:
|
||||
title: AI原子能力
|
||||
description: AI原子能力
|
||||
version: 6.2.0
|
||||
com:
|
||||
cmii:
|
||||
chinamobile:
|
||||
request:
|
||||
mapping:
|
||||
scan:
|
||||
register-request-mapping: true
|
||||
group: regulator
|
||||
logging:
|
||||
level:
|
||||
com.cmii.chinamobile: info
|
||||
minio:
|
||||
srcId: 1323096648758464519
|
||||
mqtt:
|
||||
single:
|
||||
host: tcp://helm-emqxs:1883
|
||||
hosts: tcp://helm-emqxs:1883
|
||||
username: cmlc
|
||||
password: odD8#Ve7.B
|
||||
hosts: tcp://helm-emqxs:1883
|
||||
host: tcp://helm-emqxs:1883
|
||||
username: cmlc
|
||||
password: odD8#Ve7.B
|
||||
qos: 1
|
||||
connectionTimeout: 10
|
||||
keepAliveInterval: 20
|
||||
gzipPayload: false
|
||||
#消息发布者clientId
|
||||
publishClientId: ai_core
|
||||
#消息订阅者clientId
|
||||
subscribeClientId: ai_core_subscribe
|
||||
ai:
|
||||
core:
|
||||
srcId: 1323096648758464519
|
||||
ware:
|
||||
defaultTenant: zjcxy
|
||||
cityCode: 510100
|
||||
projCode: demo
|
||||
printMqttSendMsg: true
|
||||
printHttpReceiveMsg: true
|
||||
printMqttReceiveMsg: true
|
||||
closeLightMqtt: false
|
||||
cacheWithRedis: false
|
||||
closePublishStandardMqtt: true
|
||||
closePublishImageRecord: false
|
||||
callbackUrl: https://www.demo.uavcmlc.com/uas/api/community/aicore/client/aiware/order/reportAiRecord
|
||||
tenants:
|
||||
zjcxy:
|
||||
# host: https://cxy-stg-soul.vimvp.cn:50920
|
||||
host: https://soul.gateway.zjcloud.com:50443
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 332d17324133bae0
|
||||
sk: faa05b2072fc4ab881124eef62013066
|
||||
guochuang:
|
||||
host: http://api.tools.liandanlu.cn:50000
|
||||
path: /005
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
yitong:
|
||||
host: http://183.6.114.147:6007
|
||||
path:
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
# zyly:
|
||||
# host: http://192.168.75.14:2334
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: 1b59cfdb4e2d8d0d
|
||||
# sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
cyy1:
|
||||
host: http://192.168.36.49:2333
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
cyy2:
|
||||
host: http://192.168.36.49:2334
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
cyy3:
|
||||
host: http://192.168.36.49:2335
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
cyy4:
|
||||
host: http://192.168.36.49:2336
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
qjb:
|
||||
host: http://uav.qjb1000.com:57893
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
zylybig:
|
||||
host: http://192.168.35.51:6526
|
||||
path: /uvsg-ai/order/cdfk
|
||||
ak: 1b59cfdb4e2d8d0d
|
||||
sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
# jsj1:
|
||||
# host: http://183.47.59.221:20197
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: abc
|
||||
# sk: axxxx
|
||||
# jsj2:
|
||||
# host: http://183.47.59.221:20198
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: abc
|
||||
# sk: axxxx
|
||||
# jsj3:
|
||||
# host: http://183.47.59.221:20199
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: abc
|
||||
# sk: axxxx
|
||||
# jsj4:
|
||||
# host: http://183.47.59.221:20194
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: abc
|
||||
# sk: axxxx
|
||||
# yanfa2:
|
||||
# host: http://192.168.75.21:8000
|
||||
# path: /uvsg-ai/order/cdfk
|
||||
# ak: 1b59cfdb4e2d8d0d
|
||||
# sk: e5e5644f41354be8a4acb27e9b1ff37b
|
||||
#宜通
|
||||
video:
|
||||
process:
|
||||
getUrl: http://192.168.9.4:8088/api/v2/segments/info/batch?type=2
|
||||
194
74-202603-新疆阿克苏地区/k8s-app/uav-ai-core.yaml
Normal file
194
74-202603-新疆阿克苏地区/k8s-app/uav-ai-core.yaml
Normal file
@@ -0,0 +1,194 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: cmii-uav-ai-core
|
||||
namespace: xj-aks-uav-260304
|
||||
labels:
|
||||
app.kubernetes.io/app-version: 6.2.0
|
||||
app.kubernetes.io/managed-by: octopus
|
||||
cmii.app: cmii-uav-ai-core
|
||||
cmii.type: backend
|
||||
octopus/control: backend-app-1.0.0
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
cmii.app: cmii-uav-ai-core
|
||||
cmii.type: backend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
cmii.app: cmii-uav-ai-core
|
||||
cmii.type: backend
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-backend-log-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-backend-log-pvc
|
||||
containers:
|
||||
- name: cmii-uav-ai-core
|
||||
image: 192.168.5.41:8033/cmii/cmii-uav-ai-core:2.0.0-2026033101-arm
|
||||
ports:
|
||||
- name: pod-port
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: K8S_NAMESPACE
|
||||
value: xj-aks-uav-260304
|
||||
- name: APPLICATION_NAME
|
||||
value: cmii-uav-ai-core
|
||||
- name: CUST_JAVA_OPTS
|
||||
value: '-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true'
|
||||
- name: NACOS_REGISTRY
|
||||
value: helm-nacos.cqejpt.svc.cluster.local:8848
|
||||
- name: NACOS_DISCOVERY_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: NACOS_DISCOVERY_PORT
|
||||
value: '8080'
|
||||
- name: BIZ_CONFIG_GROUP
|
||||
value: 6.2.0
|
||||
- name: SYS_CONFIG_GROUP
|
||||
value: 6.2.0
|
||||
- name: IMAGE_VERSION
|
||||
value: 6.2.0
|
||||
- name: NACOS_USERNAME
|
||||
value: developer
|
||||
- name: NACOS_PASSWORD
|
||||
value: Deve@9128201
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.namespace
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: spec.nodeName
|
||||
- name: NODE_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: LIMIT_CPU
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: cmii-uav-ai-core
|
||||
resource: limits.cpu
|
||||
divisor: '0'
|
||||
- name: LIMIT_MEMORY
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: cmii-uav-ai-core
|
||||
resource: limits.memory
|
||||
divisor: '0'
|
||||
- name: REQUEST_CPU
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: cmii-uav-ai-core
|
||||
resource: requests.cpu
|
||||
divisor: '0'
|
||||
- name: REQUEST_MEMORY
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: cmii-uav-ai-core
|
||||
resource: requests.memory
|
||||
divisor: '0'
|
||||
resources:
|
||||
limits:
|
||||
cpu: '2'
|
||||
memory: 3Gi
|
||||
requests:
|
||||
cpu: 300m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: nfs-backend-log-volume
|
||||
mountPath: /cmii/logs
|
||||
subPath: uavcloud-devflight/cmii-uav-ai-core
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /cmii/health
|
||||
port: pod-port
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 5
|
||||
periodSeconds: 20
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /cmii/health
|
||||
port: pod-port
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 5
|
||||
periodSeconds: 20
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /cmii/health
|
||||
port: pod-port
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 3
|
||||
periodSeconds: 20
|
||||
successThreshold: 1
|
||||
failureThreshold: 5
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
imagePullPolicy: Always
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 30
|
||||
dnsPolicy: ClusterFirst
|
||||
securityContext: {}
|
||||
imagePullSecrets:
|
||||
- name: harborsecret
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: uavcloud.env
|
||||
operator: In
|
||||
values:
|
||||
- yuansong
|
||||
schedulerName: default-scheduler
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 1
|
||||
maxSurge: 25%
|
||||
revisionHistoryLimit: 10
|
||||
progressDeadlineSeconds: 600
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: cmii-uav-ai-core
|
||||
namespace: xj-aks-uav-260304
|
||||
labels:
|
||||
app.kubernetes.io/app-version: 6.2.0
|
||||
app.kubernetes.io/managed-by: octopus
|
||||
cmii.app: cmii-uav-ai-core
|
||||
cmii.type: backend
|
||||
octopus/control: backend-app-1.0.0
|
||||
spec:
|
||||
ports:
|
||||
- name: backend-tcp
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
selector:
|
||||
cmii.app: cmii-uav-ai-core
|
||||
cmii.type: backend
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user