cleanup
This commit is contained in:
13
glusterfs/glusterfs-endpoints.yaml
Normal file
13
glusterfs/glusterfs-endpoints.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: glusterfs-cluster
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.10.180
|
||||
ports:
|
||||
- port: 1
|
||||
- addresses:
|
||||
- ip: 192.168.10.181
|
||||
ports:
|
||||
- port: 1
|
||||
17
glusterfs/glusterfs-pod-example.yaml
Normal file
17
glusterfs/glusterfs-pod-example.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: glusterfs
|
||||
spec:
|
||||
containers:
|
||||
- name: glusterfs
|
||||
image: nginx
|
||||
volumeMounts:
|
||||
- mountPath: "/mnt/glusterfs"
|
||||
name: glusterfsvol
|
||||
volumes:
|
||||
- name: glusterfsvol
|
||||
glusterfs:
|
||||
endpoints: glusterfs-cluster
|
||||
path: k8s
|
||||
readOnly: false
|
||||
7
glusterfs/glusterfs-service.yaml
Normal file
7
glusterfs/glusterfs-service.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: glusterfs-cluster
|
||||
spec:
|
||||
ports:
|
||||
- port: 1
|
||||
Reference in New Issue
Block a user