-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubevirt-web-ui.yaml
66 lines (65 loc) · 1.37 KB
/
kubevirt-web-ui.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app: kubevirt-web-ui
openshift.io/deployment-config.name: kubevirt-web-ui
name: kubevirt-web-ui
namespace: kubevirt-web-ui
spec:
replicas: 1
selector:
app: kubevirt-web-ui
deployment: kubevirt-web-ui
deploymentconfig: kubevirt-web-ui
template:
metadata:
labels:
app: kubevirt-web-ui
deployment: kubevirt-web-ui
deploymentconfig: kubevirt-web-ui
spec:
containers:
- image: quay.io/kubevirt/kubevirt-web-ui:latest
imagePullPolicy: IfNotPresent
name: kubevirt-web-ui
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
labels:
app: kubevirt-web-ui
name: kubevirt-web-ui
namespace: kubevirt-web-ui
spec:
ports:
- name: https
port: 9000
protocol: TCP
targetPort: 9000
selector:
deploymentconfig: kubevirt-web-ui
sessionAffinity: None
type: ClusterIP
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
labels:
app: kubevirt-web-ui
name: kubevirt-web-ui
namespace: kubevirt-web-ui
spec:
port:
targetPort: https
to:
kind: Service
name: kubevirt-web-ui
weight: 100
wildcardPolicy: None