owned this note changed 7 years ago
Linked with GitHub

基於微服務與雲原生應用的持續交付實踐

tags: DevOpsDays Taipei 2018 9/12 10:30~11:10

歡迎來到 DevOps Days 2018 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

共筆入口:https://hackmd.io/c/DevOpsDays2018
手機版請點選上方 按鈕展開議程列表。

在大會遇到任何問題都可以在下方的問題回報區中留言
大會問題與建議回報區

講師:台下有沒有人沒聽過jenkins x?

非常少人舉手?
把 Jenkins X 換成任何一個東西大概都會是一樣的結果

Software is Eating the World.

What are Cloud Native Applications?

small dedicated feature
easy scale-out

Why Cloud Native?(為何雲原生運用?)

  • Delivering value to users

  • Quickly

  • Safely

  • in a sustainable manner

  • DevOps

  • Microservices

  • Continuous Delivery

  • Containers

Container Native Infrastructure

Isolation build, test and deploy

  • dynamic
  • immutable
  • composable

K8s Native Infrastructure

  • scale elastically
  • service discovery
  • rolling update
    etc.

來不及打完

Evolution of Applicaion Architecture

主航道 vs 小溪流
以往所有的東西都會到主航道進行控制,但現行會是大家各自在分流中進行(游泳,划船),但有共同的目標。

We Need Continuous Delivery (CD 持續交付)

Delivers code from version control to production in a deterministic fashion

要看見全貌來做持續交付

Modern CI/CD service

  • Everything is Code
  • Container Native Infrastructure(Cloud)
  • Multiple environment
  • Cross Platform (Language:支援多種程式語言)
  • Automated Pipeline(自動化初始化流水線)
  • End to End pipeline(端對端的流水線)
  • Safely Deployment(安全的部署)
  • Declarative Configuration (自定義配置)
  • Customizable Resources(自定義資源)
  • Plugins (extensible)
  • Flexible Quality Gate
  • Build in Security
  • CLI/API Support
  • Notification Intergration

CI/CD as Service, and Cloud Native

Use the tools you build to build the tools you use.

  • On-demand Delivery
  • Fast Feedback
  • Empower Team

CNA CI/CD solution BOOMS! 超多解決方案

Introduction Jenkins X

用一句話定義:
CI/CD solution for modern cloud applications on K8s

Concept

rethinking the interactive way between Engineer and CI/CD in the cloud native era

Jenkins X vs Jenkins

Jenkins + K8s \(\neq\) Jenkins X

Key Benefits

Core features - Single CLI and Easy Setup

一鍵安裝

在台北(台灣)工作很幸福(?)

省得翻牆吧?

Core features - Automated CI/CD

從coding到交付中間其實有技術高牆(要懂機器配置、設定 etc)

看起來跟 k8s 綁很深

微軟提供的開源工具:draft

可生成Jenkins pipeline

應該是 helm charts 吧?

Core feature - GitOps Buildin

  • Environment with its own repo
  • All changes happne via PR
  • Promotion with quality gate
  • Connection between CI and CD

把所有配置(除了code,環境變數等配置)都放到版本控制中

Core feature - Preview Environmnet

Core feature - DevPod Environment

  • local workspace
    • hacking
    • auto-sync change to devpod
    • remote login to devpod
    • validate on cloud preview env
  • Jenkins X cluster

一般都會關心線上環境,但會忽略記得環境,於是就會發生「這在我的環境是可以運行的」的狀況。

  • git clone : Local workspace
  • jx rsh -> Jenkins X Cluster
  • jx sync ->

Core features - Security

Security is Justice

  • open source compliance scan platform

A paradise of Open Source

Demo Video

官網有很多影片可以參考


場外聊天室,歡迎在下方喇賽

為啥中間是 vagrant ??

因為是VM吧

我猜是比較好用文件產生相應環境啦(相較vbox)

Docker 不是也有Dockerfile 嗎?

這場有提供投影片嗎?

中國腔中文比英文還難聽懂

完全不這麼覺得阿哈哈 XD (+1 XD
北方口音要適應一下,因為台灣是南方口音 XD

聽多就習慣了 現在youtube上面很多節目可以看

Kubernetes as a Service 是遲早的事情

感覺K8s門檻好高

不會啦沒這麼難

我比較喜歡swarm

不會相關文件很少嗎?
swarm +1
社群沒起來感覺就
Swarm 相對 K8s 有什麼優點嗎?
比較簡單一些…
如果cluster的大小只有幾台的swarm會比推,可是有規劃擴展cluster的機器,或是大到一種不好管的狀況的話k8S比較推

Quality Gate 質量門,有沒有台灣用語?

品管?
別翻了…,原文就好
品質門檻?

Jenkins 好難入門阿比 k8s 更難

搞懂運作其實還好,只是介面有點不直覺

所以我打算先導gitlab ci
慨念通了再找別的XD

認同
目前用 drone 覺得很容易好用
gitlab ci +1

Jenkins = 在家幫你掃地的 執事
Jenkins X = 在船上幫你掃地的

CNCF Landscape

所以羨慕我們不用翻牆安裝?

想用 Jenkins X 來驅動一些透過 container 執行的 workload 的話,k8s 是必須的嗎?

真的很強大阿那個文件人多就是任性XD

我已經感受到講師的熱情 哈

ambassador 一定要有熱情的他肩負推廣任務..

要裝微信才能下載XDD

Select a repo