Added pasarguard
This commit is contained in:
52
k8s/apps/pasarguard/deployment.yaml
Normal file
52
k8s/apps/pasarguard/deployment.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pasarguard
|
||||
labels:
|
||||
app: pasarguard
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pasarguard
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pasarguard
|
||||
spec:
|
||||
hostname: ps.hexor.cy
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||
containers:
|
||||
- name: pasarguard-web
|
||||
image: 'pasarguard/panel:v1.4.1'
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: pasarguard-secrets
|
||||
env:
|
||||
- name: UVICORN_HOST
|
||||
value: "0.0.0.0"
|
||||
- name: UVICORN_PORT
|
||||
value: "8000"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8000
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: pasarguard
|
||||
spec:
|
||||
selector:
|
||||
app: pasarguard
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8000
|
||||
Reference in New Issue
Block a user