Skip to content

Commit

Permalink
Update install-on-k8s.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktarStarastsenka authored Jan 22, 2024
1 parent 457e473 commit 72b9c98
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/install/install-redisinsight/install-on-k8s.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Title: Install RedisInsight on Kubernetes
date: 2024-01-15 10:00:00
date: 2024-01-30 10:00:00
weight: 40
categories: ["RI"]
path: install/install-redisinsight/install-on-k8s/
Expand Down Expand Up @@ -32,7 +32,7 @@ spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8001
targetPort: 5540
selector:
app: redisinsight
---
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- name: db #Pod volumes to mount into the container's filesystem. Cannot be updated.
mountPath: /db
ports:
- containerPort: 8001 #exposed container port and protocol
- containerPort: 5540 #exposed container port and protocol
protocol: TCP
volumes:
- name: db
Expand Down Expand Up @@ -121,7 +121,7 @@ spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8001
targetPort: 5540
selector:
app: redisinsight
---
Expand Down Expand Up @@ -184,7 +184,7 @@ spec:
- name: db #Pod volumes to mount into the container's filesystem. Cannot be updated.
mountPath: /db
ports:
- containerPort: 8001 #exposed container port and protocol
- containerPort: 5540 #exposed container port and protocol
protocol: TCP
```
Expand Down Expand Up @@ -230,17 +230,17 @@ spec:
- name: REDISINSIGHT_HOST
value: "0.0.0.0"
- name: REDISINSIGHT_PORT
value: "8001"
value: "5540"
volumeMounts:
- name: db #Pod volumes to mount into the container's filesystem. Cannot be updated.
mountPath: /db
ports:
- containerPort: 8001 #exposed conainer port and protocol
- containerPort: 5540 #exposed conainer port and protocol
protocol: TCP
livenessProbe:
httpGet:
path : /healthcheck/ # exposed RI endpoint for healthcheck
port: 8001 # exposed container port
port: 5540 # exposed container port
initialDelaySeconds: 5 # number of seconds to wait after the container starts to perform liveness probe
periodSeconds: 5 # period in seconds after which liveness probe is performed
failureThreshold: 1 # number of liveness probe failures after which container restarts
Expand All @@ -262,10 +262,10 @@ If the deployment will be exposed by a service whose name is 'redisinsight', set
3. Once the deployment has been successfully applied and the deployment complete, access RedisInsight. This can be accomplished by exposing the deployment as a K8s Service or by using port forwarding, as in the example below:

```sh
kubectl port-forward deployment/redisinsight 8001
kubectl port-forward deployment/redisinsight 5540
```

Open your browser and point to <http://localhost:8001>
Open your browser and point to <http://localhost:5540>

## Helm Chart (Experimental)

Expand Down Expand Up @@ -311,4 +311,4 @@ echo http://$NODE_IP:$NODE_PORT #Example: http://172.17.0.2:32388

```sh
helm uninstall redisinsight
```
```

0 comments on commit 72b9c98

Please sign in to comment.