This commit is contained in:
parent
c3579c2f91
commit
f7fd030e23
3 changed files with 60 additions and 0 deletions
24
devops/deployment.yaml
Normal file
24
devops/deployment.yaml
Normal 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
19
devops/ingress.yaml
Normal 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
17
devops/service.yaml
Normal 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: {}
|
Loading…
Add table
Reference in a new issue