ansible-role-k8s-storage/files/longhorn/longhorn-ui-Deployment.yaml
Adrien 8ddacfec51
All checks were successful
continuous-integration/drone/push Build is passing
Add longhorn
2020-08-08 00:06:28 +02:00

31 lines
656 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: longhorn-ui
name: longhorn-ui
namespace: longhorn-system
spec:
replicas: 1
selector:
matchLabels:
app: longhorn-ui
template:
metadata:
labels:
app: longhorn-ui
spec:
containers:
- name: longhorn-ui
image: longhornio/longhorn-ui:v1.0.1
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
ports:
- containerPort: 8000
name: http
env:
- name: LONGHORN_MANAGER_IP
value: "http://longhorn-backend:9500"
# imagePullSecrets:
# - name: