k8s安装jenkins

目录

    • 前言
    • 安装

前言

k8s集群搭建参考:
https://blog.csdn.net/centrl/article/details/134291473
整合helm参考:
https://blog.csdn.net/centrl/article/details/134293363
安装nfs参考:
https://blog.csdn.net/centrl/article/details/134315647
安装ingress-nginx参考:
https://blog.csdn.net/centrl/article/details/134378269

安装

helm upgrade --install jenkins jenkins \
  --namespace jenkins --create-namespace \
  --repo https://charts.jenkins.io \
  --set controller.ingress.enabled=true \
  --set controller.ingress.apiVersion=networking.k8s.io/v1 \
  --set controller.ingress.ingressClassName=nginx \
  --set controller.ingress.hostName=jenkins.fktod.local \
  --set persistence.storageClass=nfs-client

你可能感兴趣的:(k8s,kubernetes,jenkins,java)