modify resource
This commit is contained in:
parent
a9ad3b1449
commit
5b25ff6e2e
@ -26,8 +26,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/grafana
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/grafana
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
19
minio.yaml
19
minio.yaml
@ -1,4 +1,19 @@
|
||||
apiVersion: v1
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: birbnetes-nfs-storage-minio
|
||||
namespace: birbnetes
|
||||
spec:
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/storage-minio
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: minio-service
|
||||
@ -34,7 +49,7 @@ metadata:
|
||||
data:
|
||||
MINIO_ACCESS_KEY: "birbnetes-minio-access"
|
||||
MINIO_SECRET_KEY: "birbnetes-supersecret"
|
||||
--
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -10,8 +10,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/minio_model
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/model-minio
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@ -34,7 +34,7 @@ metadata:
|
||||
namespace: birbnetes
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
@ -53,7 +53,7 @@ data:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: moedl-minio
|
||||
name: model-minio
|
||||
namespace: birbnetes
|
||||
spec:
|
||||
selector:
|
||||
|
@ -10,8 +10,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/model_postgres
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/model-postgres
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
|
@ -58,8 +58,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/outflux
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/output-influx
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
|
@ -10,8 +10,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/output_postgres
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/output-postgres
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
|
@ -10,8 +10,8 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/input_postgres
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/input-postgres
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
|
@ -2,3 +2,5 @@
|
||||
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm install --set persistence.size=10Gi birb-rabbitmq bitnami/rabbitmq --namespace birbnetes
|
||||
|
||||
echo "Password : $(kubectl get secret --namespace birbnetes birb-rabbitmq -o jsonpath="{.data.rabbitmq-password}" | base64 --decode)"
|
||||
|
@ -10,5 +10,5 @@ spec:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
nfs:
|
||||
server: 192.168.100.1
|
||||
path: /srv/kubedata/birbnetes/rabbitmq
|
||||
server: 192.168.122.20
|
||||
path: /srv/birbdata/rabbitmq
|
||||
|
Loading…
Reference in New Issue
Block a user