Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 541 Bytes

Kubeadm.md

File metadata and controls

38 lines (31 loc) · 541 Bytes

Kubeadm

Install

Tools

PostgreSQL

kubectl create ns postgres
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

Storage:

cat <<EOF > 1.md |---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: postgresql-pv
  labels:
    type: local
spec:
  storageClassName: manual
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/mnt/data"
helm upgrade -i -n postgres postgres \
  oci://registry-1.docker.io/bitnamicharts/postgresql