13 lines
671 B
Plaintext
13 lines
671 B
Plaintext
# -----------------------------------------------------------------------------
|
|
# templates/NOTES.txt
|
|
# -----------------------------------------------------------------------------
|
|
{{""}}
|
|
1. Get the application URL by running these commands:
|
|
export POD0=$(kubectl get pods -l app={{ include "keydb-custom.name" . }} -o jsonpath="{.items[0].metadata.name}")
|
|
kubectl logs $POD0
|
|
|
|
2. To connect via keydb-cli from a pod:
|
|
kubectl run -it --rm --image=eqalpha/keydb --restart=Never keydb-client -- /bin/sh
|
|
# inside the pod:
|
|
keydb-cli -h {{ include "keydb-custom.fullname" . }}-0.{{ include "keydb-custom.fullname" . }}-headless -a "{{ .Values.auth.password }}" PING
|