Skip to content

Commit cafb0be

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents e422abe + 6a4c0c5 commit cafb0be

31 files changed

+1896
-287
lines changed

docs/create/cloud/index-cloud.mdx

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,47 @@ sidebar_label: Redis Enterprise Cloud
55
slug: /create/cloud/
66
---
77

8-
## Create free cloud account
9-
1. Create your free <a href="https://redislabs.com/try-free/" target="_blank" rel="noopener">Redis Enterprise Cloud account</a>. Once you click on “Get Started”, you will receive an email with a link to activate your account and complete your signup process.
8+
### Step 1. Create free cloud account
9+
Create your free <a href="https://redislabs.com/try-free/" target="_blank" rel="noopener">Redis Enterprise Cloud account</a>. Once you click on “Get Started”, you will receive an email with a link to activate your account and complete your signup process.
1010

11-
## Add subscription
12-
2. Next, you will have to add Redis Enterprise Cloud Essentials subscription. In the Redis Enterprise Cloud menu, click Subscriptions. At the bottom of the page, click the “+” sign.
11+
### Step 2. Add subscription
12+
Next, you will have to add Redis Enterprise Cloud Essentials subscription. In the Redis Enterprise Cloud menu, click Subscriptions. At the bottom of the page, click the “+” sign.
1313

1414
![My Image](images/subscription.png)
1515

16-
## Select cloud provider
17-
3. For the cloud provider, select Amazon AWS
16+
### Step 3. Select cloud provider
17+
For the cloud provider, select Amazon AWS
1818

1919
![My Image](images/aws.png)
2020

21-
## Selection region
22-
4. For the region where you want to use the subscription, select ap-south-1. Please note that it’s currently available only in the AWS/Mumbai
21+
### Step 4. Selection region
22+
For the region where you want to use the subscription, select ap-south-1. Please note that it’s currently available only in the AWS/Mumbai
2323

2424
![My Image](images/region.png)
2525

26-
## Select free cloud plan
27-
5. In the Redis Enterprise Cloud service levels, select the Redis Cloud Essentials 30MB/1 Database level
26+
### Step 5. Select free cloud plan
27+
In the Redis Enterprise Cloud service levels, select the Redis Cloud Essentials 30MB/1 Database level
2828

2929
![My Image](images/plan.png)
3030

31-
## Create database
32-
6. Click Create. After you create a subscription, you can create a database:
31+
### Step 6. Create database
32+
Click Create. After you create a subscription, you can create a database:
3333

3434
![My Image](images/createdatabase.png)
3535

36-
## Add database details
37-
7. Enter a name for the database of your choice
36+
### Step 7. Add database details
37+
Enter a name for the database of your choice
3838

3939
![My Image](images/choosemodule.png)
4040

41-
## Launch database
42-
8. Click "Activate" and wait for few seconds till it gets activated. Once fully activated, you will see the database endpoints as shown below:
41+
### Step 8. Launch database
42+
Click "Activate" and wait for few seconds till it gets activated. Once fully activated, you will see the database endpoints as shown below:
4343

4444
![My Image](images/activate.png)
4545

4646

47+
### Next Step
48+
49+
- [Connecting to the database using RedisInsight](/explore/redisinsight/)
50+
- [How to list & search Movies database using Redisearch](/howtos/moviesdatabase/getting-started/)
51+

docs/create/docker/index-docker.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,7 @@ If persistence is enabled, data is stored in the VOLUME /data, which can be used
159159

160160
</Tabs>
161161

162+
### Next Step
163+
164+
- [Connect to Redis database using RedisInsight](/explore/redisinsight/)
165+
- [Connect to Redis database using Redis datasource for Grafana](/explore/redisdatasource/)

docs/create/from-source/index-from-source.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ slug: /create/from-source/
77

88

99

10-
## Step 1: Download, extract and compile Redis
10+
### Step 1: Download, extract and compile Redis
1111

1212
```
1313
wget http://download.redis.io/redis-stable.tar.gz
@@ -45,5 +45,8 @@ redis> get foo
4545

4646
Please note: By default, Redis has 0-15 indexes for databases, you can change that number databases NUMBER in redis.conf.
4747

48+
### Next Step
4849

49-
50+
- [Connect to Redis database using RedisInsight](/explore/redisinsight)
51+
- [Develop with Java and Redis](/develop/java)
52+
- [Develop with Python and Redis](/develop/python)

docs/create/kubernetes/index-kubernetes.mdx

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import RedisCard from '@site/src/theme/RedisCard';
1111

1212

1313

14-
### Pre-requisite
14+
### Step 1. Pre-requisite
1515

1616

1717
- A Linux system
@@ -21,7 +21,7 @@ import RedisCard from '@site/src/theme/RedisCard';
2121
- Initializing the cloud SDK by [gcloud init](https://cloud.google.com/sdk/docs/quickstart#initializing_the) link
2222

2323

24-
### Ensure that gcloud is installed on your local Linux system:
24+
### Step 2. Ensure that gcloud is installed on your local Linux system:
2525

2626
```
2727
$ gcloud -v
@@ -33,29 +33,29 @@ app-engine-python 1.9.91
3333
app-engine-python-extras 1.9.91
3434
```
3535

36-
### Create a 5 Node GKE cluster:
36+
### Step 3. Create a 5 Node GKE cluster:
3737

3838
```
3939
$ gcloud container clusters create testredis --subnetwork default --num-nodes 5 --machine-type e2-standard-8 --enable-basic-auth --region us-east1
4040
```
4141

4242

4343

44-
### Create a new namespace
44+
### Step 4. Create a new namespace
4545

4646
```
4747
[node1 kubelabs]$ kubectl create namespace demo
4848
namespace/demo created
4949
```
5050

51-
### Switch context to the newly created namespace
51+
### Step 5. Switch context to the newly created namespace
5252

5353
```
5454
$ kubectl config set-context --current --namespace=demo
5555
Context "kubernetes-admin@kubernetes" modified.
5656
```
5757

58-
### Deploy the operator bundle
58+
### Step 6. Deploy the operator bundle
5959

6060
To deploy the default installation with kubectl, the following command will deploy a bundle of all the yaml declarations required for the operator. You can download the bndle YAML file via [this](https://github.com/raw/RedisLabs/redis-enterprise-k8s-docs/master/bundle.yaml) link:
6161

@@ -71,7 +71,7 @@ deployment.apps/redis-enterprise-operator created
7171
customresourcedefinition.apiextensions.k8s.io/redisenterprisedatabases.app.redislabs.com created
7272
```
7373

74-
### Listing the deployment:
74+
### Step 7. Listing the deployment:
7575

7676
Run the below command to verify redis-enterprise-operator deployment is running.
7777

@@ -82,7 +82,7 @@ NAME READY UP-TO-DATE AVAILABLE AGE
8282
redis-enterprise-operator 1/1 1 1 9m34s
8383
```
8484

85-
### Create a Redis Enterprise Cluster
85+
### Step 8. Create a Redis Enterprise Cluster
8686

8787
Create a RedisEnterpriseCluster(REC) using the default configuration, which is suitable for development type deployments and works in typical scenarios:
8888

@@ -93,7 +93,7 @@ redisenterprisecluster.app.redislabs.com/redis-enterprise created
9393
```
9494

9595

96-
## Listing the RedisEnterpriseCluster
96+
### Step 9. Listing the RedisEnterpriseCluster
9797

9898
The rec is a shortcut for RedisEnterpriseCluster. The cluster takes around 5-10 minutes to come up.Run the below command to list the RedisEnterpriseCluster:
9999

@@ -104,7 +104,7 @@ redis-enterprise 14s
104104
[node1 redis-enterprise-k8s-docs]$
105105
```
106106

107-
### Listing kubernetes resources
107+
### Step 10. Listing kubernetes resources
108108

109109

110110

@@ -125,19 +125,30 @@ deployment.apps/redis-enterprise-operator 1/1 1 1
125125
deployment.apps/redis-enterprise-services-rigger 1/1 1 1 6m44s
126126
```
127127

128-
### Listing the secrets
128+
129+
You can verify the Pods and list of services over Google Cloud Dashboard UI:
130+
131+
![Redis Enterprise UI](re_kubernetes.png)
132+
133+
134+
### Step 11. Listing the secrets
129135

130136
```
131137
kubectl get secrets redis-enterprise -o yaml | grep password | awk '{print $2}'
132138
bXVLeHRpblY=
133139
```
134140

135-
### Listing the password
141+
### Step 12. Listing the password
136142

137143
```
138144
echo bXVLeHRpblY= | base64 -d
139145
```
140146

147+
141148
This command will display the password which you can use to access Redis Enterprise UI over the browser.
142149

150+
## Next Step
143151

152+
- [Redis Labs Kubernetes Architecture](https://docs.redislabs.com/latest/platforms/kubernetes/concepts/architecture/)
153+
- [Redis Enterprise Kubernetes Operator-based Architecture](https://docs.redislabs.com/latest/platforms/kubernetes/concepts/operator/)
154+
- [Sizing and Scaling a Redis Enterprise Cluster Deployment on Kubernetes](https://docs.redislabs.com/latest/platforms/kubernetes/concepts/sizing-on-kubernetes/)
134 KB
Loading

docs/develop/golang/index-golang.mdx

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,33 @@ Golang community has built many client libraries that you can find [here](https:
2525
]}>
2626
<TabItem value="redigo">
2727

28-
### Getting Started with redigo
2928

3029

3130
The `redigo` library is located in the `https://github.com/gomodule/redigo` that you must import in your application.
3231

3332

34-
1. Import the `redigo` module
33+
### Step 1. Import the `redigo` module
3534

36-
```bash
37-
go get github.com/gomodule/redigo/redis
38-
```
35+
```bash
36+
go get github.com/gomodule/redigo/redis
37+
```
3938

40-
```go
41-
import (
42-
"fmt"
43-
"context"
44-
"github.com/gomodule/redigo/redis"
45-
)
46-
```
39+
```go
40+
import (
41+
"fmt"
42+
"context"
43+
"github.com/gomodule/redigo/redis"
44+
)
45+
```
4746

48-
1. Create a connection pool
47+
### Step 2. Create a connection pool
4948

50-
```go
51-
func newPool() *redis.Pool {
52-
return &redis.Pool{
53-
MaxIdle: 80,
54-
MaxActive: 12000,
55-
Dial: func() (redis.Conn, error) {
49+
```go
50+
func newPool() *redis.Pool {
51+
return &redis.Pool{
52+
MaxIdle: 80,
53+
MaxActive: 12000,
54+
Dial: func() (redis.Conn, error) {
5655
c, err := redis.Dial("tcp", ":6379")
5756
if err != nil {
5857
panic(err.Error())
@@ -61,11 +60,11 @@ The `redigo` library is located in the `https://github.com/gomodule/redigo` that
6160
},
6261
}
6362
}
64-
```
63+
```
6564

66-
1. Write your application code
65+
### Step 3. Write your application code
6766

68-
```go
67+
```go
6968
package main
7069

7170
import (
@@ -124,10 +123,19 @@ The `redigo` library is located in the `https://github.com/gomodule/redigo` that
124123
},
125124
}
126125
}
127-
```
126+
```
128127

129128
Find more information about Golang & Redis connections in the "[Redis Connect](https://github.com/redis-developer/redis-connect/tree/master/golang/redigo)".
130129

131130

132131
</TabItem>
133132
</Tabs>
133+
134+
### Technical Articles & Whitepapers
135+
136+
**[Redis and Golang: Designed to Improve Performance
137+
](https://redislabs.com/docs/ultra-fast-recommendations-engine-using-redis-go/)**
138+
139+
**[A High Performance Recommendation Engine with Redis and Go](https://redislabs.com/blog/jedis-vs-lettuce-an-exploration/https://redislabs.com/blog/jedis-vs-lettuce-an-exploration/)**
140+
141+

0 commit comments

Comments
 (0)