aws-calico

by Helm

Helm chartv0.3.11App 3.19.1

A Helm chart for installing Calico on AWS

About this chart

Important Announcement: AWS EKS will no longer maintain and update Calico charts in this repository

  • The current Calico charts will not be updated
  • The current Calico charts will be removed from this repository on March 31, 2023
  • Current open requests will be redirected to Calico
  • You should submit new requests to Calico directly
  • We will update and maintain the AWS docs for Calico installation after the deprecation

Calico on AWS

The instructions and charts provided in this repo have been deprecated and will not be updated. The recommended way to install Calico on EKS is via Tigera Operator instead of this helm-chart.

You can follow https://docs.aws.amazon.com/eks/latest/userguide/calico.html for detailed instructions.

Prerequisites

  • Kubernetes 1.11+ running on AWS

Installing the Chart

First add the EKS repository to Helm:

helm repo add eks https://aws.github.io/eks-charts

Install the Calico CRDs:

kubectl apply -k github.com/aws/eks-charts/tree/master/stable/aws-calico/crds

To install the chart with the release name aws-calico and default configuration:

$ helm install --name aws-calico --namespace kube-system eks/aws-calico

To install into an EKS cluster where the CNI is already installed, you can run:

helm upgrade --install --recreate-pods --force aws-calico --namespace kube-system eks/aws-calico

If you receive an error similar to Error: release aws-calico failed: <resource> "aws-calico" already exists, simply rerun the above command.

Configuration

The following table lists the configurable parameters for this chart and their default values.

ParameterDescriptionDefault
calico.typha.imageCalico Typha Imagequay.io/calico/typha
calico.typha.resourcesCalico Typha Resourcesrequests.memory: 64Mi, requests.cpu: 50m, limits.memory: 96Mi, limits.cpu: 100m
calico.typha.logseverityCalico Typha Log SeverityInfo
calico.typha.nodeSelectorCalico Typha Node Selector{ beta.kubernetes.io/os: linux }
calico.node.extraEnvCalico Node extra ENV vars[]
calico.node.imageCalico Node Imagequay.io/calico/node
calico.node.resourcesCalico Node Resourcesrequests.memory: 32Mi, requests.cpu: 20m, limits.memory: 64Mi, limits.cpu: 100m
calico.node.logseverityCalico Node Log SeverityInfo
calico.node.nodeSelectorCalico Node Node Selector{ beta.kubernetes.io/os: linux }
calico.typha_autoscaler.resourcesCalico Typha Autoscaler Resourcesrequests.memory: 16Mi, requests.cpu: 10m, limits.memory: 32Mi, limits.cpu: 10m
calico.typha_autoscaler.nodeSelectorCalico Typha Autoscaler Node Selector{ beta.kubernetes.io/os: linux }
calico.tagCalico versionv3.8.1
fullnameOverrideOverride the fullname of the chartcalico
podSecurityPolicy.createSpecifies whether podSecurityPolicy and related rbac objects should be createdfalse
serviceAccount.nameThe name of the ServiceAccount to usenil
serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
autoscaler.imageCluster Proportional Autoscaler Imagek8s.gcr.io/cluster-proportional-autoscaler-amd64
autoscaler.tagCluster Proportional Autoscaler version1.1.2

Specify each parameter using the --set key=value[,key=value] argument to helm install or provide a YAML file containing the values for the above parameters:

$ helm install --name aws-calico --namespace kube-system eks/aws-calico --values values.yaml

Deploy aws-calico with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aws-calico on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaws-calico is pinned at v0.3.11 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply