add cloudnativepg
This commit is contained in:
17791
deploy/cloudnativepg/cnpg-operator.yaml
Normal file
17791
deploy/cloudnativepg/cnpg-operator.yaml
Normal file
File diff suppressed because it is too large
Load Diff
3
deploy/cloudnativepg/kustomize.yaml
Normal file
3
deploy/cloudnativepg/kustomize.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
resources:
|
||||
- cnpg-operator.yaml
|
||||
- postgres-base.yaml
|
||||
10
deploy/cloudnativepg/postgres-base.yaml
Normal file
10
deploy/cloudnativepg/postgres-base.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: postgres-base
|
||||
namespace: postgres
|
||||
spec:
|
||||
instances: 3
|
||||
storage:
|
||||
size: 50Gi
|
||||
storageClass: longhorn
|
||||
Reference in New Issue
Block a user