automatic pvc is working
This commit is contained in:
+34
-12
@@ -13,21 +13,36 @@ kubernetes = {
|
||||
requests-cpu = "300m"
|
||||
requests-memory = "400Mi"
|
||||
}
|
||||
pvc = {
|
||||
first = {
|
||||
name = "onitama"
|
||||
pvc_size = "1Mi"
|
||||
mount_path = "/code"
|
||||
} }
|
||||
}
|
||||
|
||||
djangoterra = {
|
||||
enabled = false
|
||||
# image = "localhost:31795/django-python"
|
||||
image = "gitea.tryton.geeraert.eu/pi-ux-ce/django-python:1.0.0"
|
||||
# image = "nginx:latest"
|
||||
pvc_size = "10Mi"
|
||||
mount_path = "/code"
|
||||
service_port = 8000
|
||||
onitama = {
|
||||
enabled = true
|
||||
image = "ghcr.io/jackadamson/onitama:latest"
|
||||
service_port = 8080
|
||||
requirements = {
|
||||
limits-cpu = "200m"
|
||||
limits-memory = "200Mi"
|
||||
requests-cpu = "50m"
|
||||
requests-memory = "50Mi"
|
||||
limits-cpu = "50m"
|
||||
limits-memory = "50Mi"
|
||||
requests-cpu = "25m"
|
||||
requests-memory = "25Mi"
|
||||
}
|
||||
environment_variables = { PORT = 80 }
|
||||
pvc = {
|
||||
first = {
|
||||
name = "onitama"
|
||||
pvc_size = "1Mi"
|
||||
mount_path = "/code"
|
||||
}
|
||||
second = {
|
||||
name = "onitamadeux"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/deuxcode"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +72,13 @@ kubernetes = {
|
||||
# name = "NGINX_PORT" , value = "80"
|
||||
# name = "NGINX-second_PORT" , value = "81"
|
||||
# }
|
||||
pvc = {
|
||||
first = {
|
||||
name = "nginx"
|
||||
pvc_size = "1Mi"
|
||||
mount_path = "/code"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
redis = {
|
||||
|
||||
Reference in New Issue
Block a user