cleanup
This commit is contained in:
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[submodule "kube-prometheus"]
|
||||||
|
path = kube-prometheus
|
||||||
|
url = https://github.com/coreos/kube-prometheus.git
|
||||||
|
[submodule "cluster-monitoring"]
|
||||||
|
path = cluster-monitoring
|
||||||
|
url = https://github.com/carlosedp/cluster-monitoring.git
|
||||||
1
cluster-monitoring
Submodule
1
cluster-monitoring
Submodule
Submodule cluster-monitoring added at 40c9318d23
18
dashboard-adminuser.yaml
Normal file
18
dashboard-adminuser.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: admin-user
|
||||||
|
namespace: kubernetes-dashboard
|
||||||
|
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: admin-user
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: admin-user
|
||||||
|
namespace: kubernetes-dashboard
|
||||||
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