moving things around

This commit is contained in:
2026-07-03 13:27:31 -03:00
parent 5ff3589fc9
commit df4cf4ba77
4 changed files with 84 additions and 67 deletions

View File

@@ -31,6 +31,13 @@ spec:
exec docker-php-entrypoint apache2-foreground
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
volumeMounts:
- name: notepad-data
mountPath: /var/www/html/_tmp
@@ -79,7 +86,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: notepad.lab
- host: notepad.haven
http:
paths:
- path: /

View File

@@ -40,7 +40,7 @@ spec:
name: web-port
env:
- name: CRON
value: "*/2 * * * *"
value: "0 * * * *"
- name: RUN_ON_START
value: "true"
- name: LOG_LEVEL

View File

@@ -15,6 +15,16 @@ spec:
labels:
app: code-config
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- iris
containers:
- name: code-config
image: lscr.io/linuxserver/code-server:latest