Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
eb271e0c
Commit
eb271e0c
authored
Aug 03, 2015
by
Kyle Mathews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy and typo fixes
parent
4c5763f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
examples/rethinkdb/README.md
+5
-5
No files found.
examples/rethinkdb/README.md
View file @
eb271e0c
...
@@ -45,7 +45,7 @@ Quick start
...
@@ -45,7 +45,7 @@ Quick start
**Step 1**
**Step 1**
Rethinkdb will discover peer using endpoints provided by kubernetes service,
Rethinkdb will discover
its
peer using endpoints provided by kubernetes service,
so first create a service so the following pod can query its endpoint
so first create a service so the following pod can query its endpoint
```
sh
```
sh
...
@@ -63,7 +63,7 @@ rethinkdb-driver db=influxdb db=rethinkdb 10.0.27.114 28015/TCP
...
@@ -63,7 +63,7 @@ rethinkdb-driver db=influxdb db=rethinkdb 10.0.27.114 28015/TCP
**Step 2**
**Step 2**
start
fist server in
cluster
start
the first server in the
cluster
```
sh
```
sh
$kubectl
create
-f
examples/rethinkdb/rc.yaml
$kubectl
create
-f
examples/rethinkdb/rc.yaml
...
@@ -88,7 +88,7 @@ rethinkdb-rc-r4tb0 1/1 Running 0
...
@@ -88,7 +88,7 @@ rethinkdb-rc-r4tb0 1/1 Running 0
Scale
Scale
-----
-----
You can scale up you
cluster using
`kubectl scale`
, and new pod will join to exsits
cluster automatically, for example
You can scale up you
r cluster using
`kubectl scale`
. The new pod will join to the existing
cluster automatically, for example
```sh
```sh
...
@@ -124,13 +124,13 @@ rethinkdb-admin db=influxdb db=rethinkdb,role=admin 10.0.131.19 8080
...
@@ -124,13 +124,13 @@ rethinkdb-admin db=influxdb db=rethinkdb,role=admin 10.0.131.19 8080
rethinkdb-driver
db
=
influxdb
db
=
rethinkdb 10.0.27.114 28015/TCP
rethinkdb-driver
db
=
influxdb
db
=
rethinkdb 10.0.27.114 28015/TCP
```
```
We request
for
an external load balancer in the
[
admin-service.yaml
](
admin-service.yaml
)
file:
We request an external load balancer in the
[
admin-service.yaml
](
admin-service.yaml
)
file:
```
```
type: LoadBalancer
type: LoadBalancer
```
```
The external load balancer allows us to access the service from outside
via an external IP, which is
104.197.19.120 in this case.
The external load balancer allows us to access the service from outside
the firewall via an external IP,
104.197.19.120 in this case.
Note that you may need to create a firewall rule to allow the traffic, assuming you are using Google Compute Engine:
Note that you may need to create a firewall rule to allow the traffic, assuming you are using Google Compute Engine:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment