This commit is contained in:
Garrett Mills
2019-04-30 13:21:03 -05:00
commit c864e76a2d
8 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: default
namespace: cluster
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: default
namespace: cluster

View File

@@ -0,0 +1,31 @@
apiVersion: v1
image:
repository: glmdev/k8s-hpc-demo
tag: latest
# pullPolicy: Never
pullPolicy: IfNotPresent
networkPolicy:
enabled: false
sshGateway:
enabled: false
mpiMaster:
autoUpdateHostfile:
enabled: true
volumes:
- name: cache-volume
hostPath:
path: /
type: Directory
volumeMounts:
- mountPath: /clusterfs
name: cache-volume
mpiWorkers:
num: 5
volumes:
- name: cache-volume
hostPath:
path: /
type: Directory
volumeMounts:
- mountPath: /clusterfs
name: cache-volume

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: cluster
labels:
name: cluster