DevOps DevOps
产品简介
产品安装
快速入门
使用指南
开发指南
FAQ
  • Jenkins Helm Chart
  • 安装 Chart
  • 卸载 Chart
  • 配置
  • 镜像
  • Service
  • 持久化

# Jenkins Helm Chart

# 安装 Chart

git clone http://euler.git.primeton.com/devops/devops-helm.git
kubectl create namespace devops
helm upgrade --install jenkins devops-helm/charts/jenkins -n devops

# 卸载 Chart

卸载或删除已部署的 Chart:

$ helm list -n devops
NAME        REVISION    UPDATED                     STATUS      CHART            NAMESPACE
jenkins     1           2024-03-07 12:42:31         DEPLOYED    jenkins-0.1.0     devops
$ helm delete jenkins -n devops

# 配置

# 镜像

image:
  repository: hub.c.primeton.com/devops-pro/primeton/jenkins
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: "2.426.1"
imagePullSecrets: []
  # - name: registry-harbor

# Service

service:
  type: NodePort
  port: 8080
  nodePort: 32006
  agentListenerPort: 50000
  agentListenerNodePort: 32007

# 持久化

persistence:
  enabled: false
  ## Set annotations on pvc
  annotations: {}

  ## Specify an existing volume claim instead of creating a new one.
  ## When using this option all following options like storageClass, accessMode and size are ignored.
  # existingClaim:
  #
  storageClass: 
  accessMode: ReadWriteOnce
  size: 8Gi

← DevOps SonarQube →