Argo CD 搭配 Kustomize
實作 GitOps 部署 周育緯Argo CD 搭配 Kustomize 實作 GitOps 部署 周育緯 1 About me •III DevOps contributor •8 年 System, DevOps 與 Backend 開發與 維護經驗 •資展國際、工研院: Kubernetes, DevOps 講師 2 GitOps •雲原生 Continuous Deployment •所有部署都使用聲明式(declarative)腳本 Repoitory •https://github.com/demoyuw/k8s-summit- cd-repository.git •Git clone https://github.com/demoyuw/k8s-summit- cd-repository.git •cd k8s-summit-cd-repository 9 10 kustomization.yaml 定義四個類別 •resources: 部署出dev deployment and service env 21 Argo CD 22 •A declarative, GitOps continuous delivery tool for Kubernetes 用ArgoCD 搭配kustomize來部署環境ㄌ 23 歡迎大家參考 III DevOps 更多詳細教學影音,請觀看我們的 YouTube 影音 影音連結 或訂閱我們0 码力 | 24 页 | 696.06 KB | 1 年前3
From DevOps to GitOps with GitLab 公開版Unsplash Cheng Wei Chen @ Cloud Edge Sumit 2020 From DevOps to GitOps with GitLab Cheng Wei Chen 陳 正瑋 DevOps Engineer @ 得寬科技 《Effective DevOps 中⽂版》譯者、GitLab Hero http://chengweichen.com https://devopstw Production ⼀條龍 ⼯程師 Configuration Provision Code Deploy CI / CD Production ⼀條龍 ⼯程團隊 Configuration Automation Code Deploy CI / CD Production ⼀條龍 ⼯程團隊 Configuration Automation Ops / Infra GitOps = IaC + MRs + CI/CD GitLab 說的~ GitOps = IaC + MRs + CI/CD Infrastructure as Code Infrastructure System Configuration Application Configuration GitOps = IaC + MRs + CI/CD Merge Requests GitOps0 码力 | 46 页 | 14.46 MB | 1 年前3
可觀測性 (Observability)
在 Kubernetes Day2
Operation的考量與實踐安全訪問和環境隔離 • 維運可觀察性和流程透通性 • 治理與合規 • 持續第三方元件整合和維護 9 Ref. Use Platform Engineering to Implement DevOps Workflows with Kubernetes (Gartner) Click to edit Master title style 10 Kubernetes Day2 Ops 的挑戰排行 style 23 如何有效查找根因的挑戰 • 工具未整合 : 10+ observability tools. 23 Ref. 可觀測性(Observability)的實踐 – Marcus @ DevOps Days Taipei 2022 Click to edit Master title style 24 可組合的可觀察性平台 24 Logs Traces Metrics Click0 码力 | 30 页 | 3.01 MB | 1 年前3
Debian 新維護人員手冊/ 57 $ mkdir -p hello-sh/hello-sh-1.0; cd hello-sh/hello-sh-1.0 $ cat > hello <cd .. $ tar -cvzf hello-sh-1.0.tar.gz hello-sh-1 錯誤,即便是有一點 不恰當也不行,因爲在別人的系統上解包這些文件時,可能他們的工具並不忽略這些反常的現象, 於是就會出現問題。在你的終端屏幕上,應該看到如下的情形。 $ mkdir ~/gentoo ; cd ~/gentoo $ wget http://www.example.org/gentoo-0.9.12.tar.gz $ tar xvzf gentoo-0.9.12.tar.gz $ ls -F 軟件包,你可以爲它創建一個初始的外來 Debian 軟件包,通過如下方法調用 dh_make 命令: $ cd ~/gentoo $ wget http://example.org/gentoo-0.9.12.tar.gz $ tar -xvzf gentoo-0.9.12.tar.gz $ cd gentoo-0.9.12 $ dh_make -f ../gentoo-0.9.12.tar.gz 0 码力 | 63 页 | 512.12 KB | 1 年前3
Debian 套件打包教學指南 version 0.29創建並進入一個工作目錄: mkdir /tmp/debian-tutorial ; cd /tmp/debian-tutorial 3 把 dash 原始碼套件下載下來 apt-get source dash (務必確保 deb-src 已加入 /etc/apt/sources.list) 4 構建套件 cd dash-* debuild -us -uc (-us -uc 代表不使用GPG來簽署套件) simgrid_3.6.orig.tar.gz) ▶ 解開此 tar 檔 ▶ 將目錄改名為- (範例: simgrid-3.6) ▶ cd - && dh_make (來自 dh-make 套件) ▶ 對於特定套件, 有除了 dh_make 以外的方法, 舉例為: dh-make-perl tar.gz ▶ mv gnujump-1.0.8.tar.gz gnujump_1.0.8.orig.tar.gz ▶ tar xf gnujump_1.0.8.orig.tar.gz ▶ cd gnujump-1.0.8/ ▶ dh_make -f ../gnujump-1.0.8.tar.gz ▶ 套件種類: 單一二進制 (for now) gnujump -1.0.8$ ls debian/ 0 码力 | 90 页 | 691.02 KB | 1 年前3
Julia 1.11.4is done with ^, not *. Implicit string concatenation of string literals like in Python (e.g. 'ab' 'cd' == 'abcd') is not done in Julia. • Python Lists—flexible but slow—correspond to the Julia Vector{Any} script in a different directory than the current working one and executing both commands: julia> cd("/home/JuliaUser") # working directory julia> # create script at /home/JuliaUser/Projects open(" asyncmap(x->tskoid(), 1:5; ntasks=2) 5-element Array{UInt64,1}: 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 julia> length(unique(asyncmap(x->tskoid(), 1:5; ntasks=2)))0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationis done with ^, not *. Implicit string concatenation of string literals like in Python (e.g. 'ab' 'cd' == 'abcd') is not done in Julia. • Python Lists—flexible but slow—correspond to the Julia Vector{Any} script in a different directory than the current working one and executing both commands: julia> cd("/home/JuliaUser") # working directory julia> # create script at /home/JuliaUser/Projects open(" asyncmap(x->tskoid(), 1:5; ntasks=2) 5-element Array{UInt64,1}: 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 julia> length(unique(asyncmap(x->tskoid(), 1:5; ntasks=2)))0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesis done with ^, not *. Implicit string concatenation of string literals like in Python (e.g. 'ab' 'cd' == 'abcd') is not done in Julia. • Python Lists—flexible but slow—correspond to the Julia Vector{Any} script in a different directory than the current working one and executing both commands: julia> cd("/home/JuliaUser") # working directory julia> # create script at /home/JuliaUser/Projects open(" asyncmap(x->tskoid(), 1:5; ntasks=2) 5-element Array{UInt64,1}: 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 julia> length(unique(asyncmap(x->tskoid(), 1:5; ntasks=2)))0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.10.10is done with ^, not *. Implicit string concatenation of string literals like in Python (e.g. 'ab' 'cd' == 'abcd') is not done in Julia. • Python Lists—flexible but slow—correspond to the Julia Vector{Any} asyncmap(x->tskoid(), 1:5; ntasks=2) 5-element Array{UInt64,1}: 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 julia> length(unique(asyncmap(x->tskoid(), 1:5; ntasks=2))) also: cd, tempdir. Examples julia> pwd() "/home/JuliaUser" julia> cd("/home/JuliaUser/Projects/julia") julia> pwd() "/home/JuliaUser/Projects/julia" source Base.Filesystem.cd – Method. cd(dir:0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9is done with ^, not *. Implicit string concatenation of string literals like in Python (e.g. 'ab' 'cd' == 'abcd') is not done in Julia. • Python Lists—flexible but slow—correspond to the Julia Vector{Any} asyncmap(x->tskoid(), 1:5; ntasks=2) 5-element Array{UInt64,1}: 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 0xa23d2f80cd7cf157 0x027ab1680df7ae94 julia> length(unique(asyncmap(x->tskoid(), 1:5; ntasks=2))) also: cd, tempdir. Examples julia> pwd() "/home/JuliaUser" julia> cd("/home/JuliaUser/Projects/julia") julia> pwd() "/home/JuliaUser/Projects/julia" source Base.Filesystem.cd – Method. cd(dir:0 码力 | 1692 页 | 6.34 MB | 3 月前3
共 27 条
- 1
- 2
- 3













