欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

k8s安裝CICD?devtron過(guò)程詳解

 更新時(shí)間:2022年11月23日 09:09:07   作者:小陳運(yùn)維  
這篇文章主要為大家介紹了k8s安裝CICD?devtron過(guò)程詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪

在k8s安裝CICD-devtron

先前條件

《kubernetes(k8s) 存儲(chǔ)動(dòng)態(tài)掛載》 參考我之前的文檔進(jìn)行部署

安裝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:~# 

查看驗(yàn)證

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:~# 

訪(fǎng)問(wèn)測(cè)試

# 使用用戶(hù)名:admin和下面提到的密碼運(yùn)行命令。
root@cby:~# kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d
Qn7GuI26j4HcuVW2
# 訪(fǎng)問(wèn)地址
http://192.168.8.61:32489/
# 用戶(hù)名:admin
# 密碼:Qn7GuI26j4HcuVW2

以上就是k8s安裝CICD devtron過(guò)程詳解的詳細(xì)內(nèi)容,更多關(guān)于k8s安裝CICD devtron的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

  • K8s實(shí)戰(zhàn)教程之容器和?Pods資源分配問(wèn)題

    K8s實(shí)戰(zhàn)教程之容器和?Pods資源分配問(wèn)題

    這篇文章主要介紹了K8s實(shí)戰(zhàn)教程之容器和?Pods資源分配,本篇文章通過(guò)配置集群中運(yùn)行的容器的?CPU?請(qǐng)求和限制,你可以有效利用集群上可用的?CPU?資源,通過(guò)將?Pod?CPU?請(qǐng)求保持在較低水平,可以使?Pod?更有機(jī)會(huì)被調(diào)度,需要的朋友可以參考下
    2022-07-07
  • K8s學(xué)習(xí)之Pod的定義及詳細(xì)資源調(diào)用案例

    K8s學(xué)習(xí)之Pod的定義及詳細(xì)資源調(diào)用案例

    Kubernetes將所有內(nèi)容抽象為資源,通過(guò)操作資源管理集群,核心單元是Pod,通過(guò)控制器管理Pod,資源管理分為命令式對(duì)象管理、命令式對(duì)象配置和聲明式對(duì)象配置,各有適用場(chǎng)景,需要的朋友可以參考下
    2024-09-09
  • kubernetes(k8s)中Yaml文件詳解

    kubernetes(k8s)中Yaml文件詳解

    這篇文章主要給大家介紹了關(guān)于kubernetes(k8s)中Yaml文件詳解的相關(guān)資料,YAML是專(zhuān)門(mén)用來(lái)寫(xiě)配置文件的語(yǔ)言,非常簡(jiǎn)潔和強(qiáng)大,使用比json更方便,需要的朋友可以參考下
    2023-12-12
  • kubernetes日志備份解決ELK中日志丟失問(wèn)題

    kubernetes日志備份解決ELK中日志丟失問(wèn)題

    這篇文章主要為大家介紹了kubernetes日志備份方案的細(xì)節(jié)探究分析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪
    2023-10-10
  • k8s證書(shū)有效期時(shí)間修改的方法詳解

    k8s證書(shū)有效期時(shí)間修改的方法詳解

    K8S集群有證書(shū)的概念,之前一直是使用默認(rèn)的,默認(rèn)都是1年和10年的,1年有效期這顯然對(duì)于生產(chǎn)環(huán)境是不合適的,下面這篇文章主要給大家介紹了關(guān)于k8s證書(shū)有效期時(shí)間修改的相關(guān)資料,需要的朋友可以參考下
    2022-08-08
  • k8s安裝calico時(shí)如何選擇網(wǎng)卡問(wèn)題

    k8s安裝calico時(shí)如何選擇網(wǎng)卡問(wèn)題

    這篇文章主要介紹了k8s安裝calico時(shí)如何選擇網(wǎng)卡問(wèn)題,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-07-07
  • 二進(jìn)制方式安裝?Kubernetes1.18.3版本實(shí)現(xiàn)腳本

    二進(jìn)制方式安裝?Kubernetes1.18.3版本實(shí)現(xiàn)腳本

    這篇文章主要為大家介紹了二進(jìn)制方式安裝Kubernetes1.18.3版本實(shí)現(xiàn)腳本,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪
    2022-03-03
  • 如何給k8s集群里的資源打標(biāo)簽

    如何給k8s集群里的資源打標(biāo)簽

    k8s集群,節(jié)點(diǎn)如果有多個(gè)角色,需要標(biāo)記出來(lái),可以給對(duì)應(yīng)的節(jié)點(diǎn)打上標(biāo)簽,方便后續(xù)了解節(jié)點(diǎn)的功能,這篇文章主要介紹了如何給k8s集群里的資源打標(biāo)簽,需要的朋友可以參考下
    2023-02-02
  • K8s-helm簡(jiǎn)介及基本概念詳解

    K8s-helm簡(jiǎn)介及基本概念詳解

    ?Helm?使用的包格式稱(chēng)為?chart,它是一個(gè)描述?Kubernetes?相關(guān)資源對(duì)象的文件集合,這篇文章主要介紹了K8s-helm簡(jiǎn)介及基本概念,需要的朋友可以參考下
    2022-07-07
  • K8s中的臨時(shí)容器Ephemeral?Containers使用

    K8s中的臨時(shí)容器Ephemeral?Containers使用

    這篇文章主要介紹了K8s中的臨時(shí)容器Ephemeral?Containers使用,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-07-07

最新評(píng)論