mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-10-14 02:54:45 +02:00
「🏗️」 wip: finished the script for deployment
This commit is contained in:
23
p2/confs/app2/deployment.yml
Normal file
23
p2/confs/app2/deployment.yml
Normal file
@ -0,0 +1,23 @@
|
||||
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: ghcr.io/traefik/whoami:v1.11
|
||||
ports:
|
||||
- containerPort: 80
|
||||
command:
|
||||
- /whoami
|
||||
- --port=80
|
||||
- --name=app-two
|
Reference in New Issue
Block a user