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
c095bbf8
Commit
c095bbf8
authored
Oct 05, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15054 from enisoc/vitess-example
examples/vitess: Update for Vitess v2.0.0-alpha3
parents
cae6b7cf
573dfab7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
guestbook-controller.yaml
examples/vitess/guestbook-controller.yaml
+1
-1
vtctld-controller.yaml
examples/vitess/vtctld-controller.yaml
+3
-1
vtgate-controller-template.yaml
examples/vitess/vtgate-controller-template.yaml
+2
-1
vttablet-pod-template.yaml
examples/vitess/vttablet-pod-template.yaml
+4
-3
No files found.
examples/vitess/guestbook-controller.yaml
View file @
c095bbf8
...
...
@@ -12,7 +12,7 @@ spec:
spec
:
containers
:
-
name
:
guestbook
image
:
vitess/guestbook:v2.0
image
:
vitess/guestbook:v2.0
.0-alpha3
ports
:
-
name
:
http-server
containerPort
:
8080
...
...
examples/vitess/vtctld-controller.yaml
View file @
c095bbf8
...
...
@@ -12,7 +12,7 @@ spec:
spec
:
containers
:
-
name
:
vtctld
image
:
vitess/lite:v2.0
image
:
vitess/lite:v2.0
.0-alpha3
volumeMounts
:
-
name
:
syslog
mountPath
:
/dev/log
...
...
@@ -35,8 +35,10 @@ spec:
-log_dir $VTDATAROOT/tmp
-alsologtostderr
-port 15000
-service_map 'bsonrpc-vt-vtctl'
-topo_implementation etcd
-tablet_protocol grpc
-tablet_manager_protocol grpc
-etcd_global_addrs http://$ETCD_GLOBAL_SERVICE_HOST:$ETCD_GLOBAL_SERVICE_PORT" vitess
volumes
:
-
name
:
syslog
...
...
examples/vitess/vtgate-controller-template.yaml
View file @
c095bbf8
...
...
@@ -12,7 +12,7 @@ spec:
spec
:
containers
:
-
name
:
vtgate
image
:
vitess/lite:v2.0
image
:
vitess/lite:v2.0
.0-alpha3
volumeMounts
:
-
name
:
syslog
mountPath
:
/dev/log
...
...
@@ -35,6 +35,7 @@ spec:
-alsologtostderr
-port 15001
-tablet_protocol grpc
-service_map 'bsonrpc-vt-vtgateservice'
-cell test" vitess
volumes
:
-
name
:
syslog
...
...
examples/vitess/vttablet-pod-template.yaml
View file @
c095bbf8
...
...
@@ -11,7 +11,7 @@ metadata:
spec
:
containers
:
-
name
:
vttablet
image
:
vitess/lite:v2.0
image
:
vitess/lite:v2.0
.0-alpha3
volumeMounts
:
-
name
:
syslog
mountPath
:
/dev/log
...
...
@@ -48,7 +48,8 @@ spec:
-alsologtostderr
-port {{port}}
-grpc_port {{grpc_port}}
-service_map 'grpc-queryservice'
-service_map 'grpc-queryservice,grpc-tabletmanager,grpc-updatestream'
-binlog_player_protocol grpc
-tablet-path {{alias}}
-tablet_hostname $(hostname -i)
-init_keyspace {{keyspace}}
...
...
@@ -71,7 +72,7 @@ spec:
-rowcache-bin /usr/bin/memcached
-rowcache-socket $VTDATAROOT/{{tablet_subdir}}/memcache.sock" vitess
-
name
:
mysql
image
:
vitess/lite:v2.0
image
:
vitess/lite:v2.0
.0-alpha3
volumeMounts
:
-
name
:
syslog
mountPath
:
/dev/log
...
...
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