eksctl create cluster --name fargate --region us-east-1 --version 1.14 --fargate
[ℹ] eksctl version 0.11.1
[ℹ] using region us-east-1
[ℹ] setting availability zones to [us-east-1c us-east-1d]
[ℹ] subnets for us-east-1c - public:192.168.0.0/19 private:192.168.64.0/19
[ℹ] subnets for us-east-1d - public:192.168.32.0/19 private:192.168.96.0/19
[ℹ] using Kubernetes version 1.14
This document explains how to install Kubeflow on AWS Fargate. Detailed instructions are at https://eksworkshop.com/advanced/420_kubeflow/install/. There is a slight variation on how to find the IAM role:
export AWS_CLUSTER_NAME=kubeflow
eksctl create cluster --name ${AWS_CLUSTER_NAME} --fargate
curl --silent --location "https://github.com/kubeflow/kubeflow/releases/download/v0.7.0/kfctl_v0.7.0_darwin.tar.gz" | tar xz -C
export PATH=`pwd`:$PATH
export CONFIG_URI=https://raw.githubusercontent.com/kubeflow/manifests/v0.7-branch/kfdef/kfctl_aws.0.7.0.yaml
export KF_NAME=${AWS_CLUSTER_NAME}
export BASE_DIR=`pwd`
Latest instructions at http://arun-gupta.github.io/rust-lambda/readme.md
- Create an
i3.metal
instance using AL2 - Install:
sudo yum update -y
sudo yum install -y git python3
git clone https://github.com/firecracker-microvm/firecracker-demo
- Setup:
sudo yum update | |
scp -i ~/.ssh/arun-us-east1.pem ec2-user@ec2-35-175-197-116.compute-1.amazonaws.com:/home/ec2-user/ | |
ssh -i ~/.ssh/arun-us-east1.pem ec2-user@ec2-35-175-197-116.compute-1.amazonaws.com | |
sudo yum install jdk-11.0.1_linux-x64_bin.rpm | |
sudo yum install -y git | |
git clone https://github.com/arun-gupta/java-k8s/ | |
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
sudo yum install -y apache-maven | |
cd java-k8s/app |
- Create an EKS cluster:
eksctl create cluster --name myeks --nodes 4 --region us-west-2
- Install Metrics Server
kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/auth-delegator.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/auth-reader.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/metrics-apiservice.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/metrics-server-deployment.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/metrics-server-service.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-incubator/metrics-server/master/deploy/1.8%2B/resource-reader.yaml
Knative requires Kubernetes 1.10 and Istio 0.8.0 to be installed. It also requires default namespace injection for Istio to be enabled which rules out EKS as a deployment platform. One of Istio pods is failing and so it cannot be installed on a kops-based cluster as well. This is filed as knative/docs#359.
- Install eksctl:
brew install weaveworks/tap/eksctl
- Create EKS cluster:
eksctl create cluster --name myeks --nodes 4 --region us-west-2
-
How to create a k8s cluster in China using kops
-
Custom metrics in pod with k8s 1.10
-
Use jlink/jdeps to show how Docker image size can be reduced
-
Debug Java and Kubernetes apps using IntelliJ
-
Why kubectl is vended by AWS