DevOpsDay
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 基於微服務與雲原生應用的持續交付實踐 ###### tags: `DevOpsDays Taipei 2018` `9/12` `10:30~11:10` {%hackmd zjE8rohhTBKEAPwdaLV11Q %} 講師:台下有沒有人沒聽過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 ![](https://i.imgur.com/Z94i8iw.png) ## 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](https://github.com/Azure/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 - ... - ... ![](https://i.imgur.com/ToxDOff.png) ## 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 ![](https://raw.githubusercontent.com/cncf/landscape/master/landscape/CloudNativeLandscape_latest.png) 所以羨慕我們不用翻牆安裝? 想用 Jenkins X 來驅動一些透過 container 執行的 workload 的話,k8s 是必須的嗎.......? 真的很強大阿....那個文件....人多就是任性...XD 我已經感受到講師的熱情 哈 > ambassador 一定要有熱情的.....他肩負推廣任務.. 要裝微信才能下載XDD

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully