Fixing bind9 config
cubox-m still doesn't respond to outside requests
This commit is contained in:
15
ansible-5/roles/prod.k3s/files/glusterfs/endpoint.yaml
Normal file
15
ansible-5/roles/prod.k3s/files/glusterfs/endpoint.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
#https://itnext.io/kubernetes-storage-part-2-glusterfs-complete-tutorial-77542c12a602
|
||||
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: glusterfs-cluster
|
||||
labels:
|
||||
storage.k8s.io/name: glusterfs
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.4.12
|
||||
hostname: home
|
||||
ports:
|
||||
- port: 1
|
||||
15
ansible-5/roles/prod.k3s/files/glusterfs/pvc.mysql.yaml
Normal file
15
ansible-5/roles/prod.k3s/files/glusterfs/pvc.mysql.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: glusterfs-mariadb-claim
|
||||
spec:
|
||||
storageClassName: "" # Empty string must be explicitly set otherwise default StorageClass will be set
|
||||
volumeName: glusterfs-mariadb
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 8Gi
|
||||
21
ansible-5/roles/prod.k3s/files/glusterfs/volume.mysql.yaml
Normal file
21
ansible-5/roles/prod.k3s/files/glusterfs/volume.mysql.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: glusterfs-mariadb
|
||||
labels:
|
||||
storage.k8s.io/name: glusterfs
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
- ReadWriteMany
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
storageClassName: ""
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
volumeMode: Filesystem
|
||||
glusterfs:
|
||||
endpoints: glusterfs-cluster
|
||||
path: mariadb
|
||||
readOnly: no
|
||||
@@ -26,3 +26,6 @@ spec:
|
||||
- name: hello-world-volume
|
||||
configMap:
|
||||
name: hello-world
|
||||
- name: gluster-mariadb-volume
|
||||
hostPath:
|
||||
path: "/opt/mariadb"
|
||||
|
||||
Reference in New Issue
Block a user