Commit 4976f5c9 by 李辉02

init(添加commander-ifs-service部署文件): 添加部署文件

parent 08f5aad9
......@@ -8,8 +8,8 @@ dependencies:
- name: commander-data-check
repository: file://charts/commander-data-check
version: 0.0.1
- name: commander-ifs
repository: file://charts/commander-ifs
- name: commander-ifs-service
repository: file://charts/commander-ifs-service
version: 0.0.1
- name: commander-web
repository: file://charts/commander-web
......
{{- define "app.resources" -}}
requests:
memory: "400Mi"
cpu: "300m"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
......
apiVersion: v2
name: commander-ifs
description: commander-ifs helm chart
name: commander-ifs-service
description: commander-ifs-service helm chart
type: application
version: 0.0.1
appVersion: "6.1.1.25090518"
\ No newline at end of file
appVersion: "2.1.2"
\ No newline at end of file
......@@ -17,7 +17,7 @@ helm package . --destination d:/helmCharts
```shell
#
C:\Users\admin\AppData\Roaming\helm\plugins\helm-push\bin\helm-cm-push.exe d:/helmCharts/fileapi-0.0.1.tgz k8s-t0-commander
C:\Users\admin\AppData\Roaming\helm\plugins\helm-push\bin\helm-cm-push.exe d:/helmCharts/commander-ifs-service-0.0.1.tgz k8s-t0-commander
# 查询
helm search repo k8s-t0-commander
......@@ -31,11 +31,11 @@ helm repo update
需要在k8s集群上执行
```shell
helm install fileapi k8s-t0-commander/fileapi --version 0.0.1 -n commander-standard-dev --create-namespace
helm install fileapi k8s-t0-commander/fileapi -n commander-standard-dev --create-namespace
helm install commander-ifs-service k8s-t0-commander/commander-ifs-service --version 0.0.1 -n commander-standard-dev --create-namespace
helm install commander-ifs-service k8s-t0-commander/commander-ifs-service -n commander-standard-dev --create-namespace
# 预检
helm install fileapi k8s-t0-commander/fileapi -n commander-standard-dev --dry-run
helm install commander-ifs-service k8s-t0-commander/commander-ifs-service -n commander-standard-dev --dry-run
```
## 查询
......@@ -47,11 +47,11 @@ helm list -n commander-standard-dev
## 卸载
```shell
helm uninstall fileapi -n commander-standard-dev
helm uninstall commander-ifs-service -n commander-standard-dev
```
## 更新
```shell
helm upgrade fileapi k8s-t0-commander/fileapi -n commander-standard-dev
helm upgrade commander-ifs-service k8s-t0-commander/commander-ifs-service -n commander-standard-dev
```
{{- define "app.resources" -}}
requests:
memory: "400Mi"
cpu: "300m"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
......
......@@ -20,8 +20,8 @@ global:
pass: "zhht2023"
profiles_active: "prod"
# ------------------------------------------------------------------------------
fileapi:
imageVersion: "6.1.1.25090518"
commander-ifs-service:
imageVersion: "2.1.2"
port: 5610
env:
rocketmq_log_level: "ERROR"
......
{{- define "app.resources" -}}
requests:
memory: "400Mi"
cpu: "300m"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
......
{{- define "app.resources" -}}
requests:
memory: "400Mi"
cpu: "300m"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
......
apiVersion: v2
appVersion: "0.0.1"
name: common
type: library
type: application
version: "0.0.1"
{{- define "app.imagePullSecrets" -}}
{{- if .Values.global.imagePullSecrets }}
{{- if eq .Values.global.imagePullSecrets "none" }}
imagePullSecrets: []
{{- else }}
imagePullSecrets:
- name: {{ .Values.global.imagePullSecrets }}
{{- end }}
{{- else }}
imagePullSecrets: []
{{- end }}
{{- end -}}
\ No newline at end of file
apiVersion: v1
data:
.dockerconfigjson: >-
eyJhdXRocyI6eyJrOHMtdDAudGVuY2VudGNsb3VkY3IuY29tIjp7InVzZXJuYW1lIjoiMTAwMDM2NjI3MDUxIiwicGFzc3dvcmQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWs1U1JFVTZSbE0zU0RwWk5WUlZPbFJXUWtNNlRFSlZTVHBPTWpaYU9rZFRURFE2UkZsU1JEcE5URXRWT2pOS1VGYzZUVGRVUnpwRVQwWldJbjAuZXlKdmQyNWxjbFZwYmlJNklqRXdNREF6TmpZeU56QTFNU0lzSW05d1pYSmhkRzl5VldsdUlqb2lNVEF3TURNMk5qSTNNRFV4SWl3aWRHOXJaVzVKWkNJNkltUXhhbkprYkdGbloyRmxOblpoY0dnM2RHSm5JaXdpWlhod0lqb3lNRFkyT1RnM05EYzNMQ0p1WW1ZaU9qRTNOVEUyTWpjME56Y3NJbWxoZENJNk1UYzFNVFl5TnpRM04zMC5Od01ZaEh1TjZ3M2VLMTBva1dPNU8zV2FJQWdXZEh6ZmhIOUFnXzhzQWFXWmNSamtXbmlwYXpBeDBRc0hueGYtTWllNVgyNzVBclBFME9HYVZMRHdoaGFqLW5fdktBUHpQOVI5M3VNR25WUVJ6cktmNmNhSzNfc0JlS01ndjR6NWNkN3lhejR6NnR5OFNZV2R6X2tlRnF0MzR1R0lyaHdXODM4TG9iaUJBdW1CS0ZuUjJnNDV5RlNHaTNQcmh2Tk5DQ0hQNGs0MjVJREY0Q3lsb3FJM0ViQ21Pb2JuamY5MEZxXzUwWnBCaWZHSWpxSjJYaU5XX3A1SmdTU1hpX0pVY3ZiUXNBWHBMaUtBTHQxQzdNNWdCaXFzaW1EeUlYLUltWUlqTkJCUDE3OFM0ZlZZWDlKTklLdjgyS2xHZTVmczVfQ0pndzFvODN0T1hyWlBCVEZIV2ciLCJlbWFpbCI6IiJ9fX0=
kind: Secret
metadata:
labels:
label_key_for_tcr_assistant_key: {{ .Values.global.imagePullSecrets }}
name: {{ .Values.global.imagePullSecrets }}
namespace: {{ .Values.global.app.namespace }}
type: kubernetes.io/dockerconfigjson
\ No newline at end of file
global:
imagePullSecrets: tcr.ipstcr-public
app:
namespace: commander-standard-dev
replicas: 1
imageUrl: k8s-t0.tencentcloudcr.com/commander/
apiHost: commander-api.aipark.com
nacos:
ip: "nacos-headless.nacos.svc.cluster.local"
port: "8848"
pass: "zhht2023"
profiles_active: "prod"
\ No newline at end of file
namespace: commander-standard-dev
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment