File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
content/operate/kubernetes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ sideContainersSpec:
42
42
43
43
Now the logs can be accessed from in the sidecar. For example by running
44
44
45
- ` ` ` kubectl exec -it <pod-name> -c busybox tail home/logs/supervisord.log```
45
+ ` ` ` kubectl exec -it <pod-name> -c busybox -- tail home/logs/supervisord.log```
46
46
47
47
The sidecar container is user determined and can be used to format, process and share logs in a specified format and protocol.
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ The credentials can be used to access the Redis Enterprise admin console or the
45
45
1. Access a [pod](https://kubernetes.io/docs/concepts/workloads/pods/) running a Redis Enterprise cluster.
46
46
47
47
` ` ` sh
48
- kubectl exec -it < rec-resource-name> -0 bash
48
+ kubectl exec -it < rec-resource-name> -0 -c redis-enterprise-node -- /bin/ bash
49
49
` ` `
50
50
51
51
2. Add a new password for the existing user.
@@ -79,7 +79,7 @@ kubectl apply -f -
79
79
5. Access a pod running a Redis Enterprise cluster again.
80
80
81
81
` ` ` sh
82
- kubectl exec -it < rec-resource-name> -0 bash
82
+ kubectl exec -it < rec-resource-name> -0 -c redis-enterprise-node -- /bin/ bash
83
83
` ` `
84
84
85
85
6. Remove the previous password to ensure only the new one applies.
You can’t perform that action at this time.
0 commit comments