modify resource
This commit is contained in:
parent
a9ad3b1449
commit
5b25ff6e2e
@ -26,8 +26,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/grafana
|
path: /srv/birbdata/grafana
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
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
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: minio-service
|
name: minio-service
|
||||||
@ -34,7 +49,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
MINIO_ACCESS_KEY: "birbnetes-minio-access"
|
MINIO_ACCESS_KEY: "birbnetes-minio-access"
|
||||||
MINIO_SECRET_KEY: "birbnetes-supersecret"
|
MINIO_SECRET_KEY: "birbnetes-supersecret"
|
||||||
--
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -10,8 +10,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/minio_model
|
path: /srv/birbdata/model-minio
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@ -34,7 +34,7 @@ metadata:
|
|||||||
namespace: birbnetes
|
namespace: birbnetes
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteMany
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 10Gi
|
storage: 10Gi
|
||||||
@ -53,7 +53,7 @@ data:
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: moedl-minio
|
name: model-minio
|
||||||
namespace: birbnetes
|
namespace: birbnetes
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
|
@ -10,8 +10,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/model_postgres
|
path: /srv/birbdata/model-postgres
|
||||||
---
|
---
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -58,8 +58,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/outflux
|
path: /srv/birbdata/output-influx
|
||||||
---
|
---
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -10,8 +10,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/output_postgres
|
path: /srv/birbdata/output-postgres
|
||||||
---
|
---
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -10,8 +10,8 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/input_postgres
|
path: /srv/birbdata/input-postgres
|
||||||
---
|
---
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
|
|
||||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||||
helm install --set persistence.size=10Gi birb-rabbitmq bitnami/rabbitmq --namespace birbnetes
|
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
|
- ReadWriteOnce
|
||||||
persistentVolumeReclaimPolicy: Recycle
|
persistentVolumeReclaimPolicy: Recycle
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.100.1
|
server: 192.168.122.20
|
||||||
path: /srv/kubedata/birbnetes/rabbitmq
|
path: /srv/birbdata/rabbitmq
|
||||||
|
Loading…
Reference in New Issue
Block a user