kubectl exec -it redis-master-<pod-id> redis-cli
I have below:
$ kubectl exec -it redis-master-78b48bc9df-kn5dd redis-clikubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.127.0.0.1:6379>
How can we have the same output as from your book?
Thanks.
In Chapter 3 of your book on ConfigMap:
kubectl exec -it redis-master-<pod-id> redis-cli
I have below:$ kubectl exec -it redis-master-78b48bc9df-kn5dd redis-cli
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
127.0.0.1:6379>
How can we have the same output as from your book? Thanks.