This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Container Network Interface (CNI)

Supported CNI by Ksctl

Cilium and Flannel for self managed clusters

For Cloud managed cluster it varies based on the provider.

Pre-requisites

You get to choose Ksctl CNI when you choose none from the main provider :

  • Cloud Managed Cluster Provider (aks, eks, kind) Or
  • Kubernetes Bootstrap Provider (k3s, kubeadm)

For example,

1 - Cilium

Cilium CNI

Cilium is a CNI plugin for Kubernetes that provides advanced networking and security features. It uses eBPF (extended Berkeley Packet Filter) technology to enable high-performance networking, load balancing, and security policies at the kernel level.

Version selection

Default: latest

Now you can choose the Cilium version you want to install.

Cilium configuration

You can customize the Cilium Configuration. 3 modes are available:

  1. Default: It represents opinionated configuration for Cilium by Ksctl Team.
 1hubble:
 2  ui:
 3    enabled: true
 4  relay:
 5    enabled: true
 6  metrics:
 7    enabled:
 8      - dns
 9      - drop
10      - tcp
11      - flow
12      - port-distribution
13      - icmp
14      - httpV2:exemplars=true;labelsContext=source_ip,source_namespace,source_workload,destination_ip,destination_namespace,destination_workload,traffic_direction
15
16l7Proxy: true
17kubeProxyReplacement: true
18
19encryption:
20  enabled: true
21  type: wireguard
22
23operator:
24  replicas: 3
25  prometheus:
26    enabled: true
27
28prometheus:
29  enabled: true
  1. Advance: You can specify the helm chart values.yml file to customize the Cilium configuration. it will open a text editor based on your terminal ENV $EDITOR if not set it will use vim as default. Refer Helm Chart Values
  2. Guided: It will provide you our preconfigured options of what all specific omponents to Enable/Disable

2 - Flannel

Flannel CNI

Flannel is a CNI plugin for Kubernetes that provides a simple and efficient way to manage networking between containers. It creates an overlay network that allows containers to communicate with each other across different hosts, making it easier to deploy and scale applications in a Kubernetes cluster.

Version selection

Default: latest

Now you can choose the Flannel version you want to install.