liveBook · Manning

Helm install

As explained in Platform Engineering on Kubernetes

helm install is a Helm command that installs a chart and creates its Kubernetes-managed resources.

helm install deploys a Helm chart into a Kubernetes cluster. Helm downloads manifests describing the required components and applies them to create Kubernetes-managed resources. section 5.1.1

Use the command as part of an infrastructure-to-application workflow:

  • Define the Kubernetes constructs and chart parameters required by the component. section 5.1.1
  • Install the chart into the target namespace and Kubernetes cluster. section 5.1.1
  • Configure application services with the provisioned instance URL and credentials, including database connection details. section 5.1.1
  • Maintain the resulting infrastructure with backups and tested fail-over mechanisms. section 5.1.1

Provisioning PostgreSQL

Installing a PostgreSQL Helm chart creates resources such as StatefulSets and Deployments. The Conference application can then connect through the new instance URL and credentials, either directly or through a Kubernetes Secret. section 5.1.1

Figure 5.2 Provisioning a new PostgreSQL instance using the PostgreSQL Helm Chart. #1 Install a helm chart into a Namespace inside a Kubernetes Cluster; #2 The chart creates Kubernetes resources such as StatefulSets and Deployments to provision a PostgreSQL instance; #3 A Service needs to connect to the newly created instance, this can be done manually or by referencing a Kubernetes Secret that contains the credentials and details on how to connect.

Follow the provisioning sequence from chart installation through resource creation and service connection. section 5.1.1

How Platform Engineering on Kubernetes covers it

How deep it goes
Explains manifest application, parameter configuration, service wiring, and a helm template fallback without detailing Helm internals.
Examples
Uses a PostgreSQL Helm chart and the Conference application’s dependency and connection workflow.
What it assumes
Assumes a Kubernetes cluster, chart configuration knowledge, and operational or database expertise for high-availability decisions.
What you can do after
Operate/configure chart-based infrastructure and wire application services to its provisioned endpoints and credentials.
How it connects
Connects Helm charts with Kubernetes manifests, StatefulSets, Deployments, Services, Secrets, databases, and kubectl apply.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Platform Engineering on Kubernetes. The section links point to the parts of the book it draws on.