Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã®è¨äºã§ã¯ã ALB Ingress Controller ã«ã¤ãã¦æ¸ãã¾ãã â» zalando-incubator/kube-ingress-aws-controller ã«ã¤ãã¦ã¯ã Kubernetes2 Advent Calendar 2017 7æ¥ç® @mumoshu å çã®è¨äºã§ã æ¸ããã¦ãã¾ãã®ã§ããã¡ããåç §ãã¦ä¸ãã WHY Kubernetes on AWS ã§éç¨ãã¦ããå ´åã Kubernetes ã® Service ãä½æããã¨ã AWS ã® Classic Load Balancer ãä½æããã¾ãã
2017.12.1 [Kubernetes] ãªã³ãã¬ã§ã GKE Like 㪠Ingress ã使ãããã« èªä½ Ingress Controller ãå®è£ ãã¦ã¿ã ããã«ã¡ã¯ã CIA ã®éå±± çä¹ã§ãã ãã®è¨äºã¯ Kubernetes Advent Calendar ï¼æ¥ç®ã®è¨äºã«ãªãã¾ãã ã¡ãªã¿ã« CyberAgent Advent Calndar ï¼æ¥ç®ã®è¨äºããGKE äºæã®ãªã³ãã¬ã³ã³ããåºç¤ AKE (Adtech Container Engine) èªçç§è©±ã¨ã¢ã¼ããã¯ãã£å®å ¨å ¬éï¼ãã¨ãããã¼ãã§æ¸ãã¦ãããã¾ãã§å¤ä¼ã¿æçµæ¥ã®æ°åã§ãã å¼ç¤¾ã®ãªã³ãã¬ã³ã³ããåºç¤ AKE ã®è©±ã詳細ã«ã¾ã¨ãã¦ããã¾ãã®ã§ããã¡ããæ¯éãèªã¿ä¸ããã ä»åã¯ãSSL çµç«¯ã L7 ãã¹ãã¼ã¹ã«ã¼ãã£ã³ã°åã³ L7 ãã¼ããã©ã³ã·ã³ã°ãè¡ã£ã¦ããã Ingress ãªã½ã¼ã¹ã®è©±ã
楽ããããªãhelmã§å ¥ãã¾ããã AKSã«éã£ã話ã§ã¯ããã¾ããããKubernetesã«ã¶ãä¸ããã¢ããªã®æ°ãå¤ããªã£ã¦ããã¨ãURLãããã³ã°ãTLSçµç«¯ãããããªãã¾ããæ¹æ³ã¯è²ã ããã®ã§ãããã·ã³ãã«ãªé¸æè¢ã¯NGINX Ingress Controllerã§ãããã ãã¦ããã®NGINX Ingress Controllerã®ãããã¤ã¯GitHubã®ããã¥ã¡ã³ãéãã«æ·¡ã ã¨ããã°ããã®ã§ãããhelmã使ãã°ã³ãã³ãä¸çºã§ãããã®ããã«ããã¥ã¡ã³ãã«ãæ¸ãã¦ããã®ã§ãããæå¾ã®æ¹ã§åºã¦ããã®ã§ãããæ©ãè¨ã£ã¦ãããªæãã§ãã ãã£ãããªã®ã§ãAzure(AKS)ã§ã®ä½¿ãæ¹ãã¾ã¨ãã¦ããã¾ããéçºãã¼ã¹ãã¨ã³ã·ã¹ãã ã®å¤åãéãã®ã§è¦æ³¨æããã®è¨äºã¯2018/2/10ã«æ¸ãã¦ãã¾ãã 使ãæ¹ AKSã¯ã©ã¹ã¿ã¼ã¨ãAzure DNSä¸ã«å©ç¨å¯è½ãªã¾ã¼ã³ããããã¨ãåæã«ãã¾ãããªã
TL;DR minikube addons enable ingress 㧠Minikube ã§ç°¡åã« Ingress ã使ãã¯ããããã¨ãã§ãã ãã¼ã«ã«ã®ãã¼ã ãµã¼ã㧠Ingress ã«è¨å®ãããã¹ãåãåå解決ããã¦ããå¿«é©ã«å©ç¨ãã Minikube æ¨æºã® Ingress Controller ã®ä»£ããã« nghttpx-ingress-controller ã使ãã®ãç°¡åããã®ã¨ãã«ã¹ã¿ã Cluster Add-on ã使ãã¨ããå¿«é©ã«å©ç¨ã§ãã ã¯ããã« ãããã¯ã·ã§ã³ã«ãã㦠Ingress ãå©ç¨ãã¦ãããªããã¼ã«ã«ã® Minikube ã«ããã¦ã Ingress ãå©ç¨ãã¦åä½ãæ¤è¨¼ããããMinikube ã¯ããã¼ã«ã«ã«ã·ã³ã°ã«ãã¼ãæ§æã® Kubernetes ã¯ã©ã¹ã¿ãç°¡åã«æ§ç¯ã§ãããã¼ã«ã§ããã Ingress ã使ãã«ã¯ãä½æããã¦ãã Ingress
Kubernetesã®service㧠type: LoadBalancer ã¨ããã¨å¤é¨ã«å ¬éãããã¨ãåºæ¥ãã AWSã®å ´åèªåã§ELBãä½ãããï¼ãã ãRoute53ã¾ã§ã¯è¨å®ã§ããªãããï¼ã ã¡ãã£ã¨ããã¦ããã©EXTERNAL-IPã«ELBã®ãã¡ã¤ã³ãå ¥ã£ã¦ãã $ kubectl version Client Version: version.Info{...GitVersion:"v1.7.2"...} Server Version: version.Info{...GitVersion:"v1.7.2"...} $ kubectl -n kube-system get svc -l k8s-app=kubernetes-dashboard -o wide NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR kubernetes-
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}