try chatgpt provided chart for redis/keyDB
This commit is contained in:
12
redis/templates/NOTES.txt
Normal file
12
redis/templates/NOTES.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# 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
|
||||
Reference in New Issue
Block a user