做法
添加社群維護的儲存庫。
| 1
 | helm repo add pmint93 https://pmint93.github.io/helm-charts
 | 
更新儲存庫。
建立 config.yaml 檔。
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 
 | replicaCount: 1podAnnotations: {}
 podLabels: {}
 image:
 repository: metabase/metabase
 tag: v0.43.4.2
 pullPolicy: IfNotPresent
 listen:
 host: "0.0.0.0"
 port: 3000
 ssl:
 enabled: false
 database:
 type: postgres
 host: your-db-host
 port: 5432
 dbname: your-db-name
 username: your-db-username
 password: your-db-password
 password:
 complexity: normal
 length: 6
 timeZone: UTC
 emojiLogging: true
 session: {}
 livenessProbe:
 initialDelaySeconds: 120
 timeoutSeconds: 30
 failureThreshold: 6
 readinessProbe:
 initialDelaySeconds: 30
 timeoutSeconds: 3
 periodSeconds: 5
 service:
 name: metabase
 type: ClusterIP
 externalPort: 80
 internalPort: 3000
 nodePort:
 annotations: {}
 ingress:
 enabled: false
 hosts:
 path: /
 labels:
 annotations: {}
 tls:
 resources: {}
 nodeSelector: {}
 tolerations: []
 affinity: {}
 
 | 
安裝 chart 資源。
| 1
 | helm install -f config.yaml metabase pmint93/metabase
 | 
列出所有 chart 資源。
將 services/metabase 服務轉發至本機。
| 1
 | kubectl port-forward services/metabase 8080:80
 | 
參考資料