33 lines
786 B
YAML
33 lines
786 B
YAML
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 |