在k8s安装CICD-devtron

先前条件

《kubernetes(k8s) 存储动态挂载》 参考我之前的文档进行部署 https://www.oiox.cn/index.php/archives/32/

安装helm工具

root@cby:~# curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
root@cby:~# chmod 700 get_helm.sh
root@cby:~# ./get_helm.sh
Downloading https://get.helm.sh/helm-v3.10.2-linux-amd64.tar.gz
Verifying checksum... Done.
Preparing to install helm into /usr/local/bin
helm installed into /usr/local/bin/helm
root@cby:~# 

使用 helm 安装

root@cby:~# helm repo add devtron https://helm.devtron.ai
"devtron" has been added to your repositories
root@cby:~# 
root@cby:~# 
root@cby:~# 
root@cby:~# helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd --set installer.modules={cicd}

NAME: devtron
LAST DEPLOYED: Fri Nov 18 05:22:13 2022
NAMESPACE: devtroncd
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Run the following command to get the password for the default admin user:

   kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d
2. Run the following command to get the dashboard URL for the service type:
   LoadBalancer
   
   kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}'
3. To track the progress of Devtron microservices installation, run the following command:

   kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.status}'
root@cby:~# 

查看验证

访问测试

关于

https://www.oiox.cn/

https://www.oiox.cn/index.php/start-page.html

CSDN、GitHub、51CTO、知乎、开源中国、思否、掘金、简书、华为云、阿里云、腾讯云、哔哩哔哩、今日头条、新浪微博、个人博客

全网可搜《小陈运维》

文章主要发布于微信公众号

最后更新于