Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (32 loc) · 1.08 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.08 KB

Virtual Kubelet Container for AWS Fargate

overview image

Get Started

  1. Clone this repo.
git clone https://github.com/bbrfkr/vk-fargate.git
  1. Build docker image.
cd vk-fargate
docker build -t <your dockerhub account>/vk-fargate:latest .
  1. Push docker image.
docker login
docker push <your dockerhub account>/vk-fargate:latest
  1. Create EKS cluster by using iam role. (don't need to create worker nodes)

  2. Create fargate task by using this image and the above iam role.

Environment Variable

  • KUBELET_PORT
    The listen port for virtual kubelet. Commonly 10250.

  • EKS_CLUSTER_NAME
    The name of EKS cluster to which virtual kubelet connects.

  • FARGATE_CLUSTER_REGION
    The name of region in which fargate cluster exists.

  • FARGATE_CLUSTER_NAME
    The name of fargate cluster on which virtual kubelet puts.

  • FARGATE_SUBNETS
    The subnets on which fargate tasks put.

  • FARGATE_SGS
    The Security Groups with which fargate tasks are associated.