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:
22
p2/deploy/app2/app2-deployment.yml
Normal file
22
p2/deploy/app2/app2-deployment.yml
Normal file
@ -0,0 +1,22 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: app2-deployment
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: app2
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: app2
|
||||
spec:
|
||||
containers:
|
||||
- name: app2
|
||||
image: traefik/whoami
|
||||
ports:
|
||||
- containerPort: 80
|
||||
command:
|
||||
- --port=80
|
||||
- --name=app-two
|
11
p2/deploy/app2/app2-service.yml
Normal file
11
p2/deploy/app2/app2-service.yml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: app2-service
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: app2
|
||||
ports:
|
||||
port: 80
|
||||
tragetPort: 80
|
Reference in New Issue
Block a user