Difference between revisions of "Redis-client"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
   [[kubectl run]] --namespace default [[redis-client]] --restart='Never'  [[--env]] REDIS_PASSWORD=$REDIS_PASSWORD  --image docker.io/bitnami/redis:7.0.5-debian-11-r0 --command -- sleep infinity
+
   [[kubectl run]] --namespace default [[redis-client]] --restart='Never'  [[--env]] REDIS_PASSWORD=$REDIS_PASSWORD  --image [[docker.io]]/bitnami/redis:7.0.5-debian-11-r0 --command -- sleep infinity
  
 
   Use the following command to attach to the pod:
 
   Use the following command to attach to the pod:
   [[kubectl exec]] --tty -i redis-client \
+
   [[kubectl exec]] [[--tty]] -i redis-client \
 
   --namespace default -- bash
 
   --namespace default -- bash
  
  
 +
== Related ==
 +
* <code>[[helm install redis]]</code>
 +
* <code>[[redis-cli]]</code>
  
 +
== See also ==
 +
* {{Redis}}
  
{{Redis}}
+
[[Category:Redis]]

Latest revision as of 07:39, 9 March 2023


  kubectl run --namespace default redis-client --restart='Never'  --env REDIS_PASSWORD=$REDIS_PASSWORD  --image docker.io/bitnami/redis:7.0.5-debian-11-r0 --command -- sleep infinity
  Use the following command to attach to the pod:
  kubectl exec --tty -i redis-client \
  --namespace default -- bash


Related[edit]

See also[edit]

Advertising: