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

View File

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

View File

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