EKS - AWS Kubernetes on Fargate
There are currently a few limitations that you should be aware of:
- There is a maximum of 4 vCPU and 30Gb memory per pod.
- Currently there is no support for stateful workloads that require persistent volumes or file systems.
- You cannot run Daemonsets, Privileged pods, or pods that use HostNetwork or HostPort.
- The only load balancer you can use is an Application Load Balancer.
* 포트포워딩
# kubectl --namespace=prometheus port-forward deploy/prometheus-server 9090
* Fargate 의 로드밸런서는 ALB 만 가능하다.
https://aws.amazon.com/ko/premiumsupport/knowledge-center/eks-alb-ingress-controller-setup/
Amazon EKS의 Amazon EC2 노드 그룹에 ALB 인그레스 컨트롤러 설정
Amazon Elastic Kubernetes Service(Amazon EKS)의 Amazon Elastic Compute Cloud(Amazon EC2) 노드 그룹에 ALB 인그레스 컨트롤러를 설정하려고 합니다.
aws.amazon.com
Amazon EKS Cluster for Fargate에 ALB 수신 컨트롤러 배포
참고: FargateExecutionRole은 kubelet 및 kube-proxy가 Fargate 포드를 실행하는 역할이지만 Fargate 포드(즉, alb-ingress-controller)의 역할은 아닙니다. Fargate 포드의 경우 서비스 계정에 대한 IAM 역할을 사용해야 합니다. 3. 올바른 권한을 사용하여 서비스 계정에 대한 IAM 정책을 생성하고 IAM 정책의 Amazon 리소스 이름(ARN)을 기록합니다. 참고: ALB 수신 컨트롤
aws.amazon.com
https://medium.com/tensult/alb-ingress-controller-on-aws-eks-45bf8e36020d
ALB Ingress Controller on AWS EKS
After Successfully Deploying Kubernetes on AWS EKS, Now we can start working on Application LoadBalancer on kubernetes.
medium.com
https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/tasks/ssl_redirect/
SSL Redirect - AWS ALB Ingress Controller
Redirect Traffic from HTTP to HTTPS We'll use the alb.ingress.kubernetes.io/actions.${action-name} annotation to setup an ingress to redirect http traffic into https Example Ingress Manifest apiVersion: extensions/v1beta1 kind: Ingress metadata: namespac
kubernetes-sigs.github.io
* 보안그룹 설정시, eks 클러스터 보안그룹에 alb보안그룹을 추가해줘야한다.
* RDS 보안그룹에는 eks 클러스터 보안그룹을 추가해준다.
https://lascrea.tistory.com/203
Kubernetes Ingress
Kubernetes Ingress Ingress는 서비스는 L4 Layer의 Service와 달리 L7 Layer의 서비스이다. 쿠버네티스의 Ingress는 HTTP(S) 기반의 URL Path LoadBalancing을 하는 서비스라고 보면 된다. 아래는 Ingress의 구성..
lascrea.tistory.com
https://eksworkshop.com/intermediate/245_x-ray/microservices/
EKSworkshop.com
Amazon EKS Workshop In this workshop, we will explore multiple ways to configure VPC, ALB, and EC2 Kubernetes workers, and Amazon Elastic Kubernetes Service.
eksworkshop.com
서비스와 애플리케이션 연결하기
kubernetes.io
https://aws.amazon.com/ko/quickstart/architecture/amazon-eks/
Amazon EKS 아키텍처 - Quick Start
이 Quick Start 참조 배포를 실행하는 동안 사용되는 AWS 서비스 비용은 고객이 부담해야 합니다. Quick Start 사용에 따르는 추가 비용은 없습니다. 이 Quick Start를 위한 AWS CloudFormation 템플릿에는 사용자 지정할 수 있는 구성 매개 변수가 포함되어 있습니다. 인스턴스 유형과 같은 일부 설정에 따라 배포 비용이 달라집니다. 예상 비용은 사용하게 될 각 AWS 서비스에 대한 요금 페이지를 참조하십시오. 요금은 변경
aws.amazon.com
* ConfigMap
https://arisu1000.tistory.com/27843
리디렉션 알림
www.google.com
https://bcho.tistory.com/m/1267
쿠버네티스 #11 - ConfigMap
쿠버네티스 #11 ConfigMap 조대협 (http://bcho.tistory.com) 애플리케이션을 배포하다 보면, 환경에 따라서 다른 설정값을 사용하는 경우가 있다. 예를 들어, 데이타베이스의 IP, API를 호출하기 위한 API KEY,..
bcho.tistory.com
https://kubernetes.io/ko/docs/tutorials/configuration/configure-redis-using-configmap/
컨피그 맵을 사용해서 Redis 설정하기
kubernetes.io
https://kubectl.docs.kubernetes.io/pages/reference/kustomize.html
kustomization.yaml · The Kubectl Book
Provide feedback at the survey
kubectl.docs.kubernetes.io
* Secret
https://arisu1000.tistory.com/27844
리디렉션 알림
www.google.com
https://blog.2dal.com/2018/04/30/kubernetes-02-replicaset/
Kubernetes 02 – ReplicaSet | asbubam's blog
지난 글 Kubernetes 01 – Pod 에서는 K8s(Kubernetes)의 가장 작은 배포 단위인 Pod에 대해서 설명했었다. 오늘은 ReplicaSet에 대해서 이야기 해보려고 한다. 지난 글에서 라고 설명했었는데, ReplicaSet은 Pod (Object)을 복제 생성하고, 복제된 Pod의 개수를 (Spec에 정의된 개수만큼) 지속적으로…
blog.2dal.com
https://kubernetes.io/ko/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
Horizontal Pod Autoscaler 연습
kubernetes.io
https://kubernetes.io/ko/docs/concepts/workloads/controllers/replicaset/
레플리카셋
kubernetes.io
https://waspro.tistory.com/373
[Kubernetes & Docker] Kubernetes HPA (오토스케일링)
본 포스팅은 Kubernetes Horizontal Pod Autoscaler 사용 가이드입니다. Kubernetes & Docker Install 과정을 살펴보며, 추후 CICD 구축에 활용될 수 있도록 하는데 목적이 있습니다. HPA는 지정된 CPU 사용률을..
waspro.tistory.com
https://tech.osci.kr/2019/04/15/71798599/
리디렉션 알림
www.google.com
https://aws.amazon.com/ko/blogs/containers/autoscaling-eks-on-fargate-with-custom-metrics/
리디렉션 알림
www.google.com
https://aws.amazon.com/ko/premiumsupport/knowledge-center/eks-metrics-server-pod-autoscaler/
Amazon EKS에서 Kubernetes Metrics Server 및 Horizontal Pod Autoscaler 설정
이제 Metrics Server가 가동되어 실행 중이며, 이를 사용하여 리소스 기반 지표를 가져올 수 있습니다. 9. HPA 테스트에 사용된 리소스를 정리하려면 다음 명령을 실행합니다.
aws.amazon.com
https://kubernetes.io/ko/docs/concepts/storage/volumes/#awselasticblockstore
볼륨
kubernetes.io
https://thenewstack.io/comparison-aws-fargate-vs-google-cloud-run-vs-azure-container-instances/
Comparison: AWS Fargate vs. Google Cloud Run vs. Azure Container Instances - The New Stack
A comparison of managed Kubernetes services from AWS, Azure and Google.
thenewstack.io
https://waspro.tistory.com/580
Kubernetes Persistent Volume 생성하기 - PV, PVC
서론 본 포스팅에서는 Kubernetes에서 Persistent Volume & Persistent Volume Claim을 사용하는 방법에 대해 알아보도록 하겠습니다. 먼저 Persistent Volume(이하 PV)에 대해 알아보겠습니다. PV는 Kubernetes와..
waspro.tistory.com
https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/
Annotation - AWS ALB Ingress Controller
Ingress annotations You can add kubernetes annotations to ingress and service objects to customize their behavior. Note Annotations applied to service have higher priority over annotations applied to ingress. Location column below indicates where that an
kubernetes-sigs.github.io
Automatically scaling pods - Working with pods | Nodes | OpenShift Dedicated 4
You can create a horizontal pod autoscaler to specify the minimum and maximum number of pods you want to run, as well as the CPU utilization or memory utilization your pods should target. Autoscaling for Memory Utilization is a Technology Preview feature o
docs.openshift.com
** 클러스터 생성자가 아닌 경우에 사용자를 추가할 경우
https://aws.amazon.com/ko/premiumsupport/knowledge-center/eks-api-server-unauthorized-error/
Amazon EKS API 서버에 연결할 때 무단 서버 오류 해결
kubectl 명령을 사용하여 Amazon Elastic Kubernetes Service(Amazon EKS) API 서버에 연결할 때 "error: You be logged in to the server(Unauthorized)(오류: 무단 서버에 로그인했습니다)" 오류 메시지가 표시됩니다. 이 오류를 해결하려면 어떻게 해야 합니까?
aws.amazon.com
https://www.slideshare.net/awskr/aws-fargate-on-eks?next_slideshow=1
AWS Fargate on EKS 실전 사용하기
2020년 1월 21일 세종대학교에서 열린 AWS Community Day의 발표 내용입니다. Fargate on EKS의 사용 방법과 제약 사항, 특징 등을 설명합니다.
www.slideshare.net
Monitoring Amazon EKS on AWS Fargate using Prometheus and Grafana | Amazon Web Services
At AWS, we are constantly looking to improve customer experience by reducing complexity. Our customers want to spend more time solving business problems and less time maintaining infrastructure. Two years ago, we launched Amazon EKS to make it easy for you
aws.amazon.com
https://www.learnaws.org/2019/12/16/running-eks-on-aws-fargate/
How to run Serverless Kubernetes: AWS EKS on Fargate
Introduction Amazon recently announced that it’s Elastic Kubernetes Service (EKS) now supports running Kubernetes pods on AWS Fargate. Amazon is putting a lot of resources into their serverless products and this new feature allows us to run Kubernetes in
www.learnaws.org