Initial Kozel's homelab infrastructure commit.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: metube
|
||||
namespace: others
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: metube
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: metube
|
||||
spec:
|
||||
containers:
|
||||
- name: metube
|
||||
image: ghcr.io/alexta69/metube:latest
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
env:
|
||||
- name: UID
|
||||
value: "1000"
|
||||
- name: GID
|
||||
value: "1000"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: metube
|
||||
namespace: others
|
||||
spec:
|
||||
selector:
|
||||
app: metube
|
||||
ports:
|
||||
- port: 8081
|
||||
targetPort: 8081
|
||||
Reference in New Issue
Block a user