Skip to content

Commit

Permalink
Merge pull request kubernetes#15054 from enisoc/vitess-example
Browse files Browse the repository at this point in the history
examples/vitess: Update for Vitess v2.0.0-alpha3
  • Loading branch information
a-robinson committed Oct 6, 2015
2 parents cae6b7c + 573dfab commit c095bbf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/vitess/guestbook-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion examples/vitess/vtctld-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion examples/vitess/vtgate-controller-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -35,6 +35,7 @@ spec:
-alsologtostderr
-port 15001
-tablet_protocol grpc
-service_map 'bsonrpc-vt-vtgateservice'
-cell test" vitess
volumes:
- name: syslog
Expand Down
7 changes: 4 additions & 3 deletions examples/vitess/vttablet-pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}}
Expand All @@ -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
Expand Down

0 comments on commit c095bbf

Please sign in to comment.