guacamole

This commit is contained in:
Sense T 2022-10-19 03:50:55 +00:00
parent ffef0a5d92
commit 201a1746e0
5 changed files with 100 additions and 0 deletions

View File

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

33
guacamole/guacamole.yaml Normal file
View File

@ -0,0 +1,33 @@
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: '1'
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

15
guacamole/guacd-svc.yaml Normal file
View File

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

24
guacamole/guacd.yaml Normal file
View File

@ -0,0 +1,24 @@
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: 200m
memory: '512Mi'
ports:
- protocol: TCP
name: guacd
containerPort: 4822

View File

@ -0,0 +1,13 @@
# 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