2018-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« Kubespray + Vagrant ã§ãã«ããã«ãéãã§ããã®ã§ããã使ãéã®ã³ããå°ããã£ãã®ã§ã¡ã¢ã ç°å¢ Vagrant 2.1.2 Kubespray commit hash:f1e348ab9592e8bc87e5ce70492a78f73666aa44 vagrant haltã¯ä½¿ããªã ãvagrant haltããå®è¡ããã¨ããvagrâ¦
ã¯ããã« ãSoftware Design 2018å¹´3æå·ããåºçããã¦éåãã¡ã¾ãããä»æ´kubesprayã®ã¤ã³ã¹ãã¼ã«ã試ãã¦ã¿ãããæ°ã«ãªã£ãç¹ã»æ°ã¥ããç¹ãããã¾ããã®ã§ãã¡ã¢ã ç°å¢ Lununtu 16.04 (VMWare Player 14.1.2ä¸ã§èµ·å) VirtualBox 5.2.14 Vagrant 2.1â¦
ã¯ããã« çµæ§æ¤è¨ã«æéãè¦ããã®ã§ã件åã®ä»¶ã«ã¤ãã¦æ§æãã¡ã¢ã æ§æ 以ä¸ãæ§æã§ãã è£è¶³ï¼Hyper-Vã¨VMWare Playerã¯ãHyperV-Switchã§åãæ¿ãã¦ä½¿ç¨ãã¾ãã æ¤è¨ããã㨠ä¸ã¤ã®OSã«ããDocker for Windows Desktop with integrated Kubernetesâ¦
ã¯ããã« VirtualBoxã«Lubuntu 18.04ãã¤ã³ã¹ãã¼ã«ããããOSèµ·åæã«ä»¶åã®ã¨ã©ã¼ãåºåããã¾ãã åå ã ã¨æãããäºè±¡ããã£ã¹ã«ãã·ã§ã³ãã¦ãããã¼ã¸ãè¦ã¤ããã®ã§ã¡ã¢ã ç°å¢ VirtualBox 5.2.12 r122591 Lubuntu 18.04 64bit è¦ã¤ãããã¼ã¸ 以ä¸â¦
ã¯ããã« ãKubernetesãæå¹ã«ããç¶æ ã®Docker for Windows Desktopã®ä»®æ³ãã·ã³ã£ã¦ãã©ã®ç¨åº¦ã¡ã¢ãªã使ã£ã¦ãããã ããï¼ãã¨æã£ã¦èª¿ã¹ãã®ã§ã¡ã¢ã ç°å¢ Windows 10 Pro Docker 18.05.0-ce-win67 ä»®æ³ãã·ã³ã¸ã®å²ãå½ã¦ã¡ã¢ãªï¼ã¨ãã¤ãã§ã«ãã®ä»â¦
ã¯ããã« Docker for Windows Desktopã§k8sãåããã¦ã¿ã - ã½ããéçºãä»äºã¡ã¢ ã«ã¦ãç§ã¯docker-compose.ymlã«ã¤ãã¦ä»¥ä¸ã®è¨è¿°ããã¾ããã replicasã®æ°ãå°ããªå¤(1ç)ã«ããã大ããå¤ã ã¨ããã¾ãèµ·åãã¾ãã(åå ã¯ä¸æ)ã ãreplicasã®æ°ãå°ãâ¦
ã¯ããã« ããShow system containers (advanced)ããæå¹ã«ããã¨ããã£ããä½ãè¦ããããã«ãªããã ããï¼ãã¨çåã«æã£ãã®ã§ãã£ã¦ã¿ã¾ãããShow system containers (advanced) è¦ããããã«ãªã£ããã® > docker ps CONTAINER ID IMAGE COMMAND CREATâ¦
ã¯ããã« ãDocker for Windows Desktopã®k8sã§ã¢ããªãåããã¦ã¿ããã¾ã§ããæ¥æ¬èªã§ã¾ã¨ãã¦è§£èª¬ããè¨äºãçºè¦ã§ãããå°å³ã«è¦å´ããããã¡ã¢ã ç°å¢ Windows 10 Pro Docker 18.05.0-ce-win67 Kubernetes v1.10.3 Kubernetesã®ã¤ã³ã¹ãã¼ã« 以ä¸ã®è¨äºâ¦
ã¯ããã« ãã©ã¤ãã¼ãã§ã¯ã解å度ã1366Ã768ã®PCã使ã£ã¦ããã®ã§ããããããã«è§£å度ãä½ãã§ãã ã©ããã£ã¦åãã§ããããã¡ã¢ãã¦ãããã¾ãã ã¨ãã£ã¿ã§ä½¿ç¨ããæåãå°ããããããã«ãå°ããã¦ãè¦ããããã©ã³ãã使ç¨ãã ããã©ã³ã ããã°ã©â¦