@@ -5,7 +5,7 @@ For more informations about this template you can take a look in this github htt
5
5
ODM Informations
6
6
-----------------
7
7
8
- Username/Password :
8
+ Username/Password :
9
9
- For Business Console : rtsAdmin/rtsAdmin
10
10
- For RES : resAdmin/resAdmin
11
11
- For Decision Runner: resDeployer/resDeployer
@@ -15,63 +15,60 @@ Username/Password :
15
15
{{- if contains "NodePort" .Values.service.type }}
16
16
17
17
-- Decision Center / Business Console
18
- export NODE_PORT_DC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisioncenter)
18
+ * Decision Center / Business Console
19
+ export NODE_PORT_DC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "odm.decisioncenter.fullname" . }})
19
20
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
20
- * Decision Center / Business Console
21
21
echo http://$NODE_IP:$NODE_PORT_DC/decisioncenter
22
22
23
- * Team Server
23
+ * Team Server
24
24
echo http://$NODE_IP:$NODE_PORT_DC/teamserver
25
25
26
- -- Testing and Simulation
27
- export NODE_PORT_DR=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionrunner)
26
+ -- Testing and Simulation
27
+ export NODE_PORT_DR=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionrunner.fullname" . }} )
28
28
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
29
29
* Decision Runner
30
30
echo http://$NODE_IP:$NODE_PORT_DR/DecisionRunner
31
31
32
32
33
33
-- Decision Service Console (RES Console)
34
- export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionserverconsole)
34
+ export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionserverconsole.fullname" . }} )
35
35
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
36
36
* Decision Service Console (RES Console)
37
37
echo http://$NODE_IP:$NODE_PORT_DSC/res
38
38
39
39
40
40
-- Decision Service Runtime (Htds)
41
- export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionserverruntime)
41
+ export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionserverruntime.fullname" . }} )
42
42
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
43
43
* Decision Service Runtime
44
44
echo http://$NODE_IP:$NODE_PORT_DSC/DecisionService
45
45
46
46
47
47
{{- else if contains "LoadBalancer" .Values.service.type }}
48
48
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
49
-
49
+
50
50
-- Decision Center / Business Console
51
- export SERVICE_IP_DC=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisioncenter -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
51
+ export SERVICE_IP_DC=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisioncenter.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
52
52
* Decision Center / Business Console
53
53
echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/decisioncenter
54
54
55
- * Team Server
55
+ * Team Server
56
56
echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/teamserver
57
57
58
- -- Testing and Simulation
59
- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionrunner -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
58
+ -- Testing and Simulation
59
+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionrunner.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
60
60
echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionRunner
61
61
62
62
-- Decision Service Console (RES Console)
63
- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionserverconsole -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
63
+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionserverconsole.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
64
64
echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/res
65
65
66
66
-- Decision Service Runtime (Htds)
67
- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionserverruntime -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
67
+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionserverruntime.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
68
68
echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionServicde
69
69
70
70
{{- else if contains "ClusterIP" .Values.service.type }}
71
-
72
- -- Testing and Simulation
73
- TODO.
74
-
71
+ dddd
75
72
{{- end }}
76
73
77
74
@@ -81,4 +78,4 @@ Your release is named {{ .Release.Name }}.
81
78
To learn more about the release, try:
82
79
83
80
$ helm status {{ .Release.Name }}
84
- $ helm get {{ .Release.Name }}
81
+ $ helm get {{ .Release.Name }}
0 commit comments