OpenFaaS Workshop 20180928

5e3812168e73d09304da6959a40155c8?s=47 kenev
September 28, 2018
160

OpenFaaS Workshop 20180928

5e3812168e73d09304da6959a40155c8?s=128

kenev

September 28, 2018
Tweet

Transcript

  1. $SFBUFB4FSWFSMFTT(JU)VC#PUPOZPVS-BQUPQ 8PSLTIPQ

  2. 8IPBN*

  3. "HFOEB

  4. 0QFO'BB4

  5. 8IBUJT0QFO'BB4 ˖ ؝ٝذش׾⢪׏׋4FSWFSMFTTז'SBNFXPSL  ˖ ؝ٝذشחⰅ׏גְ׸ל⡦ד׮'VODUJPOחז׶䖤׷ ˖ ,VCFSOFUFT%PDLFS4XBSNط؎ذ؍ـ

  6. %FTJHOBOE"SDIJUFDUVSF 4XBSN ⿫罋0QFO'BB4DPODFQUVBMEFTJHOXJUI,VCFSOFUFT IUUQTEPDTPQFOGBBTDPNBSDIJUFDUVSFHBUFXBZPQFOGBBTBQJHBUFXBZQPSUBM

  7. 8PSLTIPQ0WFSWJFX

  8. -BC1SFQBSFGPS0QFO'BB4 0QFO'BB4ך彊⪒ %PDLFSך彊⪒ 4XBSNؙٓأة⡲䧭 0QFO'BB4رفٗ؎

  9. -BC5FTUUIJOHTPVU 6* $ faas-cli list $ faas-cli invoke … $-*

    .FUSJDT 0QFO'BB4׾鑐׃ג׫״ֲ
  10. -BC*OUSPEVDUJPOUP'VODUJPOT Create Build Deploy כׄ׭גךGVODUJPO

  11. -BC(PEFFQFSXJUIGVODUJPOT ˖ GVODUJPOⰻד⢪ֲ鏣㹀⦼כוֲׅ׷ץַֹ
 ˖ GVODUJPOךؚٗכוֲׅ׸לְְך
 ˖ GVODUJPO׾鸬ꓲׇׁ׋ְ㜥さכוֲׅ׷ך ׮ֲ׍׳׏הGVODUJPO׾帾䱠׶

  12. -BC$SFBUFB(JUCPU (JU)VCך#PU׾⡲׏ג׫״ֲ

  13. -BC)5.-GPSZPVSGVODUJPOT ᶃ ᶄ ᶅ ᶆ ⹛涸ז8FCل٦آ׾⡲׏ג׫״ֲ ΍)5.-GVODUJPOךㄎן⳿׃ Ύ)5.-ل٦آך《䖤 Ώ)5.-ل٦آַ׵GVODUJPOךㄎן⳿׃ ΐ鵤׏גֹ׋穠卓׾)5.-ח⿾僥

  14. -BC"TZODISPOPVTGVODUJPOT Gateway NATS Queue Queue Worker Function ֶ격ְ׃תׅ ׻ַ׶ת׃׋
 ⽯瘶

    $-*"1*8&# queueʹೖΕΔ queue͔ΒऔΓग़͢ functionʹϦΫΤετ GVODUJPOךꬊず劍״ן׌׃׾׃ג׫״ֲ
  15. -BC"EWBODFE'FBUVSF5JNFPVUT ˖ SFBE@UJNFPVU XSJUF@UJNFPVU FYFD@UJNFPVUהְֲ珏겲ךة؎ي،ؐز GVODUJPOךة؎ي،ؐز IUUQTCMPHDMPVEGMBSFDPNUIFDPNQMFUFHVJEFUPHPMBOHOFUIUUQUJNFPVUT FYFD@UJNFPVUכ 0QFO'BB4ך8BUDIEPHָ 杝荈ד鏣㹀׃גְ׷

    GVODUJPOך㹋遤UJNFPVU
  16. -BC"EWBODFE'FBUVSF"VUPTDBMJOH GVODUJPOךؔ٦زأ؛٦ٕ

  17. -BC"EWBODFE'FBUVSF4FDSFUT 4FDSFUך⢪ְ倯

  18. 3FGFSFODF

  19. ˖ 如⚅➿PGXBUDIEPH
 IUUQTHJUIVCDPNPQFOGBBTJODVCBUPSPGXBUDIEPH ˖ /PEFKT &YQSFTTذٝفٖ٦ز
 IUUQTHJUIVCDPNPQFOGBBTJODVCBUPSOPEFFYQSFTTUFNQMBUF ˖ 1ZUIPO 'MBTLذٝفٖ٦ز


    IUUQTHJUIVCDPNPQFOGBBTJODVCBUPSQZUIPOGMBTLUFNQMBUF ˖ (P (P)UUQذٝفٖ٦ز
 IUUQTHJUIVCDPNPQFOGBBTJODVCBUPSHPMBOHIUUQUFNQMBUF 3FGFSFODFT ˖ $/$'8(4FSWFSMFTT8IJUFQBQFSW
 IUUQTHJUIVCDPNDODGXHTFSWFSMFTTCMPCNBTUF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