掌舵没有配置我的意思

发布于 2025-01-21 12:56:34 字数 3389 浏览 4 评论 0 原文

我的命令是在我的Microk8s群集上安装GitLab图表。在此命令中,我想指示Helm在卷大小上部署具有某些配置的GitLab-CE。

$ microk8s.helm3 install gitlab-ce gitlab/gitlab --set global.hosts.domain=demo.jesaya,global.hosts.externalIP=10.8.60.205,global.edition=ce \
--set [email protected] \
--set minio.persistence.size=5Gi \
--set prometheus.server.persistentVolume.size=2Gi \
--set redis.master.persistence.size=2Gi \
--set gitlab-runner.install=false \
--set gitlab.gitaly.persistence.size=5Gi \
--set postgresql.primary.master.persistence.size=2Gi,postgresql.primary.livenessProbe.initialDelaySeconds=600,postgresql.primary.readinessProbe.initialDelaySeconds=630 \
-n gitlab-ce

我的PVC摘要:

$ microk8s.kubectl get pvc
NAME                                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
gitlab-ce-minio                       Bound    pvc-81b221d4-7294-4cd5-b771-f21a7c03741c   5Gi        RWO            nfs0           12m
gitlab-ce-prometheus-server           Bound    pvc-ba159b8b-30f4-42b4-b27a-fdbe66eb678a   2Gi        RWO            nfs0           12m
redis-data-gitlab-ce-redis-master-0   Bound    pvc-6d1ed8ea-f502-4db9-84e7-40e3a083bbda   2Gi        RWO            nfs0           11m
repo-data-gitlab-ce-gitaly-0          Bound    pvc-f1da1672-5aa6-4563-a988-db38cdc38991   5Gi        RWO            nfs0           11m
data-gitlab-ce-postgresql-0           Bound    pvc-54095a82-ca79-4d75-badc-39778dc3bc90   8Gi        RWO            nfs0           11m

GitLab图表:

apiVersion: v1
appVersion: 14.9.3
dependencies:
- name: gitlab
  repository: ""
  version: '*.*.*'
- name: certmanager-issuer
  repository: ""
  version: '*.*.*'
- name: minio
  repository: ""
  version: '*.*.*'
- name: registry
  repository: ""
  version: '*.*.*'
- alias: certmanager
  condition: certmanager.install
  name: cert-manager
  repository: https://charts.jetstack.io/
  version: 1.5.4
- condition: prometheus.install
  name: prometheus
  repository: https://prometheus-community.github.io/helm-charts
  version: 15.0.4
- condition: postgresql.install
  name: postgresql
  repository: https://charts.bitnami.com/bitnami
  version: 8.9.4
- condition: gitlab-runner.install
  name: gitlab-runner
  repository: https://charts.gitlab.io/
  version: 0.39.0
- condition: global.grafana.enabled
  name: grafana
  repository: https://grafana.github.io/helm-charts
  version: 6.9.1
- condition: redis.install
  name: redis
  repository: https://charts.bitnami.com/bitnami
  version: 11.3.4
- condition: nginx-ingress.enabled
  name: nginx-ingress
  repository: ""
  version: '*.*.*'
description: Web-based Git-repository manager with wiki and issue-tracking features.
home: https://about.gitlab.com/
icon: https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo-square.png
keywords:
- gitlab
maintainers:
- email: [email protected]
  name: GitLab Inc.
name: gitlab
sources:
- https://gitlab.com/gitlab-org/charts/gitlab
version: 5.9.3

我在这里找不到任何根本原因。另一种PostgreSQL图表配置(如准备和LIVICES)也无法像我想要的那样正常工作。

My command is to install a GitLab chart on my microK8s cluster. In this command, I want to instruct Helm to deploy a GitLab-CE with some configuration on volume size.

$ microk8s.helm3 install gitlab-ce gitlab/gitlab --set global.hosts.domain=demo.jesaya,global.hosts.externalIP=10.8.60.205,global.edition=ce \
--set [email protected] \
--set minio.persistence.size=5Gi \
--set prometheus.server.persistentVolume.size=2Gi \
--set redis.master.persistence.size=2Gi \
--set gitlab-runner.install=false \
--set gitlab.gitaly.persistence.size=5Gi \
--set postgresql.primary.master.persistence.size=2Gi,postgresql.primary.livenessProbe.initialDelaySeconds=600,postgresql.primary.readinessProbe.initialDelaySeconds=630 \
-n gitlab-ce

My PVC summary:

$ microk8s.kubectl get pvc
NAME                                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
gitlab-ce-minio                       Bound    pvc-81b221d4-7294-4cd5-b771-f21a7c03741c   5Gi        RWO            nfs0           12m
gitlab-ce-prometheus-server           Bound    pvc-ba159b8b-30f4-42b4-b27a-fdbe66eb678a   2Gi        RWO            nfs0           12m
redis-data-gitlab-ce-redis-master-0   Bound    pvc-6d1ed8ea-f502-4db9-84e7-40e3a083bbda   2Gi        RWO            nfs0           11m
repo-data-gitlab-ce-gitaly-0          Bound    pvc-f1da1672-5aa6-4563-a988-db38cdc38991   5Gi        RWO            nfs0           11m
data-gitlab-ce-postgresql-0           Bound    pvc-54095a82-ca79-4d75-badc-39778dc3bc90   8Gi        RWO            nfs0           11m

The GitLab Chart:

apiVersion: v1
appVersion: 14.9.3
dependencies:
- name: gitlab
  repository: ""
  version: '*.*.*'
- name: certmanager-issuer
  repository: ""
  version: '*.*.*'
- name: minio
  repository: ""
  version: '*.*.*'
- name: registry
  repository: ""
  version: '*.*.*'
- alias: certmanager
  condition: certmanager.install
  name: cert-manager
  repository: https://charts.jetstack.io/
  version: 1.5.4
- condition: prometheus.install
  name: prometheus
  repository: https://prometheus-community.github.io/helm-charts
  version: 15.0.4
- condition: postgresql.install
  name: postgresql
  repository: https://charts.bitnami.com/bitnami
  version: 8.9.4
- condition: gitlab-runner.install
  name: gitlab-runner
  repository: https://charts.gitlab.io/
  version: 0.39.0
- condition: global.grafana.enabled
  name: grafana
  repository: https://grafana.github.io/helm-charts
  version: 6.9.1
- condition: redis.install
  name: redis
  repository: https://charts.bitnami.com/bitnami
  version: 11.3.4
- condition: nginx-ingress.enabled
  name: nginx-ingress
  repository: ""
  version: '*.*.*'
description: Web-based Git-repository manager with wiki and issue-tracking features.
home: https://about.gitlab.com/
icon: https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo-square.png
keywords:
- gitlab
maintainers:
- email: [email protected]
  name: GitLab Inc.
name: gitlab
sources:
- https://gitlab.com/gitlab-org/charts/gitlab
version: 5.9.3

I didn't find any root cause here. Another PostgreSQL chart configuration like readiness and liveness also does not work properly like what I want.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

三人与歌 2025-01-28 12:56:34

固定

我应该引用此文件,因为它使用了旧版本。

FIXED

I should have referenced this file because it was using an old version.
https://github.com/bitnami/charts/blob/09ba1564fed3df4f1d94518edcb58aab1f75c827/bitnami/postgresql/values.yaml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文