ckotzbauer_helm-charts/charts/cadvisor/README.md

3.7 KiB

Cadvisor

A chart for a Cadvisor deployment

Learn more: https://github.com/google/cadvisor

TL;DR;

$ helm install ckotzbauer/cadvisor

Introduction

This chart creates a daemonset on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.10+

Installing the Chart

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

$ helm install --name my-release ckotzbauer/cadvisor

The command deploys the Cadvisor on the Kubernetes cluster using the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

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 Prometheus MSTeams chart and their default values.

Parameter Description Default
image.repository container image repository k8s.gcr.io/cadvisor
image.tag container image tag v0.37.0
image.pullPolicy container image pull policy IfNotPresent
image.pullSecrets container image pull secrets []
nodeSelector node labels for pod assignment {}
tolerations node tolerations for pod assignment []
affinity node affinity for pod assignment {}
container.port the container and service port to use 8080
container.additionalArgs additional container arguments see values.yaml
container.hostPaths hostPaths to mount in the container see values.yaml
resources pod resource requests & limits {}
serviceAccount.create create a own serviceAccount for the pod true
serviceAccount.name name of the serviceAccount to create ""
podAnnotations annotations for the daemonset pods {}
podSecurityPolicy.create create a own PodSecurityPolicy for the pod false
podSecurityPolicy.privileged create the PodSecurityPolicy as privileged false
metrics.enabled create ServiceMonitor CR for Prometheus operator false

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
    --set key_1=value_1,key_2=value_2 \
    ckotzbauer/cadvisor

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

# example for staging
$ helm install --name my-release -f values.yaml ckotzbauer/cadvisor

Tip: You can use the default values.yaml