Cloud Native 3 min read

How to Install Helm and Deploy OpenEBS on CentOS 7 for Kubernetes

This guide walks through setting up a CentOS 7 environment, installing Helm, adding the OpenEBS chart repository, deploying the OpenEBS control plane, creating a dedicated PostgreSQL namespace, and configuring persistent storage with a ConfigMap, providing all necessary commands and screenshots.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
How to Install Helm and Deploy OpenEBS on CentOS 7 for Kubernetes

1. Basic Architecture Diagram

Architecture diagram
Architecture diagram

2. Install Helm

Download Helm from the official releases page. https://github.com/helm/helm/releases Select the Linux amd64 binary for CentOS 7. tar -xzvf helm-v3.14.4-linux-amd64.tar.gz Move Helm to the bin directory. mv linux-amd64/helm /usr/local/bin/helm Verify the installation.

helm version
Helm version output
Helm version output

3. Deploy OpenEBS Control Plane

Add and update the OpenEBS chart repository.

helm repo add openebs https://openebs.github.io/charts
helm repo update

Install OpenEBS.

helm install --namespace openebs openebs openebs/openebs

4. Deploy PostgreSQL Namespace and Storage

Create a dedicated namespace for PostgreSQL. kubectl create namespace database List namespaces to confirm.

kubectl get namespaces
Namespace list
Namespace list

Create a storage pool and a storage class (openebs‑standard) for persistent volumes.

Create a ConfigMap for PostgreSQL credentials.

cat > postgres-configmap.yaml <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: postgres-config
  labels:
    app: postgres
  namespace: database
data:
  POSTGRES_DB: postgresdb
  POSTGRES_USER: postgresadmin
  POSTGRES_PASSWORD: admin12345
EOF
kubectl create -f postgres-configmap.yaml

Verify the ConfigMap.

kubectl get configmaps -n database
ConfigMap output
ConfigMap output

Persistent Storage Volume details (omitted for brevity).

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

KubernetesstorageCentOShelmConfigMapOpenEBS
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.