CI/CD Conference 2023ãããGMOãããã®SREãä»®æ³ãã·ã³ã¨Kubernetesãæ··å¨ããç°å¢ã«ãããCI/CDã®èª²é¡ã¨è§£æ±ºçã解説ããã»ãã·ã§ã³ãç´¹ä»ããã CI/CDã«ç¹åããã«ã³ãã¡ã¬ã³ã¹CI/CD Conference 2023ãããGMOãããæ ªå¼ä¼ç¤¾ã®SREã解説ããä»®æ³ãã·ã³ã¨Kubernetesãæ··å¨ããç°å¢ã§ã®CI/CDã®æ¹åã«ã¤ãã¦è§£èª¬ããã»ãã·ã§ã³ãç´¹ä»ããããã¬ã¼ã³ãã¼ã·ã§ã³ãæ å½ããã®ã¯2021å¹´ã«GMOãããã«ä¸éã§å ¥ç¤¾ããSREã®æ¸¡é¨é¾ä¸æ°ã ã âåç»ï¼ã¤ã³ãã©CI/CDã®ç¶ç¶çæ¹åã®éã®ã ã»ãã·ã§ã³éå§ããç´8åã¯èªå·±ç´¹ä»ã¨èªç¤¾ç´¹ä»ã«ä½¿ããã¦ãããå®è³ªçãªã·ã¹ãã ã®è§£èª¬ã¯ä»¥ä¸ã®ã¹ã©ã¤ãããå§ã¾ã£ããä»åã¯ã¹ã©ã¤ããå¥è³æã¨ãã¦å ¬éããã¦ãããããããå¼ç¨ãã¦ããã âåèï¼çºè¡¨è³æï¼ï¼ã¤ã³ãã©CI/CDç¶ç¶çæ¹åã®éã®ã
EnterpriseApplying GitOps principles to your operationsCould we use our Git repository as the source of truth for operational tasks, and somehow reconcile changes with our real-world view? DevOps practices have helped demonstrate the value in bringing teams together to accelerate value for end-users. This typically includes automating build and release processes and bringing quality checks directl
ãã®è¨äºããå¾ãããç¥è ãã®è¨äºãèªãã¨ã以ä¸ã "å®å ¨ã«ç解" ã§ãã¾ãâï¸ ArgoCDã®ã¢ã¼ããã¯ãã£ãæ§æããã³ã³ãã¼ãã³ãã®ç¨®é¡ã«ã¤ã㦠ArgoCDããããã§ã¹ããèªåãããã¤ããä»çµã¿ã«ã¤ã㦠ãã®è¨äºããå¾ãããç¥è 01. ã¯ããã« 02. æ¦è¦ ã¢ã¼ããã¯ã㣠ã¬ã¤ã¤ã¼ ã³ã³ãã¼ãã³ã ä»çµã¿ (1) repo-serverã«ããã¯ãã¼ã³åå¾ (2) application-controllerã«ãããããã§ã¹ãåå¾ (3) application-controllerã«ããClusterç¢ºèª (4) application-controllerã«ããå¦ççµæä¿ç®¡ (5) argocd-serverã«ãããã£ãã·ã¥åå¾ (6) 管çè ã®ãã°ã¤ã³ (7) IDãããã¤ãã¼ã¸ã®èªè¨¼ãã§ã¼ãºå§è² (8) dex-serverã«ããèªè¨¼ãªã¯ã¨ã¹ãéä¿¡ (9) argocd-s
ã¯ããã« ããã«ã¡ã¯ãè¨æ¸¬ãã©ãããã©ã¼ã éçºæ¬é¨SREãããã¯ã®è¿è¤ã§ããæ®æ®µã¯ZOZOMATãZOZOGLASSãZOZOFITãªã©ã®è¨æ¸¬æè¡ã«é¢ããã·ã¹ãã ã®éçºãéç¨ã«æºãã£ã¦ãã¾ãã è¨æ¸¬ãã©ãããã©ã¼ã éçºæ¬é¨ã§ã¯ãè¤æ°ã®ãããã¯ããéçºéç¨ãã¦ãã¾ããããªãªã¼ã¹ä½æ¥ã¯ãããã¯ãåä½ã§è¡ã£ã¦ãã¾ãããããã¯ãã«ãã£ã¦ãã¼ã³ãããæ°å¹´çµéãå®å®å¾åã®ãã®ãããã°ããã¼ã³ãããã°ããã§æ©è½éçºãçããªãã®ãããç¶æ ã§ãã è¤æ°ã®ãããã¯ãã管çããä¸ã§ã¯å½ç¶ã®ç¶æ³ã§ããããããã¯ãåä½ã§ãªãªã¼ã¹ä½æ¥æé ãç°ãªããæé ãã®ãã®ã«ã課é¡ãããç¶æ ã§ããã æ¬è¨äºã§ã¯ããªãªã¼ã¹ä½æ¥ã§èª²é¡ã¨ãªã£ã¦ããé¨åã®ç´¹ä»ã¨ãããããã®èª²é¡ã«å¯¾ãã対å¿çã«ã¤ãã¦ãç´¹ä»ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ç¾ç¶ 課é¡ã¨å¯¾å¿æ¹é ãªãªã¼ã¹ä½æ¥ã®èªåå ãªãªã¼ã¹ä½æ¥ã®èªååãããä¸ã§ã®å¿ é æ¡ä»¶ã®ç¢ºèª èªååãå¿ è¦
ã¯ããã« ããã«ã¡ã¯ããã©ã³ãã½ãªã¥ã¼ã·ã§ã³éçºæ¬é¨ ããã¯ã¨ã³ãé¨ SREã®ç¬¹æ²¢ï¼@sasamukuï¼ã§ãã ZOZOã§ã¯ã·ã§ããã¹ã¿ããã®è²©å£²ãµãã¼ããã¼ã«ãFAANSãã2022å¹´8æã«æ£å¼ãªãªã¼ã¹ãã¾ãããFAANSã¯ã¢ãã¬ã«ã®ã·ã§ããã¹ã¿ããæ§ãæ¯æ´ããæ§ã ãªæ©è½ãæä¾ãã¦ãã¾ããä¾ãã°ãZOZOTOWNä¸ã§å®åºèã®å¨åº«åãç½®ããã§ããæ©è½ããã³ã¼ãã£ãã¼ãæ稿ã®æ©è½ãªã©ãããã¾ããæ稿ãããã³ã¼ãã£ãã¼ãã¯ZOZOTOWNãWEARãYahoo!ã·ã§ããã³ã°ã«é£æºãå¯è½ã§ãä»å¾ã¯ãã©ã³ãæ§ã®ECãµã¤ãã¨ãé£æºã§ããäºå®ã§ããããã«ããã客æ§ã®ã³ã¼ãã£ãã¼ãé¸ã³ããµãã¼ãã購買ä½é¨ãããå å®ãããã®ã«ãã¾ããæ©è½ã®è©³ç´°ã«é¢ãã¾ãã¦ã¯ä¸è¨ãã¬ã¹ãªãªã¼ã¹ãã覧ãã ããã corp.zozo.com ä»åã¯FAANSã§æ¡ç¨ãã¦ããã¯ã¼ã¯ããã¼ã¨ã³ã¸ã³ãArgo Workflowsãã«ã¤
ãã©ã«ã·ã¢ã§ã¯è¤æ°ã®ã¢ããªã«ããã¦Kubernetesãç¨ãããã¦ãã¾ãã åè:https://www.forcia.com/blog/001519.html ããããªããããããã¤å¨ãã«ã¤ãã¦ã¯ã¾ã ã¾ã ä»çµã¿åãããã¦ããããããæãã«ãããã¤ã§ããä»çµã¿ã¯ãªããã¨èª¿ã¹ã¦ããã¨ãGitOpsãã¨ããã¯ã¼ããåºã¦ãã¾ããã åå¼·ãã¦ãï¼çµæ§ããããããã¿ã ã¨ã¯æãã®ã§ããï¼GitOpsãå®éã«æ§ç¯ãã¦ã¿ãå¦ç¿è¨é²ãè¨ãããã¨æãã¾ãï¼çè ã¯1ã¶æåã¾ã§ã¯Kubernetesä½ããç¶æ ã§ããï¼ã GitOpsã¨ã¯ Weave社ãæå±ããæ¦å¿µã§ãã https://www.weave.works/technologies/gitops/ GitOps can be summarized as these two things:An operating model for Kubernetes
æ°ãã GitOps ãªãã¶ã¼ãããªã㣠ããã·ã¥ãã¼ãã使ç¨ãã¦ãKubernetes æ§æã大è¦æ¨¡ã«ç®¡çãã â»ãã®æ稿ã¯ç±³å½æé 2023 å¹´ 1 æ 26 æ¥ã«ãGoogle Cloud blog ã«æ稿ããããã®ã®æ訳ã§ãã ãã©ãããã©ã¼ã ã®ç®¡çè ããªãã¬ã¼ã¿ã¼ã®éã§ã¯ãæ§æï¼ãããã¤ã¡ã³ããããªã·ã¼å®ç¾©ãHelm ãã£ã¼ããConfigMap ãªã©ï¼ãè¤æ°ã® Kubernetes ã¯ã©ã¹ã¿ã«ããã£ã¦ä¸è²«ãã¦åæããæ段ã¨ãã¦ãConfig Sync ããã§ã«ä½¿ç¨ããã¦ãã¾ããã¨ããããåé¡ã 1 ã¤è§£æ±ºããã¦æåãã¦ããä¸æ¹ã§æ°ããªåé¡ãçãã¦ãã¾ããããã¯ãæ§æã®åæãé害ãè¤æ°ã®ã¯ã©ã¹ã¿ã«ããã£ã¦ãªã¢ã«ã¿ã¤ã ã§å¯è¦åãããã¨ã§ãã大è¦æ¨¡ãªéç¨ã«ã¯ãå¤æ°ã®æ¸å¿µäºé ãä¼´ãã¾ãããã¨ãã°ããæ§æã¯åæããã¦ããããããªã½ã¼ã¹ã®èª¿æ´ã¯ã¨ãã¦ãããããã¯ã©ã¹ã¿å ã®ã©ã®æ§æã®å¤æ´ãã¨
ã¯ãã㫠管çç»é¢ã®èª²é¡ GitOpsã¨ã¯ Pushå Pullå ãªãPushåããPullåãªã®ã Pushåã®ãã¡ãªãã Pullåã®ã¡ãªãã GitOpsã«ãããPullåã®æ§æ GitOpsã§èª²é¡ã¯è§£æ±ºãããã®ã ã¾ã¨ã åèãªã³ã¯ ã¯ããã« ããã«ã¡ã¯ãåºåæè¡é¨ã®johnmanjiroã§ããæ®æ®µã¯åºåé ä¿¡ã®APIã管çç»é¢ãä½ã£ã¦ãã¾ãã åºåæè¡é¨ã§ã¯ãåºåé ä¿¡ã«é¢ããæ§ã ãªã¢ããªã±ã¼ã·ã§ã³ã管çãã¦ããããã®å¤ããEKSã®Kubernetesã¯ã©ã¹ã¿ä¸ã§åä½ãã¦ãã¾ãã åºåã®å ¥ç¨¿ã審æ»ãè¡ã管çç»é¢ããã®ãã¡ã®ä¸ã¤ã§ãããã¬ã¼ã ã¯ã¼ã¯ã«ã¯Railsã使ã£ã¦ãã¾ãã 管çç»é¢ãEKSã«ç§»è¡ããéã®è¨äºã¯ããã¤ãæ¬ããã°ã«ãä¸ãã£ã¦ããã®ã§ãèå³ãããã°ãã²ã覧ãã ããã tech.gunosy.io tech.gunosy.io ä»åããã®ç®¡çç»é¢ã®CDã«GitOpsãå°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}