Skip to content

Commit cb7fa7e

Browse files
Add installation notes for eoAPI deployment
1 parent fea4720 commit cb7fa7e

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }}
2+
3+
Your eoAPI deployment is now being set up. This may take a few minutes.
4+
5+
{{- if .Values.ingress.enabled }}
6+
7+
You can access the services at:
8+
{{- if .Values.ingress.host }}
9+
Host: {{ .Values.ingress.host }}
10+
{{- else }}
11+
Get the host using:
12+
$ kubectl get ingress -n {{ .Release.Namespace }}
13+
{{- end }}
14+
15+
Available endpoints:
16+
{{- if has "stac" .Values.apiServices }}
17+
- STAC API: {{ if .Values.ingress.host }}https://{{ .Values.ingress.host }}{{ end }}/stac
18+
{{- end }}
19+
{{- if has "raster" .Values.apiServices }}
20+
- Raster API: {{ if .Values.ingress.host }}https://{{ .Values.ingress.host }}{{ end }}/raster
21+
{{- end }}
22+
{{- if has "vector" .Values.apiServices }}
23+
- Vector API: {{ if .Values.ingress.host }}https://{{ .Values.ingress.host }}{{ end }}/vector
24+
{{- end }}
25+
{{- if has "multidim" .Values.apiServices }}
26+
- MultiDim API: {{ if .Values.ingress.host }}https://{{ .Values.ingress.host }}{{ end }}/multidim
27+
{{- end }}
28+
{{- if .Values.browser.enabled }}
29+
- STAC Browser: {{ if .Values.ingress.host }}https://{{ .Values.ingress.host }}{{ end }}/browser
30+
{{- end }}
31+
32+
{{- else }}
33+
You have disabled the ingress. To access the services, you need to:
34+
1. Set up your own ingress controller, or
35+
2. Use port forwarding:
36+
37+
{{- if has "stac" .Values.apiServices }}
38+
$ kubectl port-forward -n {{ .Release.Namespace }} svc/stac 8080:{{ .Values.service.port }}
39+
{{- end }}
40+
{{- if has "raster" .Values.apiServices }}
41+
$ kubectl port-forward -n {{ .Release.Namespace }} svc/raster 8081:{{ .Values.service.port }}
42+
{{- end }}
43+
{{- if has "vector" .Values.apiServices }}
44+
$ kubectl port-forward -n {{ .Release.Namespace }} svc/vector 8082:{{ .Values.service.port }}
45+
{{- end }}
46+
{{- if has "multidim" .Values.apiServices }}
47+
$ kubectl port-forward -n {{ .Release.Namespace }} svc/multidim 8083:{{ .Values.service.port }}
48+
{{- end }}
49+
{{- end }}
50+
51+
To verify the deployment status:
52+
$ kubectl get pods -n {{ .Release.Namespace }}
53+
54+
For troubleshooting:
55+
$ kubectl describe pods -n {{ .Release.Namespace }}
56+
$ kubectl logs -n {{ .Release.Namespace }} -l app.kubernetes.io/name={{ .Chart.Name }}
57+
58+
Visit https://github.com/developmentseed/eoapi-k8s for more information.

0 commit comments

Comments
 (0)