mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-10-14 11:04:44 +02:00
「🏗️」 wip: should be working but pull limit is off for today
This commit is contained in:
21
p2/deploy/app3/app3-deployment.yml
Normal file
21
p2/deploy/app3/app3-deployment.yml
Normal file
@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: app3-deployment
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: app3
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: app3
|
||||
spec:
|
||||
containers:
|
||||
- name: app3
|
||||
image: traefik/whoami
|
||||
ports:
|
||||
- containerPort: 80
|
||||
command:
|
||||
- --port=80
|
||||
- --name=app-three
|
11
p2/deploy/app3/app3-service.yml
Normal file
11
p2/deploy/app3/app3-service.yml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: app3-service
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: app3
|
||||
ports:
|
||||
port: 80
|
||||
tragetPort: 80
|
Reference in New Issue
Block a user