diff --git a/content/operate/kubernetes/logs/_index.md b/content/operate/kubernetes/logs/_index.md index 00ba60e2c6..f4dda2a69a 100644 --- a/content/operate/kubernetes/logs/_index.md +++ b/content/operate/kubernetes/logs/_index.md @@ -42,6 +42,6 @@ sideContainersSpec: Now the logs can be accessed from in the sidecar. For example by running -```kubectl exec -it -c busybox tail home/logs/supervisord.log``` +```kubectl exec -it -c busybox -- tail home/logs/supervisord.log``` The sidecar container is user determined and can be used to format, process and share logs in a specified format and protocol. diff --git a/content/operate/kubernetes/security/manage-rec-credentials.md b/content/operate/kubernetes/security/manage-rec-credentials.md index 71a8e692bd..c0e90108f1 100644 --- a/content/operate/kubernetes/security/manage-rec-credentials.md +++ b/content/operate/kubernetes/security/manage-rec-credentials.md @@ -45,7 +45,7 @@ The credentials can be used to access the Redis Enterprise admin console or the 1. Access a [pod](https://kubernetes.io/docs/concepts/workloads/pods/) running a Redis Enterprise cluster. ```sh -kubectl exec -it -0 bash +kubectl exec -it -0 -c redis-enterprise-node -- /bin/bash ``` 2. Add a new password for the existing user. @@ -79,7 +79,7 @@ kubectl apply -f - 5. Access a pod running a Redis Enterprise cluster again. ```sh -kubectl exec -it -0 bash +kubectl exec -it -0 -c redis-enterprise-node -- /bin/bash ``` 6. Remove the previous password to ensure only the new one applies.