2299 lines
64 KiB
YAML
2299 lines
64 KiB
YAML
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/configmap.yaml
|
|
kind: ConfigMap
|
|
apiVersion: v1
|
|
metadata:
|
|
name: nginx-cm
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
data:
|
|
nginx.conf: |
|
|
user root;
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
|
|
keepalive_timeout 65;
|
|
|
|
server {
|
|
listen 9528;
|
|
server_name localhost;
|
|
gzip on;
|
|
|
|
location / {
|
|
root /home/cmii-platform/dist;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root html;
|
|
}
|
|
}
|
|
}
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/configmap.yaml
|
|
kind: ConfigMap
|
|
apiVersion: v1
|
|
metadata:
|
|
name: default-nginx-cm
|
|
namespace: wxqbt
|
|
data:
|
|
default.conf: |
|
|
server {
|
|
listen 9528;
|
|
server_name localhost;
|
|
|
|
location / {
|
|
if ($request_filename ~* ^.*?\.(css|js|gif|gz|svg|mp4|ogg|ogv|webm|htc|xml|woff)$){
|
|
# add_header Cache-Control no-cache;
|
|
add_header Cache-Control max-age=315360000;
|
|
# expires 30d;
|
|
}
|
|
root /home/cmii-platform/dist;
|
|
index index.html index.htm;
|
|
try_files $uri $uri/ /index.html;
|
|
gzip on;
|
|
}
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-ai-brain
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-ai-brain
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-ai-brain
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-mws
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-mws
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-mws
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-oms
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-oms
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-oms
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-open
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-open
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-open
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-splice
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-splice
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-splice
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-visualization
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-visualization
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-visualization
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-security
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-security
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-security
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-detection
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-detection
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-detection
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-share
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-share
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-share
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-cms-portal
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-cms-portal
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-cms-portal
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-logistics
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-logistics
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-logistics
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-emergency-rescue
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-emergency-rescue
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-emergency-rescue
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-base
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-base
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-base
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-suav-platform-supervision
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervision
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervision
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-media
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-media
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-media
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-suav-platform-supervisionh5
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervisionh5
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervisionh5
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-seniclive
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-seniclive
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-seniclive
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-securityh5
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-securityh5
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-securityh5
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-armypeople
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-armypeople
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-armypeople
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/service.yaml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cmii-uav-platform-multiterminal
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-multiterminal
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/version: 4.1.6
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-multiterminal
|
|
ports:
|
|
- name: web-svc-port
|
|
port: 9528
|
|
protocol: TCP
|
|
targetPort: 9528
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-platform
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-ai-brain
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-ai-brain
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-ai-brain
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-ai-brain
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-ai-brain
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-ai-brain:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-ai-brain
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-ai-brain
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-mws
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-mws
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-mws
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-mws
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-mws
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-mws:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-mws
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-mws
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-oms
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-oms
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-oms
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-oms
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-oms
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-oms:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-oms
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-oms
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-open
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-open
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-open
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-open
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-open
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-open:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-open
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-open
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-splice
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-splice
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-splice
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-splice
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-splice
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-splice:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-splice
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-splice
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-visualization
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-visualization
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-visualization
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-visualization
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-visualization
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-visualization:4.1.0"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-visualization
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-visualization
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-security
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-security
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-security
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-security
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-security
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-security:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-security
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-security
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-detection
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-detection
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-detection
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-detection
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-detection
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-detection:4.1.0"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-detection
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-detection
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-share
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-share
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-share
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-share
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-share
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-share:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-share
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-share
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-cms-portal
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-cms-portal
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-cms-portal
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-cms-portal
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-cms-portal
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-cms-portal:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-cms-portal
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-cms-portal
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-logistics
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-logistics
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-logistics
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-logistics
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-logistics
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-logistics:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-logistics
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-logistics
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-emergency-rescue
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-emergency-rescue
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-emergency-rescue
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-emergency-rescue
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-emergency-rescue
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-emergency-rescue:4.1.0"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-emergency-rescue
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-emergency-rescue
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-base
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-base
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-base
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-base
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-base
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-base:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-base
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-base
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-suav-platform-supervision
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervision
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervision
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervision
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-suav-platform-supervision
|
|
image: "32.128.6.68:8033/cmii/cmii-suav-platform-supervision:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-suav-platform-supervision
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefixcmii-suav-platform-supervision
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-media
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-media
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-media
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-media
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-media
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-media:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-media
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-media
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-suav-platform-supervisionh5
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervisionh5
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervisionh5
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-suav-platform-supervisionh5
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-suav-platform-supervisionh5
|
|
image: "32.128.6.68:8033/cmii/cmii-suav-platform-supervisionh5:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-suav-platform-supervisionh5
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefixcmii-suav-platform-supervisionh5
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-seniclive
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-seniclive
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-seniclive
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-seniclive
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-seniclive
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-seniclive:4.1.0"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-seniclive
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-seniclive
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-securityh5
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-securityh5
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-securityh5
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-securityh5
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-securityh5
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-securityh5:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-securityh5
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-securityh5
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-armypeople
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-armypeople
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-armypeople
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-armypeople
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-armypeople
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-armypeople:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-armypeople
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-armypeople
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
---
|
|
# Source: outside-deploy/charts/frontend-app/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cmii-uav-platform-multiterminal
|
|
namespace: wxqbt
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-multiterminal
|
|
helm.sh/chart: frontend-app-1.2.2
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/chart-version: "2.2.2"
|
|
app.kubernetes.io/app-version: "4.1.6"
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
selector:
|
|
matchLabels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-multiterminal
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cmii.type: frontend
|
|
cmii.app: cmii-uav-platform-multiterminal
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: harborsecret
|
|
securityContext:
|
|
{}
|
|
containers:
|
|
- name: cmii-uav-platform-multiterminal
|
|
image: "32.128.6.68:8033/cmii/cmii-uav-platform-multiterminal:4.1.6"
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: K8S_NAMESPACE
|
|
value: zhbf
|
|
- name: APPLICATION_NAME
|
|
value: cmii-uav-platform-multiterminal
|
|
ports:
|
|
- name: platform-9528
|
|
containerPort: 9528
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
volumeMounts:
|
|
- name: nginx-conf
|
|
mountPath: /usr/local/nginx/conf/nginx.conf
|
|
subPath: nginx.conf
|
|
- name: default-nginx-conf
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
- name: tenant-prefix
|
|
subPath: ingress-config.js
|
|
mountPath: /home/cmii-platform/dist/ingress-config.js
|
|
volumes:
|
|
- name: nginx-conf
|
|
configMap:
|
|
name: nginx-cm
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
- name: default-nginx-conf
|
|
configMap:
|
|
name: default-nginx-cm
|
|
items:
|
|
- key: default.conf
|
|
path: default.conf
|
|
- name: tenant-prefix
|
|
configMap:
|
|
name: tenant-prefix-multiterminal
|
|
items:
|
|
- key: ingress-config.js
|
|
path: ingress-config.js
|
|
|
|
|