Professional Documents
Culture Documents
Helm ? Need Help? Get free intro and advanced online training ×
Architecture
Helm is the package management tool of choice for Kubernetes. Helm charts provide templating
Quick-Start Guide syntax for Kubernetes YAML manifest documents. With Helm we can create con gurable
deployments instead of just using static les. For more information about creating your own catalog
K3s does not require any special con guration to use with Helm command-line tools. Just be sure you
Cluster Access have properly set up your kubecon g as per the section about cluster access. K3s does include some
extra functionality to make deploying both traditional Kubernetes resource manifests and Helm Charts
Upgrades even easier with the rancher/helm-release CRD.
Helm
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Advanced Options and Con guration
It is also possible to deploy Helm charts as AddOns. K3s includes a Helm Controller that manages
Helm charts using a HelmChart Custom Resource De nition (CRD).
NOTE:
K3s versions through v0.5.0 used k3s.cattle.io/v1 as the apiVersion for
HelmCharts. This has been changed to helm.cattle.io/v1 for later versions.
The HelmChart resource de nition captures most of the options you would normally pass to the
helm command-line tool. Here’s an example of how you might deploy Grafana from the default
chart repository, overriding some of the default chart values. Note that the HelmChart resource itself
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
is in the kube-system namespace, but the chart’s resources will be deployed to the
monitoring namespace.
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: grafana
namespace: kube-system
spec:
chart: stable/grafana
targetNamespace: monitoring
set:
adminPassword: "NotVerySafePassword"
valuesContent: |-
image:
tag: master
env:
GF_EXPLORE_ENABLED: true
adminUser: admin
sidecar:
datasources:
enabled: true
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
HELM
ARGUMENT /
FIELD DEFAULT DESCRIPTION
FLAG
EQUIVALENT
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
HELM
ARGUMENT /
FIELD DEFAULT DESCRIPTION
FLAG
EQUIVALENT
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
HelmChartCon g resources. The HelmChartCon g resource must match the name and namespace
of its corresponding HelmChart, and supports providing additional valuesContent , which is
passed to the helm command as an additional value le.
NOTE:
HelmChart spec.set values override HelmChart and HelmChartCon g
spec.valuesContent settings.
For example, to customize the packaged Trae k ingress con guration, you can create a le named
/var/lib/rancher/k3s/server/manifests/traefik-config.yaml and populate it with
the following content:
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
image: traefik
imageTag: v1.7.26-alpine
proxyProtocol:
enabled: true
trustedIPs:
- 10.0.0.0/8
forwardedHeaders:
enabled: true
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
trustedIPs:
- 10.0.0.0/8
ssl:
enabled: true
permanentRedirect: false
NOTE:
K3s versions starting with v1.17.0+k3s.1 support Helm v3, and will use it by default. Helm
v2 charts can be used by setting helmVersion: v2 in the spec.
If you were using Helm v2 in previous versions of K3s, you may upgrade to v1.17.0+k3s.1 or newer
and Helm 2 will still function. If you wish to migrate to Helm 3, this blog post by Helm explains how to
use a plugin to successfully migrate. Refer to the o cial Helm 3 documentation here for more
information. K3s will handle either Helm v2 or Helm v3 as of v1.17.0+k3s.1. Just be sure you have
properly set your kubecon g as per the examples in the section about cluster access.
Note that Helm 3 no longer requires Tiller and the helm init command. Refer to the o cial
documentation for details.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
GET THE LATEST NEWS PRODUCTS COMMUNITY RESOURCES COMPANY
GitHub
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
© Copyright 2021 Rancher. All Rights Reserved. Privacy Policy Agreements Terms of Service
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD