cni-hostnic

by KubeSphere

Helm chartv0.1.0App v1.0.3Verified publisher

A Helm chart for qingcloud hostnic cni

About this chart

CNI-Hostnic

TL;DR;

helm repo add ks-test https://charts.kubesphere.io/test
helm repo update
helm install ks-test/cni-hostnic

Installing

To install the chart with the release name my-release:

helm install --name my-release ks-test/cni-hostnic

hostnic-cni is a Container Network Interface plugin. This plugin will create a new nic by IaaS api and attach to host, then move the nic to container network namespace. Support IaaS :QingCloud.

Uninstalling

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the rabbitmq chart and their default values.

ParameterDescriptionDefault
config.imageThe image of CNI-Hostnic containerqingcloud/hostnic-plus:v1.0.3
config.qy_access_key_idAccess key id of QingCloud
config.qy_secret_access_keyAccess secret of QingCloud
config.zoneZone of QingCloud
config.hostAPI host of QingCloudapi.qingcloud.com
config.portAPI port of QingCloud443
config.protocolAPI protocol of QingCloudhttps
config.uriAPI URI of QingCloud/iaas
config.cidrdst destination subnet specified in CIDR notation
config.networkpolicyCalico networkpolicy
config.blocksizeSubnetMasks blocksize
config.vxnetshostnic Vxnet of QIngCloud
config.autosubnet-auto-assign
config.ipamIP Address Management
config.vxnetdefault VxNet For LB
config.clusterIDCluster Id of QingCloud
config.userIDCluster User of QingCloud
config.clusterTagCluster Tag of QingCloud
config.connection_retriesRetry count of API3
config.connection_timeoutRetry time out of API30

Deploy cni-hostnic with OpenTenant

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