calico

by VNG Cloud

Helm chartv1.1.11App v3.28.2Verified publisher

Calico CNI for VngCloud Kubernetes Clusters

About this chart

Calico CNI Helm Chart

This Helm chart deploys Calico CNI (Container Network Interface) for Kubernetes networking and network policy.

Installation

  • Option 1: Install via Github:

    helm repo add vks-helm-charts https://vngcloud.github.io/vks-helm-charts
    helm repo update
    
    helm install calico vks-helm-charts/calico \
      --namespace kube-system
    
  • Option 2: Install via OCI-based registries

    helm install calico oci://vcr.vngcloud.vn/81-vks-public/vks-helm-charts/calico \
      --namespace kube-system
    

Important Notes

Value Merging Behavior

NodeSelector (Map/Object): Values are merged with defaults. For example:

  • Default: kubernetes.io/os: linux
  • Override: node-role.kubernetes.io/control-plane: "true"
  • Result: Both selectors are applied

Static Manifest File

Note: This chart includes a static manifest file calico-3.28.2.yml that contains pre-configured Calico resources. When rendering templates, both the static resources and the templated resources will be included. The templated resources (with .yaml extension) support value customization, while the static file does not. (That why nodeSelector is merged)

Testing

A test values file values-test.yaml is provided for testing purposes. To render the templates with the test values, run:

make template

Deploy calico with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has 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 chartcalico is pinned at v1.1.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