This commit is contained in:
Sense T 2024-02-22 16:36:42 +08:00
parent d03b2848bd
commit 2652ec12fd
6 changed files with 5 additions and 102 deletions

View File

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: guacamole
spec:
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: guacamole

View File

@ -1,33 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: guacamole
spec:
selector:
matchLabels:
app: guacamole
template:
metadata:
labels:
app: guacamole
spec:
containers:
- name: guacamole
image: guacamole/guacamole
resources:
limits:
cpu: '200m'
memory: '1024Mi'
env:
- name: GUACD_HOSTNAME
value: guacd
- name: GUACD_PORT
value: '4822'
- name: POSTGRES_HOSTNAME
value: postgresql.default
- name: POSTGRES_DATABASE
value: guacamole
- name: POSTGRES_USER
value: guacamole
- name: POSTGRES_PASSWORD
value: guacamole

View File

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: guacd
spec:
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
ports:
- port: 4822
protocol: TCP
targetPort: guacd
selector:
app: guacd

View File

@ -1,24 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: guacd
spec:
selector:
matchLabels:
app: guacd
template:
metadata:
labels:
app: guacd
spec:
containers:
- name: guacd
image: guacamole/guacd
resources:
limits:
cpu: 100m
memory: "32Mi"
ports:
- protocol: TCP
name: guacd
containerPort: 4822

View File

@ -1,13 +0,0 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
resources:
- guacd.yaml
- guacd-svc.yaml
- guacamole.yaml
- guacamole-svc.yaml
images:
- name: guacamole/guacamole
newTag: 1.4.0
- name: guacamole/guacd
newTag: 1.4.0
namespace: vintage-os

View File

@ -68,10 +68,10 @@ spec:
path: /data/transmission/downloads
containers:
- name: webdav
image: bytemark/webdav
image: dockerproxy.com/bytemark/webdav
resources:
limits:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
ports:
- containerPort: 80
@ -80,3 +80,6 @@ spec:
name: webdav
- secretRef:
name: webdav
volumeMounts:
- name: file
mountPath: /var/lib/dav/data