Skip to content

Commit

Permalink
Updated README, removed kompose labels and unused volume claims
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Jul 5, 2023
1 parent ec83bc3 commit ada1e0b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The compose file will create the following named volumes:

## Configuring the Cluster

All config files in `slurm-cluster-chart/files` will be mounted into the container to configure their respective services on startup. The `authorized_keys` file contains authorised public keys for the user `rocky`, add your public key to access the cluster. Note that changes to these files will not be propagated to existing deployments (see Reconfiguring the Cluster).
All config files in `slurm-cluster-chart/files` will be mounted into the container to configure their respective services on startup. The `authorized_keys` file contains authorised public keys for the user `rocky`, add your public key to access the cluster. Note that changes to these files will not all be propagated to existing deployments (see "Reconfiguring the Cluster").
Additional parameters can be found in the `values.yaml` file, which will be applied on a Helm chart deployment. Note that some of these values, such as `encodedMungeKey` will also not propagate until the cluster is restarted (see Reconfiguring the Cluster).

## Deploying the Cluster
Expand Down
9 changes: 6 additions & 3 deletions slurm-cluster-chart/templates/mysql-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
name: mysql
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
spec:
containers:
- env:
Expand Down
6 changes: 4 additions & 2 deletions slurm-cluster-chart/templates/mysql-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
name: mysql
spec:
ports:
- name: "3306"
port: 3306
targetPort: 3306
selector:
io.kompose.service: mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
status:
loadBalancer: {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: var-lib-mysql
app.kubernetes.io/name: slurm
app.kubernetes.io/component: mysql
name: var-lib-mysql
spec:
accessModes:
Expand Down

0 comments on commit ada1e0b

Please sign in to comment.