Installing on Kubernetes using Helm
This section aims to provide a walkthrough of setting up a Cocov instance on an Kubernetes cluster by leveraging Cocov’s Helm Chart.
It is assumed you understand Kubernetes concepts, Helm, have a live cluster,
understands Cocov’s requirements and
have prepared required dependencies (PostgreSQL, Redis, Storage, DNS, etc).
Before continuing, one may also want to get familiarised with Cocov Chart’s
values, and the documentation present there. Take a couple of minutes to check
the values.yaml file in the aforementioned chart.
It is important to notice that the contains common structures for all components to allow replicas, sources, annotations, and the horizontal pod autoscaler to be enabled. The following keys are common to all components:
replicaCounthpaenabledlabelsminReplicasmaxReplicastargetCPUUtilizationPercentagetargetMemoryUtilizationPercentagemetrics
resourcesnodeSelectortolerationsaffinitypodAnnotationspodSecurityContextsecurityContextlabels
Also, an extra subobject of the chart allows common data to be defined for all
components. Keys defined on the general object will be merged into all objects
unless the object itself overrides it. The following keys may be set to the
general object of the chart:
nodeSelectortolerationsaffinitypodAnnotationspodSecurityContextsecurityContextlabelsrevisionHistoryLimitimagePullPolicy