k8s stuff
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 19s

This commit is contained in:
Mike 2025-01-03 10:55:44 -05:00
parent c3579c2f91
commit f7fd030e23
3 changed files with 60 additions and 0 deletions

24
devops/deployment.yaml Normal file
View file

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: frontend-mentor
name: frontend-mentor
spec:
replicas: 1
selector:
matchLabels:
app: frontend-mentor
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: frontend-mentor
spec:
containers:
- image: git.thecodedom.com/smig/frontendmentor:latest
name: frontendmentor
resources: {}
status: {}

19
devops/ingress.yaml Normal file
View file

@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
creationTimestamp: null
name: frontend-mentor
spec:
rules:
- host: frontend-mentor.thecodedom.com
http:
paths:
- backend:
service:
name: frontend-mentor
port:
number: 80
path: /
pathType: Prefix
status:
loadBalancer: {}

17
devops/service.yaml Normal file
View file

@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: frontend-mentor
name: frontend-mentor
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: frontend-mentor
type: ClusterIP
status:
loadBalancer: {}