Skip to content

Instantly share code, notes, and snippets.


Arun Gupta arun-gupta

  • Apple
  • San Jose, CA
View GitHub Profile
arun-gupta /
Last active Jun 10, 2021
Kubernetes and Fargate

Create Amazon EKS Cluster

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: private:
[ℹ]  subnets for us-east-1d - public: private:
[ℹ]  using Kubernetes version 1.14
arun-gupta /
Last active Jul 19, 2020
KubeFlow on AWS Fargate

This document explains how to install Kubeflow on AWS Fargate. Detailed instructions are at 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 "" | tar xz -C
export PATH=`pwd`:$PATH
export CONFIG_URI=
export BASE_DIR=`pwd`
View gist:065484ef562cdfb02239982f620514aa

Bellarmine Community Engagement Calendar

Date Event
September 8 Unity Picnic
November 2 Día de Muertos Festival
November 4 to 8 Diversity Week
November 10 Diwali
December 2 to 6 Diversity Week
December 3 Las Posadas
arun-gupta /
Last active Dec 6, 2018
Firecracker 4k
  • Create an i3.metal instance using AL2
  • Install:
sudo yum update -y
sudo yum install -y git python3
git clone
  • Setup:
arun-gupta /
Last active Nov 28, 2018
Kiali on EKS

Kiali on Amazon EKS

Create EKS cluster

  • brew install weaveworks/tap/eksctl or brew upgrade weaveworks/tap/eksctl
  • eksctl create cluster --name myeks --nodes=4

Install Istio 1.0.x

  • curl -LO
arun-gupta / readme.txt
Last active Oct 25, 2018
Setup new AL2 machine
View readme.txt
sudo yum update
scp -i ~/.ssh/arun-us-east1.pem
ssh -i ~/.ssh/arun-us-east1.pem
sudo yum install jdk-11.0.1_linux-x64_bin.rpm
sudo yum install -y git
git clone
sudo wget -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
arun-gupta /
Last active Dec 17, 2018
Getting Started with HPA on EKS
  • Create an EKS cluster: eksctl create cluster --name myeks --nodes 4 --region us-west-2
  • Install Metrics Server
    kubectl apply -f
    kubectl apply -f
    kubectl apply -f
    kubectl apply -f
    kubectl apply -f
    kubectl apply -f
arun-gupta /
Last active May 2, 2019
knative + kubernetes + aws

Knative on Kubernetes on AWS

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


  • Install eksctl: brew install weaveworks/tap/eksctl
  • Create EKS cluster: eksctl create cluster --name myeks --nodes 4 --region us-west-2
arun-gupta / readme.adoc
Last active Jun 22, 2018
List of blogs to be done
View readme.adoc
  1. How to create a k8s cluster in China using kops

  2. Custom metrics in pod with k8s 1.10

  3. Use jlink/jdeps to show how Docker image size can be reduced

  4. Debug Java and Kubernetes apps using IntelliJ

  5. Why kubectl is vended by AWS