530ba71802
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev> |
||
---|---|---|
.. | ||
crds | ||
templates | ||
.helmignore | ||
Chart.yaml | ||
README_CHANGELOG.md.gotmpl | ||
README_CONFIG.md.gotmpl | ||
README.md | ||
README.md.gotmpl | ||
values.yaml |
multus
multus CNI allows multiple NICs per pod
This chart is not maintained by the upstream project and any issues with the chart should be raised here
Source Code
Requirements
Kubernetes: >=1.16.0-0
Dependencies
Repository | Name | Version |
---|---|---|
https://library-charts.k8s-at-home.com | common | 2.5.0 |
TL;DR
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install multus k8s-at-home/multus
Installing the Chart
To install the chart with the release name multus
helm install multus k8s-at-home/multus
Uninstalling the Chart
To uninstall the multus
deployment
helm uninstall multus
The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
helm install multus \
--set env.TZ="America/New York" \
k8s-at-home/multus
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
helm install multus k8s-at-home/multus -f values.yaml
Custom configuration
Error setting up network for sandbox
If you remove multus by force, the helm uninstall hook will not be called. In this situation kubelet will still try to call multus to during the creation of every single pod. you wil see this error:
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox
If you hit this problem you can manually remove multus config. For k3s you can do so with:
rm -rf /var/lib/rancher/k3s/agent/etc/cni/net.d/*multus*
Values
Important: When deploying an application Helm chart you can add more values from our common library chart here
Key | Type | Default | Description |
---|---|---|---|
additionalVolumeMounts[0].mountPath | string | "/host/etc/cni/net.d" |
|
additionalVolumeMounts[0].name | string | "cni" |
|
additionalVolumeMounts[1].mountPath | string | "/host/opt/cni/bin" |
|
additionalVolumeMounts[1].name | string | "cnibin" |
|
additionalVolumes[0].hostPath.path | string | "/var/lib/rancher/k3s/agent/etc/cni/net.d" |
|
additionalVolumes[0].hostPath.type | string | "Directory" |
|
additionalVolumes[0].name | string | "cni" |
|
additionalVolumes[1].hostPath.path | string | "/var/lib/rancher/k3s/data/current/bin" |
|
additionalVolumes[1].hostPath.type | string | "Directory" |
|
additionalVolumes[1].name | string | "cnibin" |
|
args[0] | string | "--multus-conf-file=auto" |
|
args[1] | string | "--cleanup-config-on-exit=true" |
|
args[2] | string | "--cni-version=0.3.1" |
|
args[3] | string | "--multus-kubeconfig-file-host=/var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig" |
|
command[0] | string | "/entrypoint.sh" |
|
controllerType | string | "daemonset" |
|
image.pullPolicy | string | "IfNotPresent" |
|
image.repository | string | "ghcr.io/k8snetworkplumbingwg/multus-cni" |
|
image.tag | string | "v3.7.1" |
|
initContainers | list | [{"image":"ghcr.io/k8s-at-home/cni-plugins:v0.9.1","name":"cni-installer","volumeMounts":[{"mountPath":"/host/opt/cni/bin","name":"cnibin"}]}] |
Init container that install reference CNI plugins |
probes.liveness.enabled | bool | false |
|
probes.readiness.enabled | bool | false |
|
probes.startup.enabled | bool | false |
|
securityContext.privileged | bool | true |
|
service.enabled | bool | false |
|
serviceAccount.create | bool | true |
|
strategy.type | string | "RollingUpdate" |
Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click here.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0
Added
- Initial version
Changed
- N/A
Removed
- N/A
Support
Autogenerated from chart metadata using helm-docs v1.5.0