在k8s安装CICD-devtron
在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:~#
查看验证
root@cby:~# kubectl get pod -n devtroncd
NAME READY STATUS RESTARTS AGE
app-sync-cronjob-27815700-lz565 0/1 Completed 0 2d5h
app-sync-cronjob-27817140-6wsj6 0/1 Completed 0 29h
app-sync-cronjob-27818580-kzjdb 0/1 Completed 0 5h33m
argo-rollouts-68dc6f5b75-949x9 1/1 Running 2 (152m ago) 4d10h
argocd-application-controller-0 1/1 Running 2 (152m ago) 4d9h
argocd-dex-server-54c8d7cbdf-nfjj2 1/1 Running 2 (153m ago) 4d10h
argocd-redis-7967b6b9f7-6c69j 1/1 Running 2 (152m ago) 4d9h
argocd-repo-server-6f9d65d87f-9p9p8 1/1 Running 2 (152m ago) 4d9h
argocd-server-7cf98cdffb-4qxgm 1/1 Running 2 (152m ago) 4d9h
clair-8cd58cdd9-nhglm 1/1 Running 46 (152m ago) 4d9h
dashboard-777c9bb5f9-zz4b5 1/1 Running 2 (152m ago) 4d10h
devtron-d74cf8958-2x7sb 1/1 Running 4 (151m ago) 4d8h
devtron-grafana-6657cbc8f9-9j7fp 2/2 Running 2 (153m ago) 4d8h
devtron-grafana-test 0/1 Completed 6 4d8h
devtron-housekeeping-qp59k 0/1 Completed 0 4d10h
devtron-nats-0 3/3 Running 6 (152m ago) 4d10h
devtron-nats-test-request-reply 0/1 Completed 0 4d10h
git-sensor-0 1/1 Running 6 (152m ago) 4d10h
grafana-org-job-jgzjp 0/1 Completed 0 4d8h
image-scanner-8679b48b66-t7bd2 1/1 Running 8 (151m ago) 4d9h
inception-846694f944-5hjtq 1/1 Running 2 (152m ago) 4d10h
kubelink-67985f58d5-xmds2 1/1 Running 2 (152m ago) 4d10h
kubewatch-655f8669dd-xrx5q 1/1 Running 8 (152m ago) 4d10h
lens-6c86975478-vwpq2 1/1 Running 9 (151m ago) 4d10h
notifier-5b4b48b677-dkcls 1/1 Running 1 (152m ago) 4d8h
postgresql-migrate-casbin-2lz42 0/1 Completed 0 4d10h
postgresql-migrate-casbin-bnzdb-954p6 0/1 Completed 0 4d8h
postgresql-migrate-devtron-t2w25 0/1 Completed 0 4d10h
postgresql-migrate-devtron-vlym3-jnvmf 0/1 Completed 0 4d8h
postgresql-migrate-gitsensor-sxpcr 0/1 Completed 0 4d10h
postgresql-migrate-lens-tmvt5 0/1 Completed 0 4d10h
postgresql-postgresql-0 2/2 Running 4 (152m ago) 4d10h
root@cby:~#
root@cby:~# kubectl get svc -n devtroncd
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
argo-rollouts-metrics ClusterIP 10.98.113.34 <none> 8090/TCP 4d10h
argocd-application-controller ClusterIP 10.107.155.128 <none> 8082/TCP 4d9h
argocd-dex-server ClusterIP 10.97.14.200 <none> 5556/TCP,5557/TCP,5558/TCP 4d10h
argocd-redis ClusterIP 10.102.166.243 <none> 6379/TCP 4d9h
argocd-repo-server ClusterIP 10.111.245.9 <none> 8081/TCP 4d9h
argocd-server ClusterIP 10.106.6.25 <none> 80/TCP,443/TCP 4d9h
clair ClusterIP 10.109.97.107 <none> 6060/TCP,6061/TCP 4d9h
dashboard-service ClusterIP 10.110.239.18 <none> 80/TCP 4d10h
devtron-grafana ClusterIP 10.111.200.165 <none> 80/TCP 4d8h
devtron-nats ClusterIP None <none> 4222/TCP,6222/TCP,8222/TCP,7777/TCP,7422/TCP,7522/TCP 4d10h
devtron-service LoadBalancer 10.100.28.2 <pending> 80:32489/TCP 4d10h
git-sensor-service ClusterIP 10.99.53.176 <none> 80/TCP 4d10h
image-scanner-service ClusterIP 10.103.97.46 <none> 80/TCP 4d9h
kubelink-service ClusterIP 10.97.172.63 <none> 50051/TCP 4d10h
lens-service ClusterIP 10.100.239.205 <none> 80/TCP 4d10h
notifier-service ClusterIP 10.102.67.212 <none> 80/TCP 4d8h
postgresql-postgresql ClusterIP 10.104.194.12 <none> 5432/TCP 4d10h
postgresql-postgresql-headless ClusterIP None <none> 5432/TCP 4d10h
postgresql-postgresql-metrics ClusterIP 10.103.17.122 <none> 9187/TCP 4d10h
root@cby:~#
访问测试
# 使用用户名:admin和下面提到的密码运行命令。
root@cby:~# kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d
Qn7GuI26j4HcuVW2
# 访问地址
http://192.168.8.61:32489/
# 用户名:admin
# 密码:Qn7GuI26j4HcuVW2
关于
https://www.oiox.cn/
https://www.oiox.cn/index.php/start-page.html
CSDN、GitHub、51CTO、知乎、开源中国、思否、掘金、简书、华为云、阿里云、腾讯云、哔哩哔哩、今日头条、新浪微博、个人博客
全网可搜《小陈运维》
文章主要发布于微信公众号
在k8s安装CICD-devtron的更多相关文章
- k8s 安装文档
k8s 安装文档 1.5 http://blog.csdn.net/bobpen/article/details/78958675
- k8s 安装 istio 的坑
本文针对于二进制部署的k8s安装istio1.67版本 没有设置admin.conf的小伙伴请参考 https://www.cnblogs.com/Tempted/p/13469772.html 1. ...
- docker k8s安装
docker安装 删除依赖包 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docke ...
- K8S 安装 Wordpress
基本概念 Helm 可以理解为 Kubernetes 的包管理工具,可以方便地发现.共享和使用为Kubernetes构建的应用,它包含几个基本概念 Helm是目前Kubernetes服务编排领域的唯一 ...
- k8s 安装步骤
1 安装Docker 1.1 增加中国区镜像 https://registry.docker-cn.com 2 下载安装k8s的镜像的脚本 https://github.com/AliyunConta ...
- 关于k8s安装脚本方面的草稿
周六作的, 慢慢完善. #! /usr/bin/env bash set -e set -u set -x #让此脚本可以重复执行,所以加了一些判断 #使用系统的PATH环境 export PATH= ...
- k8s安装遇到的问题及处理方法
安装kubernetes遇到 cni config uninitialized KubeletNotReady runtime network not ready: NetworkReady=fals ...
- k8s1.4.3安装实践记录(2)-k8s安装
前面一篇已经安装好了ETCD.docker与flannel(k8s1.4.3安装实践记录(1)),现在可以开始安装k8s了 1.K8S 目前centos yum上的kubernetes还是1.2.0, ...
- k8s安装部署过程个人总结及参考文章
以下是本人安装k8s过程 一.单机配置 1. 环境准备 主机名 IP 配置 master1 192.168.1.181 1C 4G 关闭所有节点的seliux以及firewalld sed -i 's ...
- k8s安装
docker pull mirrorgooglecontainers/kube-scheduler:v1.13.3 安装docker 使用阿里的源https://mirrors.aliyun.com/ ...
随机推荐
- cesium 入门指南
最近拿到了几份offer,经过这次找工作发现自己最近脱节挺严重,为了后续的职业发展,决定开始书写博客记录自己的努力. cesium属于 跨平台.跨浏览器的展现三维地球.地图的JavaScript库. ...
- 如何简单使用Git
Git基本功能 Git基本功能 在具体介绍Git能做什么之前,先来了解下Git里的四个角色: workspace: 本地的工作空间. index:缓存区域,临时保存本地改动. local reposi ...
- Gridview控件的RowDataBound事件使用中 无法将类型为“System.Web.UI.LiteralControl”的对象强制转换为类型
无法将类型为"System.Web.UI.LiteralControl"的对象强制转换为类型 使用GridView的时候,相信很多朋友都遇到过"无法将类型为" ...
- Oracle游标或存储过程
/* 方式1:可执行选取代码块允许 */ declare cursor cur_tmp is ( select '' as tmp_status from dual ); begin for tmp_ ...
- SQL Server 2014 启动时提示:无效的许可证数据,需要重新安装
路径:C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE 双击运行DDConfigCA.exe后,Sql Server 20 ...
- python openpyxl 多个sheet vlookup
import pandas as pdimport openpyxlfrom openpyxl.styles import Border, Side,colorswb = openpyxl.load_ ...
- 重写org.springframework.beans.BeanUtils的copyProperties方法,能在实体映射的时候把纯数字格式的日期转格式
就是在拷贝的时候加个正则的校验,如果是纯数字的日期 就转成yyyy-MM-dd HH:mm:ss的格式原本想直接用注解在实体转格式,但是那样实体会变成日期格式,所以放弃了,直接重写拷贝的方法比较简单 ...
- CentOS7-jdk1.8下载安装
一.下载网址 jdk全版本:https://www.oracle.com/java/technologies/downloads/archive/ 本次安装版本(jdk1.8.0_151):https ...
- .DS_Store泄露利用过程
.DS_Store文件泄漏利用工具: ds_store_exp.DS_Store是Mac下Finder用来保存如何展示 文件/文件夹 的数据文件,每个文件夹下对应一个. 如果开发/设计人员将.DS_S ...
- Unity递归查找子物体