Connect to an In-Memory DB Instance from the Kubernetes Cluster
Last updated
Was this helpful?
Was this helpful?
# pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: connectivity-test
labels:
role: connectivity-test
spec:
containers:
- name: connectivity-test
image: redis
stdin: true
tty: true
command:
- "/bin/bash"kubectl attach -it connectivity-test
redis-cli --tls --cacert --user <USERNAME> --pass <PASSWORD> -h <DNS_NAME> PING