Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.34 KB

storage.md

File metadata and controls

55 lines (43 loc) · 1.34 KB

Storage

for setting StorageClasses or PersistentVolumeClaims.

Persistence

By default persistence is enabled, and a PersistentVolumeClaim is created and mounted in that directory. As a result, a persistent volume will need to be defined, Examples

In order to disable this functionality you can change the values.yaml to disable persistence and use an emptyDir instead.

Storage Class

Most managed Kubernetes deployments do NOT include all possible storage provider variations at setup time. Refer to the official Kubernetes guidance on storage classes for your platform. Three examples are shown below.

  • Amazon EKS
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: aqua-console-db-data
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2
reclaimPolicy: Retain
mountOptions:
  - debug
volumeBindingMode: Immediate
  • Azure AKS
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: slow
provisioner: kubernetes.io/azure-disk
parameters:
  storageaccounttype: Standard_LRS
  kind: Shared
  • Google GKE
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: slow
provisioner: kubernetes.io/gce-pd
parameters:
  type: pd-standard
replication-type: none