88 lines
1.8 KiB
YAML
88 lines
1.8 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: harbor.freshbrewed.science/library/dadjokeapp
|
|
pullPolicy: IfNotPresent
|
|
tag: ""
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: false
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
runAsGroup: 65532
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 80
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Cloudflare Quick Tunnel Sidecar Configuration (Ephemeral *.trycloudflare.com)
|
|
# ----------------------------------------------------------------------------
|
|
cloudflared:
|
|
enabled: true
|
|
image:
|
|
repository: cloudflare/cloudflared
|
|
tag: "latest"
|
|
pullPolicy: IfNotPresent
|
|
# Target URL to tunnel to. Defaults to http://localhost:<service.targetPort> (80)
|
|
url: ""
|
|
loglevel: info
|
|
metricsPort: 2000
|
|
# Optional additional arguments to pass to `cloudflared tunnel`
|
|
extraArgs: []
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
|
|
env:
|
|
OLLAMA_HOST: "http://harbor.freshbrewed.science:11444"
|
|
OLLAMA_MODEL: "gemma4:e4b"
|
|
JOKE_PROMPT: "tell me a dad joke about programming"
|
|
PORT: "80"
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "60"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "60"
|
|
hosts:
|
|
- host: dadjoke.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|