Primer commit
This commit is contained in:
37
deployments/guacamole-deployment.yaml
Normal file
37
deployments/guacamole-deployment.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: guacamole
|
||||
namespace: guacamole
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: guacamole
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: guacamole
|
||||
spec:
|
||||
containers:
|
||||
- name: guacamole
|
||||
image: guacamole/guacamole
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
- name: MYSQL_HOSTNAME
|
||||
value: mysql
|
||||
- name: MYSQL_DATABASE
|
||||
value: guacamole_db
|
||||
- name: MYSQL_USER
|
||||
value: guacuser
|
||||
- name: MYSQL_PASSWORD
|
||||
value: guacpass
|
||||
- name: GUACD_HOSTNAME
|
||||
value: localhost
|
||||
- name: MYSQL_PORT
|
||||
value: "3306"
|
||||
- name: guacd
|
||||
image: guacamole/guacd
|
||||
ports:
|
||||
- containerPort: 4822
|
Reference in New Issue
Block a user