Skip to content

Commit d0980f2

Browse files
committed
Review + small fixes, LGTM
1 parent 7effeee commit d0980f2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

k8s-deploy/neodash/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 1.0.0
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "2.4.8"
24+
appVersion: "2.4.9"

k8s-deploy/neodash/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ Following are the Kubernetes resources utilized for the NeoDash.
5858
- To install this helm chart run the following command,
5959

6060
```bash
61-
helm install ./neodash <release-name> -n <namespace-name>
61+
helm install <release-name> ./neodash -n <namespace-name>
6262
```
6363

6464
- To upgrade the release run the following command,
6565

6666
```bash
67-
helm upgrade ./neodash <release-name> -n <namespace-name>
67+
helm upgrade <release-name> ./neodash -n <namespace-name>
6868
```
6969

7070
- To uninstall the release run the following command,
@@ -74,3 +74,5 @@ Following are the Kubernetes resources utilized for the NeoDash.
7474
```
7575

7676
> **Note:** To use custom values files, pass `-f <path-to-values-file>.yaml` for the above command.
77+
> **Note:** To use custom values, pass `--set param=value` for the above command.
78+
For example, to install neodash and set the service type to NodePort, run: `helm install <release-name> ./neodash -n <namespace-name> --set service.type=NodePort`

k8s-deploy/neodash/templates/NOTES.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ The NeoDash application has been successfully deployed, here is the application
66
{{- end }}
77
{{- end }}
88
{{- else if contains "NodePort" .Values.service.type }}
9+
Run the following command to retrieve the IP address:
910
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "neodash.fullname" . }})
1011
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
1112
echo http://$NODE_IP:$NODE_PORT
1213
{{- else if contains "LoadBalancer" .Values.service.type }}
1314
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
14-
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "neodash.fullname" . }}'
15+
You can watch the status of the LoadBalancer by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "neodash.fullname" . }}'
16+
17+
Once available, run the following command to retrieve the IP address:
1518
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "neodash.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
1619
echo http://$SERVICE_IP:{{ .Values.service.port }}
1720
{{- else if contains "ClusterIP" .Values.service.type }}
21+
Run the following command to retrieve the IP address:
1822
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "neodash.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
1923
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
2024
echo "Visit http://127.0.0.1:8080 to use your application"

0 commit comments

Comments
 (0)