Talked at AWS Dev Day Online Japan 2021. - åç»: https://youtu.be/I7mMQshlpcs - ã¤ãã³ããã¼ã¸: https://aws.amazon.com/jp/about-aws/events/2021/devday - Proâ¦
ããã«ã¡ã¯ãã¹ã¿ãã£ãµã㪠ENGLISH SREã°ã«ã¼ãã®å¤§å³¶ã§ãã ãªã³ã©ã¤ã³è±èªå¦ç¿ãµã¼ãã¹ã§ããã¹ã¿ãã£ãµã㪠ENGLISHã¯2015å¹´10æã®ãªãªã¼ã¹1)å½æã¯è±èªãµããªã¨ããååã§ãªãªã¼ã¹ãã¦ãã¾ãããã5å¹´ãçµã¡ãããããã¾ã§ãµã¼ãã¹ãæ¡å ããããã¨ãã§ãã¦ãã¾ãããªãªã¼ã¹å½åããã¤ã³ãã©ã«ã¯ã³ã³ãããæ¡ç¨ããé·ãéAWSã®ã³ã³ãããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ãµã¼ãã¹ã®Amazon Elastic Container Serviceï¼ä»¥ä¸ãECSï¼ã§éç¨ãã¦ãã¾ãããããã®åº¦ECSããAmazon Elastic Kubernetes Serviceï¼ä»¥ä¸ãEKSï¼ã«ç§»è¡ãã¾ããã ä»åã®è¨äºã§ã¯ããã®æ´å²ã®å¤é·ã¨ãªãEKSã«ããã®ãã¨ããã¨ãããæ¸ãã¦ããããã¨æãã¾ãã ã³ã³ããã¨æ©ãã§ãã5å¹´é ã¾ããECSããEKSã«ç§»è¡ãããã¨æã£ããã£ããã®åã«ãã¤ã³ãã©ã®æ´å²ãå°ãæ¯
ChatGPTé¢é£æ å ±ã®è¿½ãæ¹ãå人ã»æ¥åã§ã®ä½¿ãæ¹ããµã¼ãã¹ã¸ã®çµã¿è¾¼ã¿æ¹ã ABEJAã§ã®åãçµã¿4ä¾ããã2é±éã®ãããã¯ãªã©è¡ããã¨ããã¾ã§
ãã©ãããã©ã¼ã ã®ä¸ã§ãã®ãä½ãã¨ããã㨠Amazon EKS Advent Calendar 2019 ã®æçµæ¥ã§ã. ã¿ãªãã¾ãåç¥ã®éããAWS ã«ã¯ Amazon ECS 㨠Amazon EKS ã¨ãã2ã¤ã®ã³ã³ãããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ã«é¢ãããµã¼ãã¹ãããã¾ã. ECS ã¯2014å¹´ã«çºè¡¨ããã AWS ãã¤ãã£ããªã³ã³ãããªã¼ã±ã¹ãã¬ã¼ã¿ãEKS 㯠OSS ã®ã³ã³ãããªã¼ã±ã¹ãã¬ã¼ã¿ã§ãã Kubernetes ãããã¼ã¸ããªå½¢ã§æä¾ãããµã¼ãã¹ã§ã2017å¹´ã«çºè¡¨ããã¾ãã. ä»æ¥ã¯ãã® Amazon ECS 㨠Amazon EKS ã¨ãã2ã¤ã®ãµã¼ãã¹ã«ã¤ãã¦ã®è©±ãæ¸ããã¨æãã¾ã. // èªãã§ãã ãã£ã¦ããã¿ãªãã¾ããã¹ãªã¼ãããªãããã® DISCLAIMER æ¬è¨äºã®èè 㯠AWS ã«å¤ãã¦ãã¾ã. ã¾ãããã®è¨äºã«ã¯åå人ã®æè¦ãæ³ããå¼·ãããã£ã¦ãã¾ã.
å åº·ç´ ã¢ãã¾ã³ ã¦ã§ã ãµã¼ãã¹ ã¸ã£ãã³æ ªå¼ä¼ç¤¾ æè¡çµ±æ¬æ¬é¨ ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ã AWS ä¸ã§ã®ããã¼ã¸ãã»ãµã¼ãã¹ã¡ãã·ã¥ãå®ç¾ãã AWS App Mesh ããKubernetes ã¯ã¼ã¯ãã¼ãã¨ã®è¦ªåæ§ãé«ã Istio ãªã©ããµã¼ãã¹ã¡ãã·ã¥ã®ä¸çã«ã¯æ°ã ã®ãããã¯ããã½ãªã¥ã¼ã·ã§ã³ãã¢ã¤ãã¢ãçã¾ãã¤ã¤ããã¾ããæ¬ã»ãã·ã§ã³ã§ã¯ããã¤ã¯ããµã¼ãã¹ã«ããããã¹ããã©ã¯ãã£ã¹ã®é大æã¨ãè¨ãããµã¼ãã¹ã¡ãã·ã¥ã«ã¤ãã¦ããã®è§£æ±ºãã¹ã課é¡ã¨äººã ãç±çããçç±ããµã¼ãã¹ã¡ãã·ã¥ãã®ãã®ã®å¿ è¦æ§ã«ã¤ãã¦æãä¸ãã¾ããåæã«ããµã¼ãã¹ã¡ãã·ã¥ãå®ç¾ããä¸ã§æãéè¦ãªã³ã³ãã¼ãã³ãã®ä¸ã¤ã¨ãè¨ãã Envoy ã®è©³ç´°ã«ã触ããªãããçãã¾ããµã¼ãã¹ã¡ãã·ã¥ãæ´»ç¨ããæå©ãã¨ãªããã³ããç´¹ä»ãã¾ãã AWS ã®è©³ç´°ã«ã¤ãã¦ã¯ http://aws.amazon.com/jp
EKSã¯ã©ã¹ã¿ã§ã¢ããªã±ã¼ã·ã§ã³ãèµ·åããã ããã ãã§ãã¡ãã£ã´ããã¼ãã«ãé«ããããã®å ã«ã¯ãã£ã¨é«ããã¼ãã«ãå¾ ã¡åãã¦ãããããã ã³ã¼ããä¿®æ£ãã¦EKSã¯ã©ã¹ã¿ã«ãããã¤ããã¾ã§ã®ããã¼ãèãã ã§ãããæ£ç´é©å½ã«ãããã¨æãã°ãªãã¨ã§ããªããããããæ´åããªãã¨ä¸å¹¸ãªæªæ¥ãå¾ ã£ã¦ããã®ã ã ã¨ãããã¨ã§ä»åã¯ãç§ãèãããããã¤ããã¼ã¨ãã®ããã¼ã«å°ãã¾ã§ã«æ©ãã ãã¤ã³ããç´¹ä»ãããã¨æãã¾ãã â»ä¸é¨æºä¸ã¬ãã«ã§ã®ç¢ºèªã«ãªãã¾ãã ãã£ã¼ãããã¯ãå¾ ã¡ãã¦ãã¾ãã ãããã¤ããã¼ åæ AWSã¢ã«ã¦ã³ãï¼ç°å¢æ¯ã«åé¢ Gitãªãã¸ããªï¼GitHub Dockerã¬ã¸ã¹ããªï¼ECR CIï¼CodePipeline + CodeBuild CDï¼ArgoCDï¼å¾è¿°ï¼ ç¨èª ã¢ããªã±ã¼ã·ã§ã³ãªãã¸ã㪠ã¢ããªã±ã¼ã·ã§ã³ã³ã¼ãã管çããããã®ãªãã¸ã㪠ArgoCDãªãã¸ã㪠k8s
Amazon Web Services ããã° Kubernetes ãµã¼ãã¹ã¢ã«ã¦ã³ãã«å¯¾ããããç´°ãã㪠IAM ãã¼ã«å²ãå½ã¦ã®ç´¹ä» æ¬æ稿㯠Micah Hausler 㨠Michael Hausenblas ã«ããè¨äºã翻訳ãããã®ã§ã AWS ã§ã¯ã客æ§ã®ãã¼ãºã«æåªå ã«ãã©ã¼ã«ã¹ãã¦ãã¾ããAmazon EKS ã«ãããã¢ã¯ã»ã¹æ¨©å¶å¾¡ã«é¢ãã¦ãã¿ãªãã¾ã¯ããããªãã¯ã³ã³ãããã¼ãããããã® Issue #23 ã«ã¦ EKS ã§ã®ããç´°ãã IAM ãã¼ã«ã®å©ç¨æ¹æ³ ãæ±ãããã¦ãã¾ããããã®ãã¼ãºã«å¿ãããããã³ãã¥ããã£ã§ã¯ kube2iamãkiam ã Zalandoâs IAM controller ã¨ãã£ãããã¤ãã®ãªã¼ãã³ã½ã¼ã¹ã½ãªã¥ã¼ã·ã§ã³ãç»å ´ãã¾ããããããã®ã½ãªã¥ã¼ã·ã§ã³ã¯ç´ æ´ããããããã¯ãã§ããã ãã§ãªããããããã®ã¢ããã¼ãã®è¦ä»¶åã³å¶ç´ã¯ä½ãªã®ã
ç¾å¨éå¬ããã¦ããKubeCon + CloudNativeCon Europe 2019 - Linux Foundation Eventsã«ããã¦ãKubernetesç°å¢ã®ã³ã³ããç°å¢ã®ã¡ããªã¯ã¹ãåå¾ãããCloudWatch Container Insightsããçºè¡¨ããã¾ããï¼ ã³ã³ããã¯ã¼ã¯ãã¼ãã®ããã®ã¡ããªã¯ã¹ã»ãã°ã¢ãã¿ãªã³ã°ãµã¼ãã¹ãCloudWatch Container Insights ã® Public Preview ãçºè¡¨ãã¾ããï¼ï¼ #KubeCon ç¶) pic.twitter.com/pRCZtHexcp â ãã¸ãã£ã㪠Tori (@toricls) May 20, 2019 å¾æ¥ãEKSã«ããã¦Podã®ç¶æ ãç£è¦ãããå種ãã°ãåå¾ããã«ã¯ããµã¼ããã¼ãã£ã¼ã®OSSãç£è¦ç¨ã®SaaSãªã©ãå®è³ªçã«ã»ã¼å¿ é ã ã£ããã§ãããããã«ããAWSã®ããã¼
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 注æ ãã®è¨äºã¯ãå®éç¨ãããã¨ã®ãªããKubernetesåå¿è ã調ã¹ãçµæã«åºã¥ãä½æãã¦ãã¾ãã ééãã»èª¤è§£ãªã©ããã¾ããããã³ã¡ã³ããç·¨éãªã¯ã¨ã¹ãã§ãé£çµ¡ãã ããã TL;DR / çµè«ããå ã«è¨ã㨠ã³ã³ãããã¯ã©ã¦ãã§ãã®ã¾ã¾åãããã¨ããã¨å°ã nå°åããããã³ã³ããããä»ã¯ã©ã¦ãå ¨ä½ã§ä½å°åãã¦ããã®ãã¨ã ãããã¤ããã¨ãã«ãã³ã³ãããç«ã¡ä¸ãããè½ã¨ãããããé çªã»ã¿ã¤ãã³ã°ã¨ã ã³ã³ããã«å²ãå½ã¦ããã¼ããã©ã³ãµãã¹ãã¬ã¼ã¸ãªã©ã®ä½æã¨ã ä»ã«ããããã Kubernetesã¯ã¯ã©ã¦ãå ¨ä½ã®ã³ã³ããå¨ããä¸å 管
AWS Lambdaäºæç°å¢ãKubernetesä¸ã§å®ç¾ãããKnative Lambda Runtimeããªã¼ãã³ã½ã¼ã¹ã§å ¬é TriggerMeshã¯ãKubernetesä¸ã«AWS Lambdaäºæã®å®è¡ç°å¢ãæ§ç¯ãããã¨ã§ãAWS Lambdaã§å©ç¨å¯è½ãªãã¡ã³ã¯ã·ã§ã³ããã®ã¾ã¾Kubernetesä¸ã§å®è¡å¯è½ã«ãããKnative Lambda Runtimeãï¼KLRï¼çºé³ã¯Clearãã¯ãªã¢ï¼ããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¾ããã Announcing TriggerMesh Knative Lambda Runtime (KLR) https://t.co/2BOINQUbys pic.twitter.com/kycNdlWhoK â triggermesh (@triggermesh) 2019å¹´1æ9æ¥ Knative Lambda Runtimeãå ¬éããTriggerM
Kubernetes+Amazon EKSã§èªç¤¾ãµã¼ãããAWSã¸ããµã¤ãã¦ãºã®çãã¯ã人ããããã¨ãæ¸ããã Kubernetesã®æ´»ç¨äºä¾ããç¾å ´ããå¦ã³ã¾ãããµã¤ãã¦ãºãkintone.comãã§ã¯ãèªç¤¾ã¤ã³ãã©ããAWSã¸ã®ç§»è¡ã¨ã¨ãã«ãKubernetesãç¨ããã³ã³ããåãé²ãã¦ãã¾ããããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ç®¡çãã¼ã«ã«é¸ãã ã®ã¯ãAmazon EKSã§ãã決ãã¦å®¹æã§ã¯ãªãèªç¤¾ãµã¼ãããã¯ã©ã¦ãã¸ã®ç§»è¡ã決ããã®çç±ã¯ãæè¡çãªèª²é¡ããããã人éãã¹ã±ã¼ã«ãããã¨ãã«ããã¾ããã ãã¼ã ã¯ã¼ã¯ãæ¥åå¹çã®åä¸ãã½ããã¦ã§ã¢ã§ãµãã¼ããã¦ãããµã¤ãã¦ãºãç¾å¨ãUSçã®ãkintone.comãã§èªç¤¾ã¤ã³ãã©ããAWSã¸ã®ç§»è¡ã¨ã¨ãã«ããKubernetesããç¨ããã³ã³ããåãé²ãã¦ãã¾ãããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ç®¡çãã¼ã«ã«é¸ãã ã®ã¯ã2018å¹´6æã«æ£å¼çããªãªã¼ã¹ãããã°ãã
Kubernetes ãå¦ã¶ããï¼AWS ããå ¬å¼ã«å ¬éããã¦ããã¯ã¼ã¯ã·ã§ããè³æãaws-workshop-for-kubernetesãã試ããï¼Kubernetes ãå¦ã¶ããã®ã³ã³ãã³ããç¶²ç¾ çã«ããããï¼ä»åã¯ã¯ã¼ã¯ã·ã§ããã®ç´¹ä»ã¨ï¼å®éã«è©¦ããä¸é¨ã®ã³ã³ãã³ããã¾ã¨ãããã¨æãï¼æ¢ã« Kubernetes ã詳ããç¥ã£ã¦ãã人ã§ããã°æ©ãé²ãããããããããªããã©ï¼Kubernetes åå¿è ã ã¨ï¼ç解ããªããé²ãããã¨ã«ãªãã®ã§ï¼å ¨ã³ã³ãã³ããçµããã®ã¯ããªãã®æéãå¿ è¦ã«ãªãæ°ãããï¼ã¯ã¼ã¯ã·ã§ããè³æã¯å ¨ã¦ GitHub ã«å ¬éããã¦ãã¦ï¼èª¤æ¤ãªã©ãããã°ï¼ãã«ãªã¯ã¨ã¹ããéããã¨ãã§ããï¼ github.com ãªãï¼ã¯ã¼ã¯ã·ã§ããè³æ㯠AWS Technical Evangelists ã®ãã°ãã¿å çããã¡ã¤ã³ã§ä½æããã¦ãã¦ï¼ããã ãã§ããã¢ããã¼ã·ã§ã³ãä¸ãã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ä»å¹´ä¸å¹´Kubernetes on AWSããã£ã¦ãã¦ãkube-awsã¡ã³ããç®ç·ã§ããä»æ¥ãããã§ããã ã楽ã«ãå®å®ãã¦æ¬çªéç¨ãããããã®å人çãã¹ãã»ãã©ã¯ãã£ã¹ãã¾ã¨ãã¦ããã¾ãã TL;DR EKSã¯ã¾ã ãã¬ãã¥ã¼ç³è¾¼ã®æ®µéãå®éã«åããã®ãããããããããªãã EKSã¨kopsãkube-awsãkubesprayãªã©ã¯çµã¿åããã¦ä½¿ããã®ã代æ¿ãã«ã¯ãªããªãã SaaSãããªãåæ£ãã°ãåæ£ãã¬ã¼ã¹ããªã½ã¼ã¹ã¢ãã¿ãªã³ã°ã¯Datadogã«å¯ããã¨éç¨ã楽 istioã¯å®å¿ãã¦æ¬çªéç¨ã§ãããã§ã¼ãºã§ã¯ãªã(Service
èæ¯ ãã¹ãOS(CoreOS)ã®ããã©ã«ãã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ãããã¤ãæ¸ãã£ãã®ã§ãã¥ã¼ãã³ã°ãããã£ãã kubernetesã®ãã¼ãã¬ãã«ã§ãªã¼ãã¹ã±ã¼ã«ããæ³å®ãªã®ã§ãã¹ã±ã¼ã«æã«ãã¥ã¼ãã³ã°ããã¦ããå¿ è¦ããã£ãã kube-awsã® customFiles 㨠customSystemdUnits ã§å®è£ ãããã¨ã§ãã¥ã¼ãã³ã°æ¸ã¿ã®ãã¼ããçæãããããã«ãªã£ãã ç¾ç¶ç¢ºèª ãã©ã¡ã¼ã¿ã¯ãã¡ãã®è¨äºãåèã«ããã Dockerãã¹ãã®ããã©ã¼ãã³ã¹ãå¼ãåºãTCPã«ã¼ãã«ãã©ã¡ã¼ã¿ãã¥ã¼ãã³ã° CoreOS Stable(1520.6.0)ã®ããã©ã«ãã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ã¯ãããªæãã sysctl -a ã¨ã sysctl net.core.somaxconn ã§ç¢ºèªã§ãããè¨äºã§è¨ããã¦ããå¤ããã£ããæ¸ãã fs.file-max = 400143 net.core.s
Kubernetes ã¨ã¯ï¼ k8s ã¨ç¥ããããã¨ãå¤ããã³ã³ããã¼ã¢ããªã±ã¼ã·ã§ã³ãèªåé åããã 管çãã¦ããããªã¼ãã³ã½ã¼ã¹ã®ã½ããã¦ã§ã¢ã§ãã å ã ã¯ãGoogle 社ãéçºãã¦ãã¾ããããCloud Native Computing Foundation ã«å¯è´ããã¾ããã 詳細ã«ã¤ãã¦ã¯ã以ä¸ããåç §ãã ããã kubernetes - Production-Grade Container Orchestration ã¯ããã« Kubernetes Operations(kops) ã¨ãã OSS ãå©ç¨ããAWS ä¸ã« Kubernetes cluster ãæ§ç¯ãã¦ã¿ã¾ããã github.com/kubernetes/kops Kubernetes Operations (kops) ã¯ãProduction Grade ã§æä¾ããã¦ãã Kubernetes ç°å¢ãæ§
$ kube-aws node-pools init --node-pool-name $(nodepool_name) \ --availability-zone ${KUBE_AWS_AVAILABILITY_ZONE} \ --key-name ${KUBE_AWS_KEY_NAME} \ --kms-key-arn ${KUBE_AWS_KMS_KEY_ARN} $ $EDITOR node-pools/$(nodepool_name)/cluster.yaml $ kube-aws node-pools render stack --node-pool-name $(nodepool_name) $ kube-aws node-pools validate --node-pool-name $(nodepool_name) --s3-uri ${KUBE_AWS_S3_URI}
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}