Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Argo Workflowsコトハジメ

makocchi
November 02, 2022

Argo Workflowsコトハジメ

OCHa Cafe #6 の LT セッション「Argo Workflowsコトハジメ」の発表資料です

makocchi

November 02, 2022
Tweet

More Decks by makocchi

Other Decks in Technology

Transcript

  1. @makocchi
    !"#$"$%&'(')*
    +,-.'/.,0%1.2345678

    View Slide

  2. 2
    Makoto Hasegawa
    Working at // CIU, CyberAgent, Inc
    Currently //


    Develop and maintain private OpenStack cloud.


    Develop and maintain Kubernetes as a Service platform.


    Kubernetes organization member (sig-docs-ja)


    CKA / CKAD / CKS
    Job Title // Technical Lead Infrastructure Engineer
    WHO am I
    Twitter // @makocchi


    Facebook // makocchi0923
    Hobby // Playing bass

    View Slide

  3. OCHa Cafe 6 #3 | @makocchi 3
    💪'9:;<=>💪
    ?@?@A=BCD=EFG


    +,-.'/.,0%1.23HIJK


    L4MNOHPQ
    +,-.'/.,0%1.23'HIJKRSHTUVJOWXYZ👌

    View Slide

  4. OCHa Cafe 6 #3 | @makocchi 4
    RIRI;[\]^._`Mabcdbe;fZHIPMgKJQ@;


    hijkUP@;👇
    lcmn=ope;q=rs'tuvwx_'yz'{x11'|Q


    🔽


    lcmn=opes}>~|Q


    🔽


    lcmn=ope;4e•€b8=7s•‚|Q


    🔽


    4e•€ƒ7r5mH'{x3#'|Q
    A=BCD=EFG

    View Slide

  5. OCHa Cafe 6 #3 | @makocchi 5
    P„kUPA=BCD=…†JP[\;‡ˆM‰ŠP;yG


    ‹I‹I;[\HŒ•Ž•s•†‘†J


    [\H’“X†”H’“X†•–yz—˜™‘†J


    PšPš››
    lcmn=ope;q=rs'tuvwx_'yz'{x11'|Q


    🔽


    lcmn=opes}>~|Q


    🔽


    lcmn=ope;4e•€b8=7s•‚|Q


    🔽


    4e•€ƒ7r5mH'{x3#'|Q
    A=BCD=EFG
    lcmn=ope;q=rs'tuvwx_'yz'{x11'|Q


    🔽


    lcmn=opes}>~|Q


    🔽


    lcmn=ope;4e•€b8=7s•‚|Q


    🔽


    4e•€ƒ7r5mH'{x3#'|Q
    💪'œ•V’“X†žŸF ?¡¢£;[\H¤yPJ


    💪'’“X†ž¥yz—˜ @X¦F§¨yz—˜|QkEMVOQ

    View Slide

  6. OCHa Cafe 6 #3 | @makocchi 6
    ?kV©ªF«iQ¬-V|


    ®x_&,¯&v&3'°gKJQU±-šJJ²³HA=BCD=s°J†J´
    💪

    View Slide

  7. OCHa Cafe 6 #3 | @makocchi 7
    V@'®x_&,¯&v&3'µ¶;·¸VFPyPy¹º|Q;F»Uš¦™J
    💦

    View Slide

  8. CloudNative Days Tokyo 2021 | @makocchi 8

    View Slide

  9. CloudNative Days Tokyo 2021 | @makocchi 9
    ?kV¼ž|Q;M'+,-.'/.,0%1.23

    View Slide

  10. OCHa Cafe 6 #3 | @makocchi 10
    +,-.'/.,0%1.23EFG
    https://github.com/argoproj/argo-work
    fl
    ows

    View Slide

  11. OCHa Cafe 6 #3 | @makocchi 11
    Argo Workflows is an open source container-native
    workflow engine for orchestrating parallel jobs on
    Kubernetes. Argo Workflows is implemented as a
    Kubernetes CRD (Custom Resource Definition).
    https://argoproj.github.io/argo-work
    fl
    ows/
    +,-.'/.,0%1.23'F'®x_&,¯&v&3'½V¾¿'^._'sÀ‚|Q


    Á=ceq=r;4e•€Âb•ÃÄPA=BCD=Åe7eV|Æ


    +,-.'/.,0%1.23'F'®x_&,¯&v&3';'"ÇÈ'V¹É™¡KJW|Æ
    IWÊ
    EJZkE

    View Slide

  12. OCHa Cafe 6 #3 | @makocchi 12
    A=BCD=sšZËgKÌÍ|Q;G
    k;fZPA=BCD=;ÌÍs'®x_&,¯&v&3';'"ÇÈ's
    °gKÌÍ›¹¤|QkEMVOQ
    lcmn=ope;q=rs'tuvwx_'yz'{x11'|Q


    🔽


    lcmn=opes}>~|Q


    🔽


    lcmn=ope;4e•€b8=7s•‚|Q


    🔽


    4e•€ƒ7r5mH'{x3#'|Q
    apiVersion: argoproj.io/v1alpha1


    kind: Workflow


    metadata:


    generateName: my-awesome-wf-


    spec:


    entrypoint: pull-from-github


    templates:


    - name: pull-from-github


    container:


    image: docker/my-image:1.0.0


    command: [“git”, “clone”]



    View Slide

  13. OCHa Cafe 6 #3 | @makocchi 13
    tÎÏ@ÐÊW|´

    View Slide

  14. OCHa Cafe 6 #3 | @makocchi 14
    /.,0%1.23'±-³ÑPJ'+,-.'CÒÓm=
    +,-.'FÔH@JÕJÕ˜Ö™¡KJW|


    +,-.'"È


    +,-.'Ç.11.xv3


    +,-.'×Ø&¯v3


    /.,0%1.23'F k;•V@'+,-.'×Ø&¯v3'EÙ…Ÿ¬‘
    QE™zHÚÛH°ZkEMVOQEÜJW|


    †Eij››"1.xÝ'{x_Þßx_';àÌ;'v.áuâ'H'áx_1u3#'™¡†z'
    ã&33$-&';äåHfgKàÌ;A=BCD=s¹¤|QEy /&_#..0's
    æ-çgKàÌ;A=BCD=s¹¤|QEy

    View Slide

  15. OCHa Cafe 6 #3 | @makocchi 15
    +,-.'/.,0%1.23¢èH@éêPëìí
    A=BCD=s¹ºXK¦¡Q@;FÔH@ëìíMÐÊW
    |Æ+,-.'/.,0%1.23'F'®x_&,¯&v&3'HàîXKJQ;
    V ®x_&,¯&v&3';ïðVFPJžŸFk¡z@ëìíH
    ñgK¦Q;VFPJVXYZy


    +u,%1.2


    {,&%&âv


    Èu-È$-


    &vâòò
    !""#$%&&'("!)*+,-.&./(012!&21/$-./31-0456-13/7'(7/$

    View Slide

  16. CloudNative Days Tokyo 2021 | @makocchi 16
    +,-.'/.,0%1.23'VóôPA=BCD=õös´

    View Slide

  17. OCHa Cafe 6 #3 | @makocchi 17
    @gE÷ʆJÐP†ø
    "1.xÝù$vuØ&'È$ú3'û.0ú.'üýü‹'VÖþX†ÿ!H"À#X¦$JKÐÊW|´


    @gE'ÈuØ&'È&&á'X†J©F%&'K¦±™J´


    (°JkP‘'$,-.)V**QE+KOW|
    !""#$%&&$#/24/08/,4+,-.&.24-,,!(&!-13"-3)$/320'-31-0456-1$

    View Slide

  18. @makocchi
    !"#$"$%&'(')*
    +,-.'/.,0%1.2345678
    ,-.ÐÊMEZ,/JWX†´

    View Slide