mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 17:45:14 +01:00
More
This commit is contained in:
parent
1b8879c684
commit
4be274f187
12 changed files with 270 additions and 12 deletions
38
kube/apps/hugo-chat-frontend.yaml
Normal file
38
kube/apps/hugo-chat-frontend.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hugo-chat-frontend
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: hugo-chat-frontend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: hugo-chat-frontend
|
||||
spec:
|
||||
containers:
|
||||
- name: hugo-chat-frontend
|
||||
image: docker.nilstrieb.dev/hugo-chat-frontend:1.1
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http-web-svc
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 300M
|
||||
imagePullSecrets:
|
||||
- name: docker-nilstrieb-dev-login
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hugo-chat-frontend-service
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: hugo-chat-frontend
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
targetPort: http-web-svc
|
||||
Loading…
Add table
Add a link
Reference in a new issue