LinuCã¨ã´ã¡ã³ã¸ã§ãªã¹ãã»Open Source Summit Japanãã©ã³ãã£ã¢ãªã¼ãã¼ã®é¯¨äºè²´å@opensourcetechã§ãã
1.Kubernetes(k8s)ã¨ã¯
Kubernetes(k8s)ã¨ã¯ãå
¬å¼ããã¥ã¡ã³ãã®è¨èããããã°ã
ããããã¤ãã¹ã±ã¼ãªã³ã°ãèªååããããã³ã³ããåãããã¢ããªã±ã¼ã·ã§ã³ã管çãããããããã®ããªã¼ãã³ã½ã¼ã¹ã®ã·ã¹ãã ãã§ãã
https://kubernetes.io/ja/
ãã£ããããã¨ãã³ã³ããã¢ããªã±ã¼ã·ã§ã³ãåããåå°ã§ãã
å®ã¯ã身è¿ãªã¨ããã§ãKubernetesã§éç¨ããã¦ããã·ã¹ãã ãããããããã¾ãã
ãªãABEMAã¯ããµãã«ã¼Wæ¯ããå®å®é
ä¿¡ã§ããï¼ãæ
å½è
ãæãããªã¢ã¼ããã¯ãã£ããµã¼ãã¹ã¡ãã·ã¥å°å
¥ã¨ã¯
æ ªå¼ä¼ç¤¾ã¡ã«ã«ãªã®å°å
¥äºä¾ï¼Kubernetes ãé§ä½¿ãããã¤ã¯ããµã¼ãã¹åã§ã°ãã¼ãã«ãµã¼ãã¹ã®éçºå¹çãåçã«åä¸
ã¤ãã¼ã«ãããKubernetesãæ´»ç¨ããPlatform Engineeringã®åãçµã¿
ã¿ããªã®éè¡ï¼æ¥æ¬åã®ããã¸ã¿ã«ãã³ã¯ãã¨ã㦠Google Cloud ã«åå®ç³»ãæ§ç¯ãCloud Spanner ã§éè¡åºå¹¹ã·ã¹ãã ã§æ±ããããå¯ç¨æ§ãå®ç¾
Kubernetesã¯ã以ä¸ã®ãããªã³ã³ãã¼ãã³ãã®éåä½ã§åºæ¥ã¦ãã¾ãã
Kubernetes Components
åã³ã³ãã¼ãã³ããã«ã¹ã¿ãã¤ãºããªããæ§ç¯ããæ¹æ³(kubeadm)ã§ãã£ããã軽éã§ããk3sãRed Hat OpenShiftã»Rancherãªã©ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãEKSã»AKSã»GKEãªã©ã®ã¯ã©ã¦ãã«ãããããã¼ã¸ããµã¼ãã¹ãªã©ãã¾ãã¾ãªé¸æè¢ãããã¾ãã
kubeadmã使ã£ã¦ã¯ã©ã¹ã¿ã¼ãæ§ç¯ãã
k3s
Red Hat OpenShift
Rancher
Amazon Elastic Kubernetes Service
Azure Kubernetes Service (AKS)
Google Kubernetes Engineï¼GKEï¼
2.Linuxã¨ã¯
Linuxã¯ã1991å¹´ã«ãã£ã³ã©ã³ãã®å¦çã§ãã£ãLinus Torvaldsããã«ãã£ã¦version0.01ãå
¬éããããªã¼ãã³ã½ã¼ã¹ã§éçºãè¡ããã¦ããä¸çæ大è¦æ¨¡ã®ã½ããã¦ã§ã¢ã§ãã
Linus Torvaldsãã(Linuxéçºè
)ã¨Greg Kroah-Hartmanãã(Linuxã«ã¼ãã«ã¡ã³ããã¼)ã«ä¼ã£ã¦ããâª
The Linux Kernel Archives
å³å¯ã«ã¯ã«ã¼ãã«ã¨ããã³ã¢ãªæ©è½ãæã¤ããã°ã©ã ãæãã¾ãããåºãæå³ã§ã¯OSã®æå³ã§ä½¿ãããRed Hat Enterprise Linuxã»Debianã»Ubuntuã»SUSE Linux Enterprise Serverã»AlmaLinuxãªã©ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãããã¾ãã
TOP500ã¨ããè¨ç®è½åãªã©ã競ãã¹ãã³ã³ã®ã©ã³ãã³ã°ã«ããã¦ãã2017å¹´ããã¯100%ãå ãã¦ãã¾ãã
https://www.top500.org/statistics/details/osfam/1/
æã
ã®çæ´»ãæ¯ããæ§ã
ãªITã·ã¹ãã ã§ç¨¼åãããµã¼ããIoT製åã家é»ãªã©ã«ããã¦ã使ããã¦ãã¾ãã
ããã¦ãåè¿°ããKubernetes(k8s)ãåä½ãããã¼ã¹OSã¨ãã¦ä½¿ããã¾ãã
3. Kubernetesã¨Linuxã®æå¼·ã¿ãã°
ã¤ã¾ãããã®2ã¤ã®çµã¿åããã¯ä¸è¨ã§ããã°æå¼·ã
ãããã使ãããªããã¨ãåºæ¥ãæè¡è
ã¯ããã¡ããã¤ãã¤ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã§ãã
ãä½ãåºæ¥ãã°ããã®ï¼ãã¨ããã¨ãæããã°ãããããã¾ãããã²ã¨ã¾ã以ä¸ã®ãããªãã®ã§ã¯ãªããã¨æãã¾ãã
- Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®é¸æ
- Linuxã¤ã³ã¹ãã¼ã«
- ãã¾ãã¾ãªãµã¼ãæ§ç¯
- Kuberneteså©ç¨ç°å¢ã®é¸æ
- Kubernetesã¤ã³ã¹ãã¼ã«/ç°å¢æ§ç¯
- ã³ã³ããã¢ããªã±ã¼ã·ã§ã³å°å
¥
- ãã©ãã«ã·ã¥ã¼ã
4. æå¼·ã¤ã³ãã©ã¨ã³ã¸ãã¢ã«ãªãããã®ã¹ããã
ãã®ã¹ãããã§ãããã¾ãã¯Linuxãã¤ã³ã¹ãã¼ã«ã使ã£ã¦ã¿ããã¨ããå§ã¾ãã¾ãã
Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®ISOã¤ã¡ã¼ã¸ãåå¾ããVirtualboxãªã©ã®ä»®æ³ãã·ã³ä¸ã«ã¤ã³ã¹ãã¼ã«ããã®ãä¸è¬çã§ããããã£ã¨ãæ軽ã«ã¨ããå ´åã¯Windowsã®æ©è½ã§ããWSL(Windows Subsystem for Linux)ããå§ããã®ãããã¨æãã¾ãã
Ubuntu 24.04 LTSããªãªã¼ã¹ãããã®ã§ãæ©éã¤ã³ã¹ãã¼ã«ãã¦ã¿ãâª
Rocky Linux 8.4 GAãã¤ã³ã¹ãã¼ã«ãã
WSL on Windows11ã使ã£ã¦ã¿ã
ç¶ãã¦ãµã¼ãæ§ç¯ã§ãããç°¡åã«æ§ç¯ã§ããWebãµã¼ãããå§ããã¡ãã£ã¨é£æ度ã®é«ãDNSãµã¼ãããã¼ã¿ãã¼ã¹ãPHPãªã©ãçµã¿åãããLAMPã¨å°ããã¤ææ¦ããã¬ãã«ãä¸ãã¦ããã¾ãã
nginxã«ããWebãµã¼ãã®æ§ç¯ on CentOS7(on virtualbox)
Bind9(DNSãµã¼ã)æ§ç¯ on Ubuntu 22.04 LTS
ç¿ã«ãåãããããããªããLAMP ( Linux + Apache + MySQL + PHP )ã®æ§ç¯æ¹æ³
Kubernetesã¯ãã¡ãã£ã¨å¤§å¤ã§ããkubeadmã«ããæ¹æ³ã§ã¾ãæ§ç¯ããã¦ããã®å¾æ§ç¯ããããRancherãAKSã»GKEãªã©ã®ã¯ã©ã¦ãã®ããã¼ã¸ããµã¼ãã¹ãå©ç¨ãã¾ãã
kubenetesã¯ã©ã¹ã¿ã¼(v1.22.0)ã®æ§ç¯(kubeadm) on Ubuntu Server 20.04.3 LTS
RKE2(Rancher Kubernetes Engine)ã®æ§ç¯
åãã¦ã®AKS(Azure Kubernetes Service) on Microsoft Azure
GKE(Google Kubernetes Engine) on GCPã®å§ãæ¹
Kubernetesç°å¢ãç¨æåºæ¥ããããã®ãªã½ã¼ã¹(åãããããããã¨ãã¾ãã¾ãªæ©è½)ã§ããDeploymentã»ConfigMapã»Ingressãªã©ã使ã£ã¦ã¿ã¾ãã
Deploymentã®èé害æ§(èªå復æ§)ã¨ãªã¼ãã¹ã±ã¼ãªã³ã°(kubernetes)
nginxã³ã³ãã(Pod)ã®ã³ã³ãã³ã(index.html)ãConfigMapã§æä¾ã»æ´æ°ãã(kubernetes)
NGINX Ingress Controller + Ingressã«ãããµã¼ãã¹å
Ž(kubernetes v1.26)
Linuxã»Kubernetesã®ãã©ãã«ã·ã¥ã¼ãã§ãããã¤ã³ã¹ãã¼ã«ãæ§ç¯ã»æä½ãé²ããä¸ã§ãã¾ãã¾ãªãã©ãã«ã«ééããã¨æãã¾ãã®ã§ããããã解決ãã¦ãããã¨ã§èµ·è¨´ã身ã«ä»ãããã¾ãã
ã¾ããç¬å¦ã ãã§ã¯é£ãããã£ããã俯ç°çãªè¦éãæã¤ããã«ã¯å¤ã®ä¸çã«åºãå¿
è¦ãããã¾ããå
·ä½çã«ã¯ãã¤ãã³ããåå¼·ä¼ã«åå ãªã©ã§ãã
ãã¾ãã¾ãªã¹ãã·ã£ãªã¹ãã«ä¼ã£ã¦ç´æ¥è©±ããã¨ãåºæ¥ãããææ°æ
å ±ãªã©ã®ååãã¤ããã¾ãã
Open Source Summit Japan 2023: ãã©ã³ãã£ã¢ãªã¼ãã¼ã®ä½é¨è¨
Cloud Native Community Japan Kickoff meetupã«åå ãã¦ããï¼
Cloud Native Community Japan -KubeConæ¡æã¹ãã·ã£ã«- ã«åå ãã¦ãã
Kubernetes Meetup Tokyo
LinuCæè¡è§£èª¬ã»ããã¼
CloudNative Days Winter 2024
ã¾ããå¿
è¦ãªç¥èãåºãç解ããã¨ããæå³ã§ã¯ãLinuxãKubernetesã«é¢ããè³æ ¼åå¾ãããã¨æãã¾ãã
LinuC
Certified Kubernetes Administrator (CKA)
ãããã«
ä»åç´¹ä»ããã®ã¯ã¤ã³ãã©ã¨ã³ã¸ãã¢ã¨ãã¦ã®ä¸ã¤ã®ãã£ãªã¢ãã¹ã§ã¯ããã¾ãããå°ãã§ãèå³ãæã£ãæ¹ã¯ãã²æãåããã¦ã¿ã¦ãã ããã
ç§ã®å ´åã2007å¹´ã«ITæ¥çã«ãã¦ãããµã¼ã(LinuC)ã»ãããã¯ã¼ã¯ã»IPAã»ã¯ã©ã¦ãã»ã¦ã§ãç³»ã»Pythonã»AI/人工ç¥è½ã»ã³ã³ãã/Kubernetesã¨å¦ç¿ãé²ãã¦ãã¾ããããITæ¥çã¯å¸¸ã«æ°ããæè¡ãç»å ´ãã¦ãããã¨ããããç¶ç¶çãªå¦ç¿ã§å¸¸ã«ã¤ãã¤ãã¨ã³ã¸ãã¢ãç®æã姿å¢ã¯å¤§åããªã¨æãã¦ãã¾ãã
ã¾ããæ°ãããã¨ã«åãåãã®ã¯å¤§å¤ã§ã¯ããã¾ãããæ°ããçºè¦ãããã¾ã§ç¥ã£ã¦ãããã¨ã®æ·±å ã«ã¤ãªãããã¨ãå¤ã楽ããã¨ããå´é¢ãããã¾ãã