Move talks to scaleaway

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2025-09-04 21:10:29 +01:00
parent 87286c91d0
commit f4aac5f5e6
2 changed files with 3 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: talks namespace: talks
name: civo name: cluster-fun (v2)
source: source:
path: manifests/talks path: manifests/talks
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@@ -1,45 +1,3 @@
apiVersion: v1
kind: Service
metadata:
name: talks
namespace: talks
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: talks
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: talks
namespace: talks
spec:
replicas: 1
selector:
matchLabels:
app: talks
template:
metadata:
labels:
app: talks
spec:
containers:
- name: web
image: rg.fr-par.scw.cloud/averagemarcus/talks:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: web
resources:
limits:
memory: 20Mi
requests:
memory: 20Mi
---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
@@ -51,20 +9,12 @@ metadata:
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
ingress.kubernetes.io/ssl-redirect: "true" ingress.kubernetes.io/ssl-redirect: "true"
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
nginx.ingress.kubernetes.io/permanent-redirect: https://speaking.marcusnoble.co.uk
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- talks.marcusnoble.co.uk - talks.marcusnoble.co.uk
secretName: talks-ingress secretName: talks-ingress
rules: rules:
- host: talks.marcusnoble.co.uk - host: talks.marcusnoble.co.uk
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: talks
port:
number: 80