moving things around
This commit is contained in:
@@ -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: /
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user