-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathkubernetes_individual_services.html
146 lines (120 loc) · 6.49 KB
/
kubernetes_individual_services.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<article class="docs-article" id="section-1">
<section class="docs-section" id="Kubernetes">
<div>
<h1 id="overview">Individual Service Deployment</h1>
<hr>
<p>Each service can be installed, updated, and uninstalled individually. To install the formsflow.ai application, please follow the below steps in order:</p>
<ol>
<li>Log in to your Kubernetes cluster using the command line interface.</li>
<li>Set environment variables</li>
<pre>
<code class="hljs">
export DOMAIN_NAME=apps.bronze.aot-technologies.com
export NAMESPACE=forms-flow
export DIRECTORY="formsflow" // Used for an install from the forsflow helm registry
export DIRECTORY=”../charts” // Used for local directory installation
</code>
</pre>
<li>Add or update the Forms Flow chart repository on to your local machine</li>
<pre>
<code class="hljs">
helm repo add formsflow https://aot-technologies.github.io/forms-flow-ai-charts
helm repo update formsflow
</code>
</pre>
<p>Or update each individual service</p>
<pre>
<code class="hljs">
helm dependency update $DIRECTORY/forms-flow-ai/
helm dependency update $DIRECTORY/forms-flow-analytics/
helm dependency update $DIRECTORY/forms-flow-forms/
helm dependency update $DIRECTORY/forms-flow-idm/
helm dependency update $DIRECTORY/forms-flow-admin/
helm dependency update $DIRECTORY/forms-flow-api/
helm dependency update $DIRECTORY/forms-flow-bpm/
helm dependency update $DIRECTORY/forms-flow-data-analysis/
helm dependency update $DIRECTORY/forms-flow-web/
helm dependency update $DIRECTORY/forms-flow-documents-api/
</code>
</pre>
<li>Install Forms Flow using Helm Charts</li>
<br>
<p>Sample Helm Install Command:</p>
<pre>
<code class="hljs">
helm install [RELEASE_NAME] formsflow/[COMPONENT_NAME] [flags]
</code>
</pre>
<p><em>See <a href="https://helm.sh/docs/helm/helm_install/">helm install</a> for command documentation.</em></p>
<pre>
<code class="hljs">
helm install forms-flow-ai formsflow/forms-flow-ai \
--set Domain=$DOMAIN_NAME \
--set forms-flow-idm.keycloak.ingress.hostname=forms-flow-idm-$NAMESPACE.$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-analytics formsflow/forms-flow-analytics \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-forms formsflow/forms-flow-forms \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-idm formsflow/forms-flow-idm \
--set Domain=$DOMAIN_NAME \
--set keycloak.ingress.hostname=forms-flow-idm-$NAMESPACE.$DOMAIN_NAME \
--namespace $NAMESPACE
# Optional Premium Admin Service:
helm install forms-flow-admin formsflow/forms-flow-admin \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-api formsflow/forms-flow-api \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-bpm formsflow/forms-flow-bpm \
--set Domain=$DOMAIN_NAME \
--set camunda.websocket.securityOrigin=https://*.$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-data-analysis formsflow/forms-flow-data-analysis \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-documents-api formsflow/forms-flow-documents-api \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
helm install forms-flow-web formsflow/forms-flow-web \
--set Domain=$DOMAIN_NAME \
--namespace $NAMESPACE
</code>
</pre>
<li>Uninstall Forms Flow</li>
<br>
<p>This removes all of the Kubernetes components associated with the chart and deletes the release.</p>
<p><em>NOTE: Persistent Volume Claims are not automatically deleted from Kubernetes.</em></p>
<p>Sample Helm Uninstall Command:</p>
<pre>
<code class="hljs">
helm uninstall [RELEASE_NAME] [flags]
</code>
</pre>
<p><em>See <a href="https://helm.sh/docs/helm/helm_uninstall/">helm uninstall</a> for command documentation.</em></p>
<pre>
<code class="hljs">
helm uninstall forms-flow-admin -n $NAMESPACE
helm uninstall forms-flow-ai -n $NAMESPACE
helm uninstall forms-flow-api -n $NAMESPACE
helm uninstall forms-flow-analytics -n $NAMESPACE
helm uninstall forms-flow-bpm -n $NAMESPACE
helm uninstall forms-flow-data-analysis -n $NAMESPACE
helm uninstall forms-flow-forms -n $NAMESPACE
helm uninstall forms-flow-idm -n $NAMESPACE
helm uninstall forms-flow-web -n $NAMESPACE
helm uninstall forms-flow-documents-api -n $NAMESPACE
</code>
</pre>
</ol>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/AOT-Technologies/helm-charts">helm-charts</a> is maintained by <a href="https://github.com/AOT-Technologies">AOT-Technologies</a>.</span>
</footer>
</main>
</div>
</section>
</article>
<script>hljs.initHighlighting();</script>