This commit is contained in:
nora 2023-02-07 17:42:54 +01:00
parent 6274818d1f
commit f76aac3b59
5 changed files with 59 additions and 1 deletions

View file

@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: docker-nilstrieb-dev-login
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: <fill me>

View file

@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hugo-chat-frontend
spec:
replicas: 1
selector:
matchLabels:
app: hugo-chat-frontend
template:
metadata:
labels:
app: hugo-chat-frontend
spec:
containers:
- name: hugo-chat-frontend
image: docker.nilstrieb.dev/hugo-chat-frontend:1.1
ports:
- containerPort: 80
resources:
limits:
cpu: 200m
memory: 300M
imagePullSecrets:
- name: docker-nilstrieb-dev-login

View file

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: hugo-chat-frontend-service
spec:
selector:
name: hugo-chat-frontend
ports:
- protocol: TCP
port: 80
targetPort: 80

View file

@ -1 +0,0 @@
apiVersion: v1

16
kube/ubuntu-debugger.yaml Normal file
View file

@ -0,0 +1,16 @@
apiVersion: v1
kind: Pod
metadata:
name: ubuntu-debugger
labels:
name: ubuntu-debugger
spec:
containers:
- name: ubuntu-debugger
image: docker.io/ubuntu:latest
resources:
limits:
memory: "128Mi"
cpu: "500m"
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]