Compare commits
9 Commits
feat/setti
...
fix/lint-e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
630e590039 | ||
|
|
088c78ecaa | ||
|
|
92e63af518 | ||
|
|
ee1ac109e4 | ||
|
|
784bad278c | ||
|
|
e531d362b6 | ||
|
|
455f4d7a39 | ||
|
|
6423cccc88 | ||
|
|
89cc1cf52b |
5
.github/workflows/daily-lint-check.yaml
vendored
5
.github/workflows/daily-lint-check.yaml
vendored
@@ -32,5 +32,8 @@ jobs:
|
||||
bash scripts/package.sh
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint --chart-dirs build/installer/wizard/config --check-version-increment=false --all
|
||||
run: |
|
||||
ct lint --chart-dirs \
|
||||
build/installer/wizard/config,build/installer/wizard/config/apps,,build/installer/wizard/config/gpu \
|
||||
--check-version-increment=false --all
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -156,7 +156,7 @@ spec:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: '{{ .Values.userspace.userData }}'
|
||||
- name: terminus-sidecar-config
|
||||
configMap:
|
||||
name: sidecar-ws-configs
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
username: 'test'
|
||||
url: 'test'
|
||||
|
||||
@@ -304,14 +304,14 @@ spec:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.rootPath }}/rootfs/userspace
|
||||
path: '{{ .Values.rootPath }}/rootfs/userspace'
|
||||
- name: fb-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.rootPath }}/userdata/Cache/files
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache/files'
|
||||
- name: upload-appdata
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/userdata/Cache
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache'
|
||||
type: DirectoryOrCreate
|
||||
- name: files-nginx-config
|
||||
configMap:
|
||||
@@ -324,13 +324,13 @@ spec:
|
||||
defaultMode: 420
|
||||
- name: user-appdata-dir
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/userdata/Cache
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache'
|
||||
type: Directory
|
||||
|
||||
{{ if .Values.sharedlib }}
|
||||
- name: shared-lib
|
||||
hostPath:
|
||||
path: {{ .Values.sharedlib }}
|
||||
path: "{{ .Values.sharedlib }}"
|
||||
type: Directory
|
||||
{{ end }}
|
||||
|
||||
@@ -447,11 +447,11 @@ spec:
|
||||
- name: user-appdata-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.rootPath }}/userdata/Cache
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache'
|
||||
- name: fb-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.rootPath }}/userdata/Cache/files-appdata
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache/files-appdata'
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -433,36 +433,36 @@ spec:
|
||||
volumes:
|
||||
- name: data-dir
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/rootfs/userspace
|
||||
path: '{{ .Values.rootPath }}/rootfs/userspace'
|
||||
type: Directory
|
||||
- name: watch-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}/Documents
|
||||
path: '{{ .Values.userspace.userData }}/Documents'
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: '{{ .Values.userspace.userData }}'
|
||||
- name: userspace-app-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.appData }}
|
||||
path: '{{ .Values.userspace.appData }}'
|
||||
- name: fb-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache}}/files
|
||||
path: '{{ .Values.userspace.appCache}}/files'
|
||||
- name: upload-data
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: '{{ .Values.userspace.userData }}'
|
||||
- name: upload-appdata
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.appCache}}
|
||||
path: '{{ .Values.userspace.appCache}}'
|
||||
- name: uploads-temp
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/files/uploadstemp
|
||||
path: '{{ .Values.userspace.appCache }}/files/uploadstemp'
|
||||
- name: terminus-sidecar-config
|
||||
configMap:
|
||||
name: sidecar-upload-configs
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -46,4 +45,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -346,10 +346,10 @@ spec:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.rootPath }}/rootfs/userspace
|
||||
path: '{{ .Values.rootPath }}/rootfs/userspace'
|
||||
- name: cache-dir
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/userdata/Cache/rss
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache/rss'
|
||||
type: DirectoryOrCreate
|
||||
- name: terminus-sidecar-config
|
||||
configMap:
|
||||
@@ -613,11 +613,11 @@ spec:
|
||||
- name: config-dir
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.rootPath }}/userdata/Cache/download
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache/download'
|
||||
- name: download-dir
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.rootPath }}/rootfs/userspace
|
||||
path: '{{ .Values.rootPath }}/rootfs/userspace'
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,5 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -192,7 +192,7 @@ spec:
|
||||
path: envoy.yaml
|
||||
- name: opt-data
|
||||
hostPath:
|
||||
path: {{ .Values.userspace.appData}}/appstore/data
|
||||
path: '{{ .Values.userspace.appData}}/appstore/data'
|
||||
type: DirectoryOrCreate
|
||||
|
||||
---
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -42,4 +41,4 @@ os:
|
||||
appstore:
|
||||
marketProvider: ''
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -125,14 +125,14 @@ spec:
|
||||
- name: chart
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appData}}/studio/Chart
|
||||
path: '{{ .Values.userspace.appData}}/studio/Chart'
|
||||
- name: data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appData }}/studio/Data
|
||||
path: '{{ .Values.userspace.appData }}/studio/Data'
|
||||
- name: storage-volume
|
||||
hostPath:
|
||||
path: {{ .Values.userspace.appData }}/studio/helm-repo-dev
|
||||
path: '{{ .Values.userspace.appData }}/studio/helm-repo-dev'
|
||||
type: DirectoryOrCreate
|
||||
- name: config-san
|
||||
configMap:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -36,9 +35,8 @@ os:
|
||||
search:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
search2:
|
||||
studio:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
|
||||
|
||||
@@ -425,7 +425,7 @@ spec:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: '{{ .Values.userspace.userData }}'
|
||||
- name: terminus-sidecar-config
|
||||
configMap:
|
||||
name: sidecar-configs
|
||||
@@ -437,7 +437,7 @@ spec:
|
||||
- name: wise-download-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: '{{ .Values.userspace.userData }}'
|
||||
- name: system-frontend-nginx-config
|
||||
configMap:
|
||||
name: system-frontend-nginx-config
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -18,10 +17,10 @@ docs:
|
||||
desktop:
|
||||
nodeport: 30180
|
||||
os:
|
||||
portfolio:
|
||||
profile:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
vault:
|
||||
studio:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
desktop:
|
||||
@@ -39,5 +38,11 @@ os:
|
||||
search2:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
settings:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
dashboard:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -135,11 +135,11 @@ spec:
|
||||
- name: vault-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $vault_rootpath }}/data
|
||||
path: '{{ $vault_rootpath }}/data'
|
||||
- name: vault-attach
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $vault_rootpath }}/attachments
|
||||
path: '{{ $vault_rootpath }}/attachments'
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -132,7 +132,7 @@ spec:
|
||||
- name: userspace-dir
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.userspace.userData }}
|
||||
path: "{{ .Values.userspace.userData }}"
|
||||
# - name: terminus-sidecar-config
|
||||
# configMap:
|
||||
# name: sidecar-configs
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
username: 'test'
|
||||
url: 'test'
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
backup:
|
||||
|
||||
@@ -13,4 +13,3 @@ maintainers:
|
||||
- name: zhangxiao
|
||||
email: xiaozhang0210@hotmail.com
|
||||
appVersion: "2.5.0"
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ spec:
|
||||
volumes:
|
||||
- name: "pod-gpu-resources"
|
||||
hostPath:
|
||||
path: {{ .Values.dcgmExporter.kubeletPath }}
|
||||
path: '{{ .Values.dcgmExporter.kubeletPath }}'
|
||||
{{- if and .Values.dcgmExporter.tlsServerConfig.enabled }}
|
||||
- name: "tls"
|
||||
secret:
|
||||
|
||||
@@ -112,12 +112,12 @@ spec:
|
||||
- name: NVIDIA_MIG_MONITOR_DEVICES
|
||||
value: all
|
||||
- name: HOOK_PATH
|
||||
value: {{ .Values.global.gpuHookPath }}/vgpu
|
||||
value: '{{ .Values.global.gpuHookPath }}/vgpu'
|
||||
resources:
|
||||
{{- toYaml .Values.devicePlugin.vgpuMonitor.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- name: ctrs
|
||||
mountPath: {{ .Values.devicePlugin.monitorctrPath }}
|
||||
mountPath: '{{ .Values.devicePlugin.monitorctrPath }}'
|
||||
- name: dockers
|
||||
mountPath: /run/docker
|
||||
- name: containerds
|
||||
@@ -131,7 +131,7 @@ spec:
|
||||
volumes:
|
||||
- name: ctrs
|
||||
hostPath:
|
||||
path: {{ .Values.devicePlugin.monitorctrPath }}
|
||||
path: '{{ .Values.devicePlugin.monitorctrPath }}'
|
||||
- name: hosttmp
|
||||
hostPath:
|
||||
path: /tmp
|
||||
@@ -143,10 +143,10 @@ spec:
|
||||
path: /run/containerd
|
||||
- name: device-plugin
|
||||
hostPath:
|
||||
path: {{ .Values.devicePlugin.pluginPath }}
|
||||
path: '{{ .Values.devicePlugin.pluginPath }}'
|
||||
- name: lib
|
||||
hostPath:
|
||||
path: {{ .Values.devicePlugin.libPath }}
|
||||
path: '{{ .Values.devicePlugin.libPath }}'
|
||||
- name: usrbin
|
||||
hostPath:
|
||||
path: /usr/bin
|
||||
|
||||
@@ -2,32 +2,32 @@
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
imagePullSecrets: [ ]
|
||||
imagePullSecrets: []
|
||||
version: "v2.5.1"
|
||||
|
||||
#Nvidia GPU Parameters
|
||||
# Nvidia GPU Parameters
|
||||
resourceName: "nvidia.com/gpu"
|
||||
resourceMem: "nvidia.com/gpumem"
|
||||
resourceMemPercentage: "nvidia.com/gpumem-percentage"
|
||||
resourceCores: "nvidia.com/gpucores"
|
||||
resourcePriority: "nvidia.com/priority"
|
||||
|
||||
#MLU Parameters
|
||||
# MLU Parameters
|
||||
mluResourceName: "cambricon.com/vmlu"
|
||||
mluResourceMem: "cambricon.com/mlu.smlu.vmemory"
|
||||
mluResourceCores: "cambricon.com/mlu.smlu.vcore"
|
||||
|
||||
#Hygon DCU Parameters
|
||||
# Hygon DCU Parameters
|
||||
dcuResourceName: "hygon.com/dcunum"
|
||||
dcuResourceMem: "hygon.com/dcumem"
|
||||
dcuResourceCores: "hygon.com/dcucores"
|
||||
|
||||
#Iluvatar GPU Parameters
|
||||
# Iluvatar GPU Parameters
|
||||
iluvatarResourceName: "iluvatar.ai/vgpu"
|
||||
iluvatarResourceMem: "iluvatar.ai/vcuda-memory"
|
||||
iluvatarResourceCore: "iluvatar.ai/vcuda-core"
|
||||
|
||||
#Metax SGPU Parameters
|
||||
# Metax SGPU Parameters
|
||||
metaxResourceName: "metax-tech.com/sgpu"
|
||||
metaxResourceCore: "metax-tech.com/vcore"
|
||||
metaxResourceMem: "metax-tech.com/vmemory"
|
||||
@@ -51,7 +51,7 @@ scheduler:
|
||||
# if we install the nvidia-vgpu-scheduler-scheduler as default scheduler, we need to remove the k8s default
|
||||
# scheduler pod from the cluster first, we must specify node name to skip the schedule workflow.
|
||||
nodeName: ""
|
||||
#nodeLabelSelector:
|
||||
# nodeLabelSelector:
|
||||
# "gpu": "on"
|
||||
overwriteEnv: "false"
|
||||
defaultSchedulerPolicy:
|
||||
@@ -100,13 +100,13 @@ scheduler:
|
||||
- -v=4
|
||||
podAnnotations: {}
|
||||
tolerations: []
|
||||
#serviceAccountName: "hami-vgpu-scheduler-sa"
|
||||
# serviceAccountName: "hami-vgpu-scheduler-sa"
|
||||
admissionWebhook:
|
||||
customURL:
|
||||
enabled: false
|
||||
# must be an endpoint using https.
|
||||
# should generate host certs here
|
||||
host: 127.0.0.1 # hostname or ip, can be your node'IP if you want to use https://<nodeIP>:<schedulerPort>/<path>
|
||||
host: 127.0.0.1 # hostname or ip, can be your node'IP if you want to use https://<nodeIP>:<schedulerPort>/<path>
|
||||
port: 31998
|
||||
path: /webhook
|
||||
whitelistNamespaces:
|
||||
@@ -147,16 +147,13 @@ devicePlugin:
|
||||
passDeviceSpecsEnabled: false
|
||||
extraArgs:
|
||||
- -v=4
|
||||
|
||||
service:
|
||||
type: ClusterIP # Default type is NodePort, can be changed to ClusterIP
|
||||
httpPort: 31992
|
||||
labels: {}
|
||||
annotations: {}
|
||||
|
||||
pluginPath: /var/lib/kubelet/device-plugins
|
||||
libPath: /usr/local/vgpu
|
||||
|
||||
podAnnotations: {}
|
||||
nvidianodeSelector:
|
||||
gpu.bytetrade.io/cuda-supported: 'true'
|
||||
@@ -315,7 +312,7 @@ dcgmExporter:
|
||||
interval: 15s
|
||||
honorLabels: false
|
||||
additionalLabels: {}
|
||||
#monitoring: prometheus
|
||||
# monitoring: prometheus
|
||||
relabelings: []
|
||||
# - sourceLabels: [__meta_kubernetes_pod_node_name]
|
||||
# separator: ;
|
||||
@@ -325,13 +322,13 @@ dcgmExporter:
|
||||
# action: replace
|
||||
|
||||
nodeSelector: {}
|
||||
#node: gpu
|
||||
# node: gpu
|
||||
|
||||
tolerations: []
|
||||
#- operator: Exists
|
||||
# - operator: Exists
|
||||
|
||||
affinity: {}
|
||||
#nodeAffinity:
|
||||
# nodeAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
@@ -339,7 +336,7 @@ dcgmExporter:
|
||||
# operator: Exists
|
||||
|
||||
extraHostVolumes: []
|
||||
#- name: host-binaries
|
||||
# - name: host-binaries
|
||||
# hostPath: /opt/bin
|
||||
|
||||
extraConfigMapVolumes:
|
||||
@@ -356,7 +353,7 @@ dcgmExporter:
|
||||
subPath: default-counters.csv
|
||||
|
||||
extraEnv: []
|
||||
#- name: EXTRA_VAR
|
||||
# - name: EXTRA_VAR
|
||||
# value: "TheStringValue"
|
||||
|
||||
# Path to the kubelet socket for /pod-resources
|
||||
@@ -391,7 +388,7 @@ dcgmExporter:
|
||||
ca: ""
|
||||
|
||||
basicAuth:
|
||||
#Object containing <user>:<passwords> key-value pairs for each user that will have access via basic authentication
|
||||
# Object containing <user>:<passwords> key-value pairs for each user that will have access via basic authentication
|
||||
users: {}
|
||||
|
||||
# Customized list of metrics to emit. Expected to be in the same format (CSV) as the default list.
|
||||
@@ -527,4 +524,4 @@ webui:
|
||||
|
||||
externalPrometheus:
|
||||
address: "http://prometheus-k8s.kubesphere-monitoring-system:9090"
|
||||
enabled: true
|
||||
enabled: true
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
{{ $charts_rootpath := printf "%s%s" .Values.rootPath "/rootfs/charts" }}
|
||||
{{ $usertmpl_rootpath := printf "%s%s" .Values.rootPath "/rootfs/usertemplate" }}
|
||||
{{ $charts_pv := "pv-charts" }}
|
||||
@@ -23,7 +21,7 @@ spec:
|
||||
capacity:
|
||||
storage: 100Mi
|
||||
hostPath:
|
||||
path: {{ $charts_rootpath }}/{{ default $charts_pvc .Values.charts_pvc }}
|
||||
path: '{{ $charts_rootpath }}/{{ default $charts_pvc .Values.charts_pvc }}'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -58,7 +56,7 @@ spec:
|
||||
capacity:
|
||||
storage: 100Mi
|
||||
hostPath:
|
||||
path: {{ $usertmpl_rootpath }}/{{ default $usertmpl_pvc .Values.usertmpl_pvc }}
|
||||
path: '{{ $usertmpl_rootpath }}/{{ default $usertmpl_pvc .Values.usertmpl_pvc }}'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -107,8 +105,8 @@ data:
|
||||
|
||||
[bytetrade]
|
||||
DNS.1 = app-service.os-system.svc
|
||||
---
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
@@ -122,13 +120,13 @@ metadata:
|
||||
charts_pv: {{ default $charts_pv .Values.charts_pv }}
|
||||
charts_pvc: {{ default $charts_pvc .Values.charts_pvc }}
|
||||
charts_sc: {{ default $charts_sc .Values.charts_sc }}
|
||||
charts_hostpath: {{ $charts_rootpath }}/{{ default $charts_pvc .Values.charts_pvc }}
|
||||
charts_hostpath: '{{ $charts_rootpath }}/{{ default $charts_pvc .Values.charts_pvc }}'
|
||||
|
||||
usertmpl_storage: {{ $usertmpl_storage }}
|
||||
usertmpl_pv: {{ default $usertmpl_pv .Values.usertmpl_pv }}
|
||||
usertmpl_pvc: {{ default $usertmpl_pvc .Values.usertmpl_pvc }}
|
||||
usertmpl_sc: {{ default $usertmpl_sc .Values.usertmpl_sc }}
|
||||
usertmpl_hostpath: {{ $usertmpl_rootpath }}/{{ default $usertmpl_pvc .Values.usertmpl_pvc }}
|
||||
usertmpl_hostpath: '{{ $usertmpl_rootpath }}/{{ default $usertmpl_pvc .Values.usertmpl_pvc }}'
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -225,7 +223,7 @@ spec:
|
||||
volumes:
|
||||
- name: app-cache
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/userdata/Cache
|
||||
path: '{{ .Values.rootPath }}/userdata/Cache'
|
||||
type: DirectoryOrCreate
|
||||
- name: configtoml
|
||||
hostPath:
|
||||
|
||||
@@ -31,10 +31,10 @@ spec:
|
||||
- name: dbdata
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $backup_server_rootpath }}/data
|
||||
path: '{{ $backup_server_rootpath }}/data'
|
||||
- name: rootfs
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}/rootfs
|
||||
path: '{{ .Values.rootPath }}/rootfs'
|
||||
serviceAccountName: os-internal
|
||||
containers:
|
||||
- name: api
|
||||
|
||||
@@ -42,7 +42,7 @@ spec:
|
||||
capacity:
|
||||
storage: {{ $userspace_storage }}
|
||||
hostPath:
|
||||
path: {{ $userspace_pv_rootpath }}/{{ default $userspace_pvc .Values.bfl.userspace_pvc }}
|
||||
path: '{{ $userspace_pv_rootpath }}/{{ default $userspace_pvc .Values.bfl.userspace_pvc }}'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ $userspace_storage }}
|
||||
storage: '{{ $userspace_storage }}'
|
||||
volumeMode: Filesystem
|
||||
{{ if .Values.bfl.userspace_pv }}
|
||||
volumeName: {{ .Values.bfl.userspace_pv }}
|
||||
@@ -77,7 +77,7 @@ spec:
|
||||
capacity:
|
||||
storage: {{ $appcache_storage }}
|
||||
hostPath:
|
||||
path: {{ $appcache_pv_rootpath }}/{{ default $appcache_pvc .Values.bfl.appcache_pvc }}
|
||||
path: '{{ $appcache_pv_rootpath }}/{{ default $appcache_pvc .Values.bfl.appcache_pvc }}'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -112,7 +112,7 @@ spec:
|
||||
capacity:
|
||||
storage: {{ $dbdata_storage }}
|
||||
hostPath:
|
||||
path: {{ $dbdata_pv_rootpath }}/{{ default $dbdata_pvc .Values.bfl.dbdata_pvc }}
|
||||
path: '{{ $dbdata_pv_rootpath }}/{{ default $dbdata_pvc .Values.bfl.dbdata_pvc }}'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -173,21 +173,21 @@ metadata:
|
||||
userspace_pv: {{ default $userspace_pv .Values.bfl.userspace_pv }}
|
||||
userspace_pvc: {{ default $userspace_pvc .Values.bfl.userspace_pvc }}
|
||||
userspace_sc: {{ default $userspace_sc .Values.bfl.userspace_sc }}
|
||||
userspace_hostpath: {{ $userspace_pv_rootpath }}/{{ default $userspace_pvc .Values.bfl.userspace_pvc }}
|
||||
userspace_hostpath: '{{ $userspace_pv_rootpath }}/{{ default $userspace_pvc .Values.bfl.userspace_pvc }}'
|
||||
userspace_storage: {{ $userspace_storage }}
|
||||
|
||||
appcache_rand16: {{ default $appcache_rand16 .Values.bfl.appcache_rand16 }}
|
||||
appcache_pv: {{ default $appcache_pv .Values.bfl.appcache_pv }}
|
||||
appcache_pvc: {{ default $appcache_pvc .Values.bfl.appcache_pvc }}
|
||||
appcache_sc: {{ default $appcache_sc .Values.bfl.appcache_sc }}
|
||||
appcache_hostpath: {{ $appcache_pv_rootpath }}/{{ default $appcache_pvc .Values.bfl.appcache_pvc }}
|
||||
appcache_hostpath: '{{ $appcache_pv_rootpath }}/{{ default $appcache_pvc .Values.bfl.appcache_pvc }}'
|
||||
appcache_storage: {{ $appcache_storage }}
|
||||
|
||||
dbdata_rand16: {{ default $dbdata_rand16 .Values.bfl.dbdata_rand16 }}
|
||||
dbdata_pv: {{ default $dbdata_pv .Values.bfl.dbdata_pv }}
|
||||
dbdata_pvc: {{ default $dbdata_pvc .Values.bfl.dbdata_pvc }}
|
||||
dbdata_sc: {{ default $dbdata_sc .Values.bfl.dbdata_sc }}
|
||||
dbdata_hostpath: {{ $dbdata_pv_rootpath }}/{{ default $dbdata_pvc .Values.bfl.dbdata_pvc }}
|
||||
dbdata_hostpath: '{{ $dbdata_pv_rootpath }}/{{ default $dbdata_pvc .Values.bfl.dbdata_pvc }}'
|
||||
dbdata_storage: {{ $dbdata_storage }}
|
||||
spec:
|
||||
serviceName: bfl
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
|
||||
@@ -64,7 +64,7 @@ spec:
|
||||
volumes:
|
||||
- name: terminus
|
||||
hostPath:
|
||||
path: {{ .Values.rootPath }}
|
||||
path: '{{ .Values.rootPath }}'
|
||||
- name: bin
|
||||
hostPath:
|
||||
path: /usr/local/bin
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
capacity:
|
||||
storage: '50Gi'
|
||||
hostPath:
|
||||
path: {{ $citus_rootpath }}/pg_data
|
||||
path: '{{ $citus_rootpath }}/pg_data'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -45,5 +45,5 @@ metadata:
|
||||
spec:
|
||||
replicas: 1
|
||||
owner: system
|
||||
backupStorage: {{ $citus_backuppath }}/pg_backup
|
||||
backupStorage: '{{ $citus_backuppath }}/pg_backup'
|
||||
citusImage: beclab/citus:12.2
|
||||
@@ -73,6 +73,6 @@ spec:
|
||||
- name: s3-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $mongo_backuppath }}/mongo-backup
|
||||
path: '{{ $mongo_backuppath }}/mongo-backup'
|
||||
|
||||
|
||||
|
||||
@@ -45,15 +45,15 @@ spec:
|
||||
- name: dbdata-dir
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $dbdata_pv_rootpath }}
|
||||
path: '{{ $dbdata_pv_rootpath }}'
|
||||
- name: dbbackup-dir
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $dbbackup_rootpath }}
|
||||
path: '{{ $dbbackup_rootpath }}'
|
||||
- name: pgbackup-dir
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $dbbackup_rootpath }}/pg_backup
|
||||
path: '{{ $dbbackup_rootpath }}/pg_backup'
|
||||
initContainers:
|
||||
- name: init-dbspace
|
||||
image: busybox:1.28
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
capacity:
|
||||
storage: '50Gi'
|
||||
hostPath:
|
||||
path: {{ $nats_rootpath }}/nats_data
|
||||
path: '{{ $nats_rootpath }}/nats_data'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -215,7 +215,7 @@ spec:
|
||||
secret:
|
||||
secretName: nats-box-contexts
|
||||
- hostPath:
|
||||
path: {{ .Values.rootPath }}/userdata/dbdata/nats_data
|
||||
path: '{{ .Values.rootPath }}/userdata/dbdata/nats_data'
|
||||
type: DirectoryOrCreate
|
||||
name: nats-data
|
||||
---
|
||||
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
capacity:
|
||||
storage: '50Gi'
|
||||
hostPath:
|
||||
path: {{ $redix_rootpath }}/kvrocks_data
|
||||
path: '{{ $redix_rootpath }}/kvrocks_data'
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
volumeMode: Filesystem
|
||||
@@ -63,7 +63,7 @@ spec:
|
||||
type: kvrocks
|
||||
kvrocks:
|
||||
owner: system
|
||||
backupStorage: {{ $redix_backuppath }}/kvrocks_backup
|
||||
backupStorage: '{{ $redix_backuppath }}/kvrocks_backup'
|
||||
image: beclab/kvrocks:0.1.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
password:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: v2
|
||||
name: nats
|
||||
description: A Helm chart for Kubernetes
|
||||
maintainers:
|
||||
- name: bytetrade
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
nodeport_ingress_https: 30082
|
||||
username: 'test'
|
||||
url: 'test'
|
||||
nodeName: test
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -60,7 +60,7 @@ spec:
|
||||
- name: image-upload
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.userData }}/Pictures
|
||||
path: '{{ .Values.userspace.userData }}/Pictures'
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -436,7 +436,7 @@ spec:
|
||||
- name: data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $auth_rootpath }}
|
||||
path: '{{ $auth_rootpath }}'
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -541,7 +541,7 @@ spec:
|
||||
- name: data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $auth_rootpath }}
|
||||
path: '{{ $auth_rootpath }}'
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -201,15 +201,15 @@ spec:
|
||||
- name: config
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/headscale/config
|
||||
path: '{{ .Values.userspace.appCache }}/headscale/config'
|
||||
- name: headscale-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/headscale/data
|
||||
path: '{{ .Values.userspace.appCache }}/headscale/data'
|
||||
- name: config-parent
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/headscale
|
||||
path: '{{ .Values.userspace.appCache }}/headscale'
|
||||
- name: acl-config
|
||||
configMap:
|
||||
defaultMode: 420
|
||||
@@ -288,11 +288,11 @@ spec:
|
||||
- name: config
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/headscale/config
|
||||
path: '{{ .Values.userspace.appCache }}/headscale/config'
|
||||
- name: tailscale-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ .Values.userspace.appCache }}/tailscale/data
|
||||
path: '{{ .Values.userspace.appCache }}/tailscale/data'
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
@@ -40,4 +39,4 @@ os:
|
||||
appKey: '${ks[0]}'
|
||||
appSecret: test
|
||||
kubesphere:
|
||||
redis_password: ""
|
||||
redis_password: ""
|
||||
|
||||
3
third-party/ks-console/charts/values.yaml
vendored
3
third-party/ks-console/charts/values.yaml
vendored
@@ -1,4 +1 @@
|
||||
|
||||
|
||||
|
||||
username: test
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: v2
|
||||
name: opentelemetry
|
||||
description: A Helm chart for Kubernetes
|
||||
maintainers:
|
||||
- name: bytetrade
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
nodeport_ingress_https: 30082
|
||||
username: 'test'
|
||||
url: 'test'
|
||||
nodeName: test
|
||||
|
||||
@@ -495,15 +495,15 @@ spec:
|
||||
- name: seafile-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $seafile_application_rootpath }}/data
|
||||
path: '{{ $seafile_application_rootpath }}/data'
|
||||
- name: sync-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $seafile_application_rootpath }}
|
||||
path: '{{ $seafile_application_rootpath }}'
|
||||
- name: db-data
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: {{ $seafile_appcache_rootpath }}/db
|
||||
path: '{{ $seafile_appcache_rootpath }}/db'
|
||||
- name: seafile-nginx-conf
|
||||
configMap:
|
||||
name: seafile-nginx-conf
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: v2
|
||||
name: seafile
|
||||
description: A Helm chart for Kubernetes
|
||||
maintainers:
|
||||
- name: bytetrade
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
bfl:
|
||||
nodeport: 30883
|
||||
nodeport_ingress_http: 30083
|
||||
nodeport_ingress_https: 30082
|
||||
username: 'test'
|
||||
url: 'test'
|
||||
nodeName: test
|
||||
|
||||
Reference in New Issue
Block a user