skywalking

by KubeSphere

Helm chartv3.1.0App 8.1.0Verified publisher

Apache SkyWalking APM System

About this chart

Forked from https://github.com/apache/skywalking-kubernetes/tree/master/chart/skywalking.

Apache Skywalking Helm Chart

Apache SkyWalking is application performance monitor tool for distributed systems, especially designed for microservices, cloud native and container-based (Docker, K8s, Mesos) architectures.

Introduction

This chart bootstraps a Apache SkyWalking deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.9.6+
  • PV dynamic provisioning support on the underlying infrastructure (StorageClass)
  • Helm 3

Installing the Chart

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

$ helm install my-release skywalking -n <namespace>

The command deploys Apache Skywalking on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm uninstall my-release -n <namespace>

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

ParameterDescriptionDefault
nameOverrideOverride namenil
serviceAccounts.oapName of the OAP service account to use or createnil
oap.nameOAP deployment nameoap
oap.dynamicConfigEnabledEnable oap dynamic configuration through k8s configmapfalse
oap.image.repositoryOAP container image nameapache/skywalking-oap-server
oap.image.tagOAP container image tag6.1.0
oap.image.pullPolicyOAP container image pull policyIfNotPresent
oap.ports.grpcOAP grpc port for tracing or metric11800
oap.ports.restOAP http port for Web UI12800
oap.replicasOAP k8s deployment replicas2
oap.service.typeOAP svc typeClusterIP
oap.javaOptsParameters to be added to JAVA_OPTSenvironment variable for OAP-Xms2g -Xmx2g
oap.antiAffinityOAP anti-affinity policysoft
oap.nodeAffinityOAP node affinity policy{}
oap.nodeSelectorOAP labels for master pod assignment{}
oap.tolerationsOAP tolerations[]
oap.resourcesOAP node resources requests & limits{} - cpu limit must be an integer
oap.envoy.als.enabledOpen envoy alsfalse
oap.envOAP environment variables[]
ui.nameWeb UI deployment nameui
ui.replicasWeb UI k8s deployment replicas1
ui.image.repositoryWeb UI container image nameapache/skywalking-ui
ui.image.tagWeb UI container image tag6.1.0
ui.image.pullPolicyWeb UI container image pull policyIfNotPresent
ui.ingress.enabledCreate Ingress for Web UIfalse
ui.ingress.annotationsAssociate annotations to the Ingress{}
ui.ingress.pathAssociate path with the Ingress/
ui.ingress.hostsAssociate hosts with the Ingress[]
ui.ingress.tlsAssociate TLS with the Ingress[]
ui.service.typeWeb UI svc typeClusterIP
ui.service.externalPortexternal port for the service80
ui.service.internalPortinternal port for the service8080
ui.service.externalIPsexternal IP addressesnil
ui.service.loadBalancerIPLoad Balancer IP addressnil
ui.service.annotationsKubernetes service annotations{}
ui.service.loadBalancerSourceRangesLimit load balancer source IPs to list of CIDRs (where available))[]
elasticsearch.enabledSpin up a new elasticsearch cluster for SkyWalkingtrue
elasticsearch.clusterNameThis will be used as the Elasticsearch cluster.name and should be unique per cluster in the namespaceelasticsearch
elasticsearch.nodeGroupThis is the name that will be used for each group of nodes in the cluster. The name will be clusterName-nodeGroup-Xmaster
elasticsearch.masterServiceOptional. The service name used to connect to the masters. You only need to set this if your master nodeGroup is set to something other than master. See Clustering and Node Discovery for more information.``
elasticsearch.rolesA hash map with the specific roles for the node groupmaster: truedata: trueingest: true
elasticsearch.replicasKubernetes replica count for the statefulset (i.e. how many pods)3
elasticsearch.minimumMasterNodesThe value for discovery.zen.minimum_master_nodes. Should be set to (master_eligible_nodes / 2) + 1. Ignored in Elasticsearch versions >= 7.2
elasticsearch.esMajorVersionUsed to set major version specific configuration. If you are using a custom image and not running the default Elasticsearch version you will need to set this to the version you are running (e.g. esMajorVersion: 6)""
elasticsearch.esConfigAllows you to add any config files in /usr/share/elasticsearch/config/ such as elasticsearch.yml and log4j2.properties. See values.yaml for an example of the formatting.{}
elasticsearch.extraEnvsExtra environment variables which will be appended to the env: definition for the container[]
elasticsearch.extraVolumesTemplatable string of additional volumes to be passed to the tpl function

Deploy skywalking with OpenTenant

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