ã¯ããã«
ã·ã¹ãã éçºã®ç¾å ´ã«ããã¦ãçæAIã¯ã©ããã£ãæ¥åã«æ´»ç¨ã§ããã®ã§ãããããç¹ã«ã¤ã³ãã©ã¨ã³ã¸ãã¢ã®è¦ç¹ããè¦ãã¨ãããã°ã©ã ãæ¸ããã¨ã¯æ¬æ¥ã§ã¯ãªãããããããã°ã©ã ã®èªåçæãã ãã§ã¯ãã®å¯è½æ§ãååã«å¼ãåºãã¾ãããããã§Copilotã使ããã¤ã³ãã©ã¨ã³ã¸ãã¢ã®æ¥åã§çæAIãæ´»ç¨ã§ããå ´é¢ãæ¢æ±ãã¾ããããã®çµæã¨ææ³ã以ä¸ã«å ±æãã¾ãã
ã¤ã³ãã©ã¨ã³ã¸ãã¢ãçæAIãæ´»ç¨ã§ããå ´é¢
ããã³ãã
ã·ã¹ãã éçºæ¥åã«ããã¦ãã¤ã³ãã©ã¨ã³ã¸ãã¢ãçæAIãæ´»ç¨ã§ããå ´é¢ãæãã¦ãã ãããç§ã¯ã·ã¹ãã ã¨ã³ã¸ãã¢ã®ä¸ã§ãã¤ã³ãã©è¨è¨ãæ§ç¯ãæ å½ããã¨ã³ã¸ãã¢ã§ãã
åç
ãã¡ããã§ãï¼çæAIã¯ãã·ã¹ãã éçºã«ããã¦ã¤ã³ãã©ã¨ã³ã¸ãã¢ãå¹æçã«æ´»ç¨ã§ããå ´é¢ãããã¾ãã以ä¸ã«ããã¤ãã®å ·ä½çãªæ¹æ³ã¨ã¡ãªããããç´¹ä»ãã¾ãã
ããã°ã©ã ã®èªåçæ:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ãçæAIãæ´»ç¨ãã¦ããã°ã©ã ã®ä¸é¨ãèªåçæã§ãã¾ããä¾ãã°ãç¹å®ã®è¨å®ãã¡ã¤ã«ãã¹ã¯ãªãããçæããéã«ãçæAIãå©ç¨ãããã¨ã§ä½æ¥æéãç縮ã§ãã¾ãã
ãã¼ã³ã¼ãéçº:
- çæAIã使ã£ããã¼ã³ã¼ãéçºãã©ãããã©ã¼ã ãæ´»ç¨ãããã¨ã§ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ããã°ã©ãã³ã°ã®ç¥èããªãã¦ãã·ã¹ãã ãæ§ç¯ã§ãã¾ããããã«ãããéçºã¹ãã¼ããåä¸ããããã¨ãã§ãã¾ãã
èªåå¿çãã£ããããã:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ãéç¨æ¥åã§åãåãã対å¿ãè¡ãéãçæAIãæ´»ç¨ããèªåå¿çãã£ããããããå°å ¥ãããã¨ã§ãè¿ éãã¤æ£ç¢ºãªåçãæä¾ã§ãã¾ãã
ã»ãã¥ãªãã£ã®æ¯æ´:
- çæAIãç¨ãã¦ã»ãã¥ãªãã£é¢é£ã®ã¿ã¹ã¯ãèªååã§ãã¾ããä¾ãã°ããã°ã®ç£è¦ãèå¼±æ§ã¹ãã£ã³ã®çµæãåæããé©åãªå¯¾å¿çãææ¡ãããã¨ãã§ãã¾ãã
ãããã®æ¹æ³ãæ´»ç¨ãããã¨ã§ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯çç£æ§ãåä¸ãããã·ã¹ãã éçºã®å¹çåã«è²¢ç®ã§ãã¾ãã¹²³â´âµ
ãããããªã詳細ãå ·ä½çãªäºä¾ãç¥ãããå ´åã¯ããæ°è»½ã«ãç¥ãããã ããï¼
ã½ã¼ã¹: Bing ã¨ã®ä¼è©± 2024/5/23 (1) çæAIã使ã£ã¦ã·ã¹ãã éçºãããæ¹æ³ãã¡ãªããããã¡ãªãã .... https://weel.co.jp/media/gen-ai-system-dev/. (2) çæ AI ã§ã¨ã³ã¸ãã¢ã®çç£æ§åä¸ãéçºãè¶ å¹çåããçæ AI .... https://www.sbbit.jp/document/sp/21164. (3) çæAIã«ãã£ã¦ã¨ã³ã¸ãã¢ã®åãæ¹ã¯ã©ãå¤ããï¼ çæAIæ´»ç¨ .... https://atmarkit.itmedia.co.jp/ait/articles/2308/23/news010.html. (4) ã¨ã³ã¸ãã¢ã®æ¥åãå¹çåããçæAIã«ãããããã°ã©ãã³ã° .... https://thinkit.co.jp/article/23007. (5) æ¥æ¬IBMãã·ã¹ãã éçºãéç¨ã«çæAIãæ´»ç¨ããAI .... https://news.mynavi.jp/techplus/article/20240307-2900752/. (6) undefined. https://xtech.nikkei.com/atcl/nxt/column/18/02423/073100046/.
ç¹ã«å¹æçã«æ´»ç¨ã§ããå ´é¢
ããã³ãã
ç¹ã«å¹æçã«æ´»ç¨ã§ããå ´é¢ãä¸ã¤ä¸ããã¨ãããä½ã§ããããï¼
åç
ã¤ã³ãã©ã¨ã³ã¸ãã¢ãçæAIãå¹æçã«æ´»ç¨ã§ããå ´é¢ã¨ãã¦ã以ä¸ã®ã±ã¼ã¹ãèãããã¾ãã
è¨å®ãã¡ã¤ã«ã®èªåçæ:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ãç¹å®ã®è¨å®ãã¡ã¤ã«ï¼ä¾ï¼Docker ComposeãKubernetesãããã§ã¹ããTerraformè¨å®ï¼ãèªåçæããããã«çæAIãå©ç¨ã§ãã¾ããããã«ãããæ£ç¢ºã§ä¸è²«æ§ã®ããè¨å®ãã¡ã¤ã«ãè¿ éã«ä½æã§ãã¾ãã
ãããã¯ã¼ã¯ãããã¸ã¼ã®æé©å:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ããããã¯ã¼ã¯ãããã¸ã¼ã®æé©åã«çæAIãæ´»ç¨ã§ãã¾ããä¾ãã°ããµã¼ãã¼ã®é ç½®ããã¼ããã©ã³ãµã¼ã®è¨å®ããããã¯ã¼ã¯ã»ã°ã¡ã³ãã®è¨è¨ãªã©ãæé©åããéã«å½¹ç«ã¡ã¾ãã
èªåã¹ã±ã¼ãªã³ã°ã®æ¦ç¥:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ãçæAIã使ã£ã¦èªåã¹ã±ã¼ãªã³ã°ã®æ¦ç¥ãæ§ç¯ã§ãã¾ãããªã½ã¼ã¹ä½¿ç¨éããã©ãã£ãã¯ãã¿ã¼ã³ãè² è·ã®å¢æ¸ãªã©ãåæããé©åãªã¹ã±ã¼ãªã³ã°ããªã·ã¼ã決å®ã§ãã¾ãã
ã»ãã¥ãªãã£ããªã·ã¼ã®èªåçæ:
- ã»ãã¥ãªãã£ã°ã«ã¼ããã¢ã¯ã»ã¹å¶å¾¡ãªã¹ãï¼ACLï¼ã®è¨å®ã«ããã¦ãçæAIãæ´»ç¨ãã¦é©åãªã»ãã¥ãªãã£ããªã·ã¼ãèªåçæã§ãã¾ãã
ãããã®å ´é¢ã§çæAIãæ´»ç¨ãããã¨ã§ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯ä½æ¥å¹çãåä¸ãããã·ã¹ãã ã®ä¿¡é ¼æ§ã¨ã»ãã¥ãªãã£ãé«ãããã¨ãã§ãã¾ãã
ãããããªã質åãããã°ãç¥ãããã ããï¼
Kubernetesãããã§ã¹ããèªåçæ
ããã³ãã
ã¤ã³ãã©ã¨ã³ã¸ãã¢ããKubernetesãããã§ã¹ããèªåçæããæ¹æ³ãæãã¦ãã ããã
åç
ãã¡ããã§ãï¼Kubernetesãããã§ã¹ããèªåçæããæ¹æ³ã¯ããã¤ãããã¾ãã以ä¸ã«ããã¤ãã®æ¹æ³ãç´¹ä»ãã¾ãã
kubectlã³ãã³ããå©ç¨ãã¦ãããã§ã¹ããçæããæ¹æ³:
- é常ã®nginxãã¡ã¤ã«ãä½æãããå ´åã以ä¸ã®ã³ãã³ããå®è¡ãã¾ãã
kubectl run nginx --image=nginx --restart=Always --dry-run=client --output=yaml > nginx-pod.yml
ãã®ã³ãã³ãã¯YAMLå½¢å¼ã«å¤æããå 容ãnginx-pod.yml
ãã¡ã¤ã«ã«ä¸æ¸ããã¾ããçæããããããã§ã¹ããã¡ã¤ã«ãå©ç¨ãã¦ããããä½æã§ãã¾ããKustomizeã使ã£ã¦ç°å¢ãã¨ã«ç°ãªããããã§ã¹ããä½æããæ¹æ³:
- Kustomizeã¯Kubernetesã®ãããã§ã¹ããã¡ã¤ã«ãèªåçæã§ãããã¼ã«ã§ããç°å¢ãã¨ã«ç°ãªãè¨å®ãé©ç¨ãããå ´åã«ä¾¿å©ã§ãã
ã©ã¡ãã®æ¹æ³ããã¤ã³ãã©ã¨ã³ã¸ãã¢ãå¹ççã«Kubernetesãããã§ã¹ããçæããã®ã«å½¹ç«ã¡ã¾ãã²³â´
ãããããªã質åãããã°ãç¥ãããã ããï¼
ã½ã¼ã¹: Bing ã¨ã®ä¼è©± 2024/5/23 (1) ããã¥ãã§ã¹ããYAMLã«èªåçæãã/YAMLããããããèµ·åãã. https://bing.com/search?q=%e3%82%a4%e3%83%b3%e3%83%95%e3%83%a9%e3%82%a8%e3%83%b3%e3%82%b8%e3%83%8b%e3%82%a2+Kubernetes%e3%83%9e%e3%83%8b%e3%83%95%e3%82%a7%e3%82%b9%e3%83%88+%e8%87%aa%e5%8b%95%e7%94%9f%e6%88%90+%e6%96%b9%e6%b3%95. (2) k8s(Kubernetes) ãããã§ã¹ãä½æãé¢å!? ãããªæ㯠kubectl .... https://zenn.dev/gakin/articles/40a239507ebc04. (3) Kustomizeã§ç°å¢ãã¨ã«ç°ãªããããã§ã¹ããä½ã - Goldstineç 究æ. https://blog.mosuke.tech/entry/2019/06/21/kustomize/. (4) ããã¥ãã§ã¹ããYAMLã«èªåçæãã/YAMLããããããèµ·åãã. https://zenn.dev/suiudou/articles/b2bb5521b94d0c.
Kubernetesãããã§ã¹ããèªåçæããå ´åã®çæAIæ´»ç¨
ããã³ãã
ã¤ã³ãã©ã¨ã³ã¸ãã¢ããkubectlã³ãã³ãã使ã£ã¦Kubernetesãããã§ã¹ããèªåçæãã¾ãããã®å ´åã«ãã©ã®ããã«çæAIãæ´»ç¨ã§ãã¾ããï¼
åç
ã¤ã³ãã©ã¨ã³ã¸ãã¢ã
kubectl
ã³ãã³ãã使ã£ã¦Kubernetesãããã§ã¹ããèªåçæããéã«ãçæAIãæ´»ç¨ããæ¹æ³ã¯ããã¤ãããã¾ãã
ãã³ãã¬ã¼ããã¼ã¹ã®èªåçæ:
- çæAIã使ã£ã¦ãKubernetesãããã§ã¹ãã®ãã³ãã¬ã¼ããä½æã§ãã¾ããä¾ãã°ããããããµã¼ãã¹ããããã¤ã¡ã³ããªã©ã®ãªã½ã¼ã¹ã®åºæ¬çãªè¨å®ããã³ãã¬ã¼ãã¨ãã¦ç¨æããå¿ è¦ãªãã©ã¡ã¼ã¿ãã¦ã¼ã¶ã¼ãæå®ãããã¨ã§ãã«ã¹ã¿ãã¤ãºããããããã§ã¹ããçæã§ãã¾ãã
ã¦ã¼ã¶ã¼ã®è¦ä»¶ã«åºã¥ãèªåçæ:
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ãã¦ã¼ã¶ã¼ããã®è¦ä»¶ãå ¥åããã¨ãçæAIã¯ããã«åºã¥ãã¦é©åãªãããã§ã¹ããçæãã¾ããä¾ãã°ãç¹å®ã®ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã¡ã³ãã«å¿ è¦ãªãªã½ã¼ã¹ãããªã¥ã¼ã ãèªåçã«è¨å®ã§ãã¾ãã
ãã¹ããã©ã¯ãã£ã¹ã®çµã¿è¾¼ã¿:
- çæAIã¯ãKubernetesã®ãã¹ããã©ã¯ãã£ã¹ãçµã¿è¾¼ãã ãããã§ã¹ããçæã§ãã¾ããä¾ãã°ããªã½ã¼ã¹ã®ãªã½ã¼ã¹å¶éãã©ãã«ã®è¨å®ããã«ã¹ãã§ãã¯ã®è¨å®ãªã©ãèªåçã«é©ç¨ã§ãã¾ãã
ãããã®æ¹æ³ãæ´»ç¨ãããã¨ã§ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã¯å¹ççã«Kubernetesãããã§ã¹ããçæã§ãã¾ãã
ãããããªã質åãããã°ãç¥ãããã ããï¼
ãã£ã¦ã¿ãææ³
Kubernetesãããã§ã¹ãã®èªåçæ
- ã
kubectl
ã³ãã³ãã使ã£ã¦Kubernetesãããã§ã¹ããèªåçæãããã ãã§ã¯ãçæAIãæ´»ç¨ãã¦ããã¨ã¯è¨ãã¾ããã - ã
kubectl
ã³ãã³ãã使ã£ã¦Kubernetesãããã§ã¹ããèªåçæãããå¾ãçæAIã使ã£ã¦ããã¹ããã©ã¯ãã£ã¹ã®çµã¿è¾¼ã¿ããè¡ãã¨ããããããã¾ããã - ããã³ãã¬ã¼ããã¼ã¹ã®èªåçæãã¯ãkubectlãkustomizeã¨åããããªãã¨ãã§ããã¨ããæå³ã§ããããããããã®ãã¼ã«ãã¤ã³ã¹ãã¼ã«ããªãã¦æ¸ãã®ãã¡ãªããã§ããã
- ãã¦ã¼ã¶ã¼ã®è¦ä»¶ã«åºã¥ãèªåçæããè¯ãã§ãããè¦ä»¶ãããã³ããã§ä¸ããçæAIã使ã£ã¦Kubernetesãããã§ã¹ããèªåçæããã¨è¯ãããã§ãã
èªåã¹ã±ã¼ãªã³ã°ã®æ¦ç¥
- ããªã½ã¼ã¹ä½¿ç¨éããã©ãã£ãã¯ãã¿ã¼ã³ãè² è·ã®å¢æ¸ãªã©ããã¤ã³ãããã¨ãã¦çæAIã«ä¸ãããé©åãªã¹ã±ã¼ãªã³ã°ããªã·ã¼ããåçããããã¨ãã§ãããã¨ãããã¨ã§ãããããã¯ãããã§ããã
- ãã©ãã£ãã¯ãªã©ãå®éã®ãã¼ã¿ãè¨è¨ã«çããã¨ãããã¨ãå¯è½ãªãã§ããã
- ã¤ã³ãã©ã¨ã³ã¸ãã¢ãè¨è¨ã«çæAIãæ´»ç¨ããäºä¾ããä»ã«ãããã®ã§ã¯ãªããã¨èå³ãããã¾ããã