From 648db9d544e2c74fa214b8ea732b80e29ec56bc2 Mon Sep 17 00:00:00 2001 From: karancode <karan.thanvi@paypay-corp.co.jp> Date: Tue, 22 Oct 2019 03:24:31 +0900 Subject: [PATCH] add readme --- README.md | 1 + docs/EKS-cni-support.md | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/EKS-cni-support.md diff --git a/README.md b/README.md index 6fcdb3c4..604b7e7e 100644 --- a/README.md +++ b/README.md @@ -645,6 +645,7 @@ As described in the [Prerequisites](#prerequisites) section, in order to retriev If you are using Google's GKE product, see [cAdvisor support](docs/GKE-cadvisor-support.md). +If you are using AWS EKS, see [AWS EKS CNI support](docs/EKS-cni-support.md) #### Authentication problem The Prometheus `/targets` page will show the kubelet job with the error `403 Unauthorized`, when token authentication is not enabled. Ensure, that the `--authentication-token-webhook=true` flag is enabled on all kubelet configurations. diff --git a/docs/EKS-cni-support.md b/docs/EKS-cni-support.md new file mode 100644 index 00000000..b75b749b --- /dev/null +++ b/docs/EKS-cni-support.md @@ -0,0 +1,22 @@ +# CNI monitoring special configuration updates for EKS + +AWS EKS uses [CNI](https://github.com/aws/amazon-vpc-cni-k8s) networking plugin for pod networking in Kubernetes using Elastic Network Interfaces on AWS + +One fatal issue that can occur is that you run out of IP addresses in your eks cluster. (Generally happens due to error configs where pods keep scheduling). + +You can monitor the `awscni` using kube-promethus with : +``` +local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + + (import 'kube-prometheus/kube-prometheus-aws-eks-cni.libsonnet') + + { + _config+:: { + # ... config here + } + }; +``` + +After you have the required yaml file please run + +``` +kubectl apply -f manifests/prometheus-serviceMonitorAwsEksCNI.yaml +``` -- GitLab