Compare commits
87 Commits
cf3a9b9aba
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a34d6d4dc | |||
| 75d1d522a3 | |||
| 04de7d9573 | |||
| 96331a3569 | |||
| c30ff337ee | |||
| 96633d19d6 | |||
| 206adbb7f2 | |||
| 1d29241e3c | |||
| 6c42c98bd1 | |||
| dd489762e1 | |||
| 0a0fc2dc6b | |||
| 438db7a471 | |||
| bb950e67e7 | |||
| e13342b7a5 | |||
|
733a63ae27
|
|||
| 7f21c584a4 | |||
| 6c1d4fb5b8 | |||
| e5cb2f35e3 | |||
| e66c5d2147 | |||
|
a4fc0f1b3f
|
|||
|
a496c0cd8e
|
|||
| db27aa023b | |||
| 86f2336eeb | |||
| c207c43567 | |||
| 2c6bee2e66 | |||
| 4823517675 | |||
| a679a48644 | |||
| 7ec4cd1482 | |||
| debcbd8df5 | |||
| 839d4f065d | |||
| 1123f0e6fa | |||
|
ead9ed20e8
|
|||
|
2732a24201
|
|||
|
ce6b933f10
|
|||
|
2cde93b2df
|
|||
|
d08c78b37b
|
|||
| 81d1399b76 | |||
| 6a9f40991a | |||
| 7d994aa814 | |||
| 27c66258d7 | |||
| 73d50c3c13 | |||
| 78f4de4a72 | |||
| 419af24e48 | |||
| efa33903f3 | |||
| 62ba08f06a | |||
| 97c353a1e3 | |||
| 0d5c12bcf5 | |||
| e513089d8c | |||
| 6a8cd6953a | |||
| 41083dfc7a | |||
| ba756c370a | |||
| cce26dc206 | |||
| a3ffc6d395 | |||
| 12e5172c3e | |||
| b1cbe9770e | |||
| c4a1654f75 | |||
| 0c6c45584f | |||
| 1de710badb | |||
| 56f4c82c59 | |||
| 40f624d7f6 | |||
| e0d4d327e8 | |||
| ea82e9a1ae | |||
| c44545acee | |||
| 531e74e56d | |||
| 7b0e2240a3 | |||
| 497cf9c279 | |||
| 56395b7e2d | |||
| 6e5d298daf | |||
| c172fb8f06 | |||
| 5512f4b5cb | |||
| 45ef9d99af | |||
| 51f5250a51 | |||
| f3331b7c36 | |||
| 359809ec3e | |||
| 5d317815a6 | |||
| 3060651f33 | |||
| 1267aee558 | |||
| c4deb4530c | |||
| 8071aaf13c | |||
| b3507ddbb4 | |||
| bfcddd7a76 | |||
| b3aa166e16 | |||
| 2bc0b9f4df | |||
| b6b5027601 | |||
|
c22d5d3428
|
|||
| 6c34c4ca9e | |||
| d32d64d78e |
26
manifests/_apps/homelab-accesible-check.yaml
Normal file
26
manifests/_apps/homelab-accesible-check.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: cluster-fun-homelab-accessible-check
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: cluster.fun
|
||||
destination:
|
||||
namespace: homelab-accessible-check
|
||||
name: cluster-fun (v2)
|
||||
source:
|
||||
path: manifests/homelab-accessible-check
|
||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
jsonPointers:
|
||||
- /data
|
||||
|
||||
---
|
||||
25
manifests/_apps/url-to-grist.yaml
Normal file
25
manifests/_apps/url-to-grist.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: url-to-grist
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: cluster.fun
|
||||
destination:
|
||||
namespace: cloudnative-now
|
||||
name: cluster-fun (v2)
|
||||
source:
|
||||
path: manifests/url-to-grist
|
||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
automated: {}
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
jsonPointers:
|
||||
- /data
|
||||
---
|
||||
@@ -68,7 +68,7 @@ spec:
|
||||
mountPath: /config/
|
||||
|
||||
- name: oauth-proxy
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||
args:
|
||||
- --cookie-secure=false
|
||||
- --provider=oidc
|
||||
|
||||
@@ -81,7 +81,7 @@ spec:
|
||||
secretKeyRef:
|
||||
key: password
|
||||
name: dashboard-auth
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||
name: oauth-proxy
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
||||
@@ -43,7 +43,7 @@ spec:
|
||||
priorityClassName: critical
|
||||
containers:
|
||||
- name: git
|
||||
image: gitea/gitea:1.24.6
|
||||
image: gitea/gitea:1.25.2
|
||||
env:
|
||||
- name: APP_NAME
|
||||
value: "Git"
|
||||
|
||||
@@ -64,6 +64,8 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grist
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@@ -73,7 +75,7 @@ spec:
|
||||
priorityClassName: critical
|
||||
containers:
|
||||
- name: grist
|
||||
image: gristlabs/grist-oss:1.7.3
|
||||
image: gristlabs/grist-oss:1.7.8
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: docker-config
|
||||
namespace: homelab-accessible-check
|
||||
annotations:
|
||||
kube-1password: i6ngbk5zf4k52xgwdwnfup5bby
|
||||
kube-1password/vault: Kubernetes
|
||||
kube-1password/secret-text-key: .dockerconfigjson
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
data:
|
||||
.dockerconfigjson: e30=
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: homelab-accessible-check
|
||||
namespace: homelab-accessible-check
|
||||
annotations:
|
||||
kube-1password: bz6ujxc5neqma242lpfqdxfiay
|
||||
kube-1password/vault: Kubernetes
|
||||
kube-1password/secret-text-parse: "true"
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: homelab-accessible-check
|
||||
namespace: homelab-accessible-check
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: homelab-accessible-check
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: homelab-accessible-check
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: docker-config
|
||||
containers:
|
||||
- name: checker
|
||||
image: rg.fr-par.scw.cloud/averagemarcus-private/homelab-accessible-check:latest
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: "homelab-accessible-check"
|
||||
resources:
|
||||
limits:
|
||||
memory: 50Mi
|
||||
requests:
|
||||
memory: 50Mi
|
||||
@@ -35,6 +35,8 @@ data:
|
||||
cnsmunich-feedback: https://yay-or-nay.cluster.fun/feedback/20UETBI0
|
||||
containerdays25: https://speaking.marcusnoble.co.uk/HARSlE/the-future-of-kubernetes-admission-logic
|
||||
containerdays25-feedback: https://yay-or-nay.cluster.fun/feedback/F8P351QK
|
||||
cdl-2026: https://speaking.marcusnoble.co.uk/lMcEwR/pod-deep-dive-the-interesting-bits
|
||||
cdl-2026-feedback: https://yay-or-nay.cluster.fun/feedback/EMLARINI
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
priorityClassName: critical
|
||||
containers:
|
||||
- name: frontend
|
||||
image: ghcr.io/mealie-recipes/mealie:v3.3.0
|
||||
image: ghcr.io/mealie-recipes/mealie:v3.6.1
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
||||
@@ -38,7 +38,7 @@ spec:
|
||||
operator: "Exists"
|
||||
automountServiceAccountToken: false
|
||||
containers:
|
||||
- image: ghcr.io/google/cadvisor:v0.53.0
|
||||
- image: ghcr.io/google/cadvisor:0.54.1
|
||||
name: cadvisor
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
||||
@@ -55,7 +55,7 @@ spec:
|
||||
serviceAccountName: prometheus-node-exporter
|
||||
containers:
|
||||
- name: prometheus-node-exporter
|
||||
image: "prom/node-exporter:v1.9.1"
|
||||
image: "prom/node-exporter:v1.10.2"
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
args:
|
||||
- --path.procfs=/host/proc
|
||||
|
||||
@@ -216,7 +216,7 @@ spec:
|
||||
serviceAccountName: promtail
|
||||
containers:
|
||||
- name: promtail
|
||||
image: "grafana/promtail:2.9.15"
|
||||
image: "grafana/promtail:2.9.17"
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "-config.file=/etc/promtail/promtail.yaml"
|
||||
|
||||
@@ -217,7 +217,7 @@ spec:
|
||||
serviceAccountName: prometheus-server
|
||||
containers:
|
||||
- name: vmagent
|
||||
image: "victoriametrics/vmagent:v1.126.0"
|
||||
image: "victoriametrics/vmagent:v1.131.0"
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
args:
|
||||
- -remoteWrite.url=http://vmcluster.auth-proxy.svc/insert/0/prometheus/
|
||||
|
||||
@@ -56,7 +56,9 @@ data:
|
||||
general.config.php: |-
|
||||
<?php
|
||||
$CONFIG = array (
|
||||
'overwriteprotocol' => 'https'
|
||||
'overwriteprotocol' => 'https',
|
||||
'loglevel' => 1,
|
||||
'log_rotate_size' => 100 * 1024 * 1024
|
||||
);
|
||||
.htaccess: |-
|
||||
# line below if for Apache 2.4
|
||||
@@ -204,7 +206,7 @@ spec:
|
||||
priorityClassName: critical
|
||||
containers:
|
||||
- name: nextcloud
|
||||
image: "nextcloud:32.0.0-apache"
|
||||
image: "nextcloud:32.0.2-apache"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: SQLITE_DATABASE
|
||||
@@ -337,6 +339,97 @@ spec:
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/smtp.config.php
|
||||
subPath: smtp.config.php
|
||||
- name: cron
|
||||
image: "nextcloud:32.0.2-apache"
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- /cron.sh
|
||||
env:
|
||||
- name: SQLITE_DATABASE
|
||||
value: "nextcloud"
|
||||
- name: NEXTCLOUD_ADMIN_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud
|
||||
key: nextcloud-username
|
||||
- name: NEXTCLOUD_ADMIN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud
|
||||
key: nextcloud-password
|
||||
- name: NEXTCLOUD_TRUSTED_DOMAINS
|
||||
value: nextcloud.cluster.fun
|
||||
- name: NEXTCLOUD_DATA_DIR
|
||||
value: "/var/www/html/data"
|
||||
- name: REDIS_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud-redis
|
||||
key: redis-host
|
||||
- name: REDIS_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud-redis
|
||||
key: redis-port
|
||||
- name: REDIS_HOST_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud-redis
|
||||
key: redis-password
|
||||
- name: REDIS_DB_INDEX
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nextcloud-nextcloud-redis
|
||||
key: redis-db-index
|
||||
volumeMounts:
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/
|
||||
subPath: root
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/html
|
||||
subPath: html
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/html/data
|
||||
subPath: data
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/html/config
|
||||
subPath: config
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/html/custom_apps
|
||||
subPath: custom_apps
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/tmp
|
||||
subPath: tmp
|
||||
- name: nextcloud-data
|
||||
mountPath: /var/www/html/themes
|
||||
subPath: themes
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/general.config.php
|
||||
subPath: general.config.php
|
||||
- name: nextcloud-s3
|
||||
mountPath: /var/www/html/config/s3.config.php
|
||||
subPath: s3.config.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/.htaccess
|
||||
subPath: .htaccess
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/apache-pretty-urls.config.php
|
||||
subPath: apache-pretty-urls.config.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/apcu.config.php
|
||||
subPath: apcu.config.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/apps.config.php
|
||||
subPath: apps.config.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/autoconfig.php
|
||||
subPath: autoconfig.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/redis.config.php
|
||||
subPath: redis.config.php
|
||||
- name: nextcloud-config
|
||||
mountPath: /var/www/html/config/smtp.config.php
|
||||
subPath: smtp.config.php
|
||||
volumes:
|
||||
- name: nextcloud-data
|
||||
persistentVolumeClaim:
|
||||
@@ -351,45 +444,6 @@ spec:
|
||||
securityContext:
|
||||
fsGroup: 33
|
||||
---
|
||||
# Source: nextcloud/templates/cronjob.yaml
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: nextcloud-nextcloud-cron
|
||||
labels:
|
||||
app.kubernetes.io/name: nextcloud
|
||||
app.kubernetes.io/instance: nextcloud-nextcloud
|
||||
annotations:
|
||||
{}
|
||||
spec:
|
||||
schedule: "*/5 * * * *"
|
||||
concurrencyPolicy: Forbid
|
||||
failedJobsHistoryLimit: 5
|
||||
successfulJobsHistoryLimit: 2
|
||||
jobTemplate:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: nextcloud
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: nextcloud
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: nextcloud
|
||||
image: "nextcloud:32.0.0-apache"
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: [ "curl" ]
|
||||
args:
|
||||
- "--fail"
|
||||
- "-L"
|
||||
- "https://nextcloud.cluster.fun/cron.php"
|
||||
resources:
|
||||
requests:
|
||||
memory: 200Mi
|
||||
---
|
||||
# Source: nextcloud/templates/ingress.yaml
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
|
||||
@@ -492,7 +492,7 @@ spec:
|
||||
fieldPath: metadata.namespace
|
||||
- name: LD_PRELOAD
|
||||
value: /usr/local/lib/libmimalloc.so
|
||||
image: registry.k8s.io/ingress-nginx/controller:v1.13.3@sha256:1b044f6dcac3afbb59e05d98463f1dec6f3d3fb99940bc12ca5d80270358e3bd
|
||||
image: registry.k8s.io/ingress-nginx/controller:v1.14.1@sha256:f95a79b85fb93ac3de752c71a5c27d5ceae10a18b61904dec224c1c6a4581e47
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
|
||||
@@ -57,7 +57,7 @@ spec:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
- name: update-native-modules
|
||||
image: nodered/node-red:4.1.0-18
|
||||
image: nodered/node-red:4.1.2-18
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- bash
|
||||
@@ -73,7 +73,7 @@ spec:
|
||||
mountPath: /data
|
||||
containers:
|
||||
- name: web
|
||||
image: nodered/node-red:4.1.0-18
|
||||
image: nodered/node-red:4.1.2-18
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 1880
|
||||
|
||||
@@ -46,7 +46,7 @@ spec:
|
||||
priorityClassName: critical
|
||||
containers:
|
||||
- name: outline
|
||||
image: outlinewiki/outline:0.87.4
|
||||
image: outlinewiki/outline:1.1.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: ALLOWED_DOMAINS
|
||||
|
||||
@@ -68,7 +68,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: ghcr.io/miniflux/miniflux:2.2.13
|
||||
image: ghcr.io/miniflux/miniflux:2.2.14
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
|
||||
@@ -92,7 +92,7 @@ spec:
|
||||
secretKeyRef:
|
||||
key: password
|
||||
name: social-to-rolodex-auth
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||
name: oauth-proxy
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
||||
@@ -45,7 +45,7 @@ spec:
|
||||
- --entrypoints.websecure.http.tls=true
|
||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||
image: rancher/mirrored-library-traefik:2.11.29
|
||||
image: rancher/mirrored-library-traefik:2.11.31
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
|
||||
117
manifests/url-to-grist/url-to-grist.yaml
Normal file
117
manifests/url-to-grist/url-to-grist.yaml
Normal file
@@ -0,0 +1,117 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: url-to-grist
|
||||
namespace: cloudnative-now
|
||||
annotations:
|
||||
kube-1password: bu4lczquzosu3yxhyrzbtepply
|
||||
kube-1password/vault: Kubernetes
|
||||
kube-1password/secret-text-parse: "true"
|
||||
labels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: url-to-grist
|
||||
labels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: web
|
||||
name: web
|
||||
selector:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: url-to-grist
|
||||
labels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
annotations:
|
||||
secret.reloader.stakater.com/reload: "url-to-grist"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
spec:
|
||||
containers:
|
||||
- name: url-to-grist
|
||||
image: ghcr.io/namelessplanet/url-to-grist:v1.5.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: PORT
|
||||
value: "8080"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: "url-to-grist"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: web
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: web
|
||||
path: /healthz
|
||||
initialDelaySeconds: 1
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
port: web
|
||||
path: /healthz
|
||||
initialDelaySeconds: 1
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
limits:
|
||||
memory: 20Mi
|
||||
requests:
|
||||
memory: 20Mi
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: url-to-grist
|
||||
namespace: cloudnative-now
|
||||
labels:
|
||||
app.kubernetes.io/name: url-to-grist
|
||||
app.kubernetes.io/part-of: cloudnative.now
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- "url-to-grist.cloudnative.now"
|
||||
secretName: "url-to-grist-ingress"
|
||||
rules:
|
||||
- host: "url-to-grist.cloudnative.now"
|
||||
http:
|
||||
paths:
|
||||
- path: "/"
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: url-to-grist
|
||||
port:
|
||||
name: web
|
||||
@@ -17,7 +17,7 @@ metadata:
|
||||
app: yay-or-nay
|
||||
app.kubernetes.io/name: yay-or-nay
|
||||
annotations:
|
||||
reloader.stakater.com/search: "true"
|
||||
secret.reloader.stakater.com/reload: "yay-or-nay"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user