Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit f7effaa

Browse files
committed
Local volumes values and readme
1 parent 76d561e commit f7effaa

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ assets
55

66
tmp/
77
# values.yaml
8-
values.yaml
8+
/values.yaml
99

1010
# decrypted files
1111
**/*-dec.*

local-volumes/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Local Volumes helm chart
2+
Creates Loval volumes and pvcs, makes directories on the nodes
3+
4+
Copy from template and edit values.yaml
5+
Set
6+
```
7+
cp values.yaml.tmpl values.yaml
8+
vi values.yaml
9+
10+
./create-local-pvcs.sh
11+
```

local-volumes/values.yaml.tmpl

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
namePrefix: cf-
2+
basePath: /var/lib/codefresh
3+
4+
# Enter default nodeSelector for volumes nodeAffinity - see https://kubernetes.io/docs/concepts/storage/volumes/#local
5+
defaultNodeSelector:
6+
# kubernetes.io/hostname: storage-node-01
7+
8+
# Enter nodes where to run mkdirs for all the volumes
9+
mkdirPods:
10+
nodes:
11+
# - storage-node-01
12+
13+
volumes:
14+
mongodb:
15+
storageSize: 8Gi
16+
nodeSelector: {}
17+
18+
postgresql:
19+
storageSize: 8Gi
20+
nodeSelector: {}
21+
22+
consul-0:
23+
storageSize: 1Gi
24+
nodeSelector: {}
25+
26+
redis:
27+
storageSize: 8Gi
28+
nodeSelector: {}
29+
30+
rabbitmq:
31+
storageSize: 8Gi
32+
nodeSelector: {}
33+
34+
registry:
35+
storageSize: 100Gi
36+
nodeSelector: {}
37+
38+
cronus:
39+
storageSize: 1Gi
40+
nodeSelector: {}
41+
42+
store:
43+
storageSize: 8Gi
44+
nodeSelector: {}
45+
46+
builder-0:
47+
storageSize: 100Gi
48+
nodeSelector: {}
49+
50+
runner-0:
51+
storageSize: 100Gi
52+
nodeSelector: {}

0 commit comments

Comments
 (0)