diff --git a/README.md b/README.md index fb1c62d..7405ddd 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ * [devel](#namespace-devel) * [staging](#namespace-staging) * [prod](#namespace-prod) +* [Persistent volumes](#pv) + * [Local provider](#pv-local) + * [Longhorn - distributed/lightweight provider](#pv-longhorn) * [HELM charts](#helm) * [Create a chart](#helm-create) * [Install local chart without packaging](#helm-install-without-packaging) @@ -342,10 +345,16 @@ namespace-devel-limitranges.yaml: apiVersion: v1 kind: LimitRange metadata: - name: limit-range-staging + name: limit-range-devel spec: limits: - - max: + - default: + cpu: 500m + memory: 1Gi + defaultRequest: + cpu: 10m + memory: 4Mi + max: cpu: 500m memory: 1Gi min: @@ -376,7 +385,13 @@ metadata: name: limit-range-staging spec: limits: - - max: + - default: + cpu: 500m + memory: 1Gi + defaultRequest: + cpu: 10m + memory: 4Mi + max: cpu: 500m memory: 1Gi min: @@ -407,13 +422,25 @@ metadata: name: limit-range-prod spec: limits: - - min: - cpu: 10m + - defaultRequest: + cpu: 50m + memory: 4Mi + min: + cpu: 50m memory: 4Mi type: Container ``` `kubectl apply -f namespace-prod-limitranges.yaml -n prod` +# Persistent Volumes +## Local provider (local - ouf-of-the-box) +https://rancher.com/docs/k3s/latest/en/storage/ + +## Longhorn (lightweight/distributed) +* Requirements: https://longhorn.io/docs/0.8.0/install/requirements/ +* Install: https://rancher.com/docs/k3s/latest/en/storage/ + + # HELM charts Docs: * https://helm.sh/docs/intro/using_helm/