Update errorlab app
This commit is contained in:
commit
5312335ca3
@ -1,10 +1,9 @@
|
|||||||
# ── Replica count ─────────────────────────────────────────────────────────────
|
# ── Replica count ─────────────────────────────────────────────────────────────
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
# ── Image ─────────────────────────────────────────────────────────────────────
|
# ── Image ─────────────────────────────────────────────────────────────────────
|
||||||
image:
|
image:
|
||||||
repository: errorlab # override with your registry, e.g. ghcr.io/dvirl/errorlab
|
repository: errorlab # override with your registry, e.g. ghcr.io/dvirl/errorlab
|
||||||
tag: latest
|
tag: master-5a3d738
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
@ -14,7 +13,6 @@ imagePullSecrets:
|
|||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
# ── Ingress ───────────────────────────────────────────────────────────────────
|
# ── Ingress ───────────────────────────────────────────────────────────────────
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -31,7 +29,6 @@ ingress:
|
|||||||
# - secretName: errorlab-tls
|
# - secretName: errorlab-tls
|
||||||
# hosts:
|
# hosts:
|
||||||
# - errorlab.lab
|
# - errorlab.lab
|
||||||
|
|
||||||
# ── Resources ─────────────────────────────────────────────────────────────────
|
# ── Resources ─────────────────────────────────────────────────────────────────
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@ -40,23 +37,19 @@ resources:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
|
|
||||||
# ── Pod settings ──────────────────────────────────────────────────────────────
|
# ── Pod settings ──────────────────────────────────────────────────────────────
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 101 # nginx user in nginx:alpine
|
runAsUser: 101 # nginx user in nginx:alpine
|
||||||
fsGroup: 101
|
fsGroup: 101
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: false # nginx needs to write to /var/cache/nginx
|
readOnlyRootFilesystem: false # nginx needs to write to /var/cache/nginx
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
# ── Probes ────────────────────────────────────────────────────────────────────
|
# ── Probes ────────────────────────────────────────────────────────────────────
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@ -64,25 +57,21 @@ livenessProbe:
|
|||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|
||||||
# ── Autoscaling (disabled by default for a static site) ───────────────────────
|
# ── Autoscaling (disabled by default for a static site) ───────────────────────
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: false
|
enabled: false
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 3
|
maxReplicas: 3
|
||||||
targetCPUUtilizationPercentage: 80
|
targetCPUUtilizationPercentage: 80
|
||||||
|
|
||||||
# ── Misc ──────────────────────────────────────────────────────────────────────
|
# ── Misc ──────────────────────────────────────────────────────────────────────
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user