Commit c095bbf8 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #15054 from enisoc/vitess-example

examples/vitess: Update for Vitess v2.0.0-alpha3
parents cae6b7cf 573dfab7
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
spec: spec:
containers: containers:
- name: guestbook - name: guestbook
image: vitess/guestbook:v2.0 image: vitess/guestbook:v2.0.0-alpha3
ports: ports:
- name: http-server - name: http-server
containerPort: 8080 containerPort: 8080
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
spec: spec:
containers: containers:
- name: vtctld - name: vtctld
image: vitess/lite:v2.0 image: vitess/lite:v2.0.0-alpha3
volumeMounts: volumeMounts:
- name: syslog - name: syslog
mountPath: /dev/log mountPath: /dev/log
...@@ -35,8 +35,10 @@ spec: ...@@ -35,8 +35,10 @@ spec:
-log_dir $VTDATAROOT/tmp -log_dir $VTDATAROOT/tmp
-alsologtostderr -alsologtostderr
-port 15000 -port 15000
-service_map 'bsonrpc-vt-vtctl'
-topo_implementation etcd -topo_implementation etcd
-tablet_protocol grpc -tablet_protocol grpc
-tablet_manager_protocol grpc
-etcd_global_addrs http://$ETCD_GLOBAL_SERVICE_HOST:$ETCD_GLOBAL_SERVICE_PORT" vitess -etcd_global_addrs http://$ETCD_GLOBAL_SERVICE_HOST:$ETCD_GLOBAL_SERVICE_PORT" vitess
volumes: volumes:
- name: syslog - name: syslog
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
spec: spec:
containers: containers:
- name: vtgate - name: vtgate
image: vitess/lite:v2.0 image: vitess/lite:v2.0.0-alpha3
volumeMounts: volumeMounts:
- name: syslog - name: syslog
mountPath: /dev/log mountPath: /dev/log
...@@ -35,6 +35,7 @@ spec: ...@@ -35,6 +35,7 @@ spec:
-alsologtostderr -alsologtostderr
-port 15001 -port 15001
-tablet_protocol grpc -tablet_protocol grpc
-service_map 'bsonrpc-vt-vtgateservice'
-cell test" vitess -cell test" vitess
volumes: volumes:
- name: syslog - name: syslog
......
...@@ -11,7 +11,7 @@ metadata: ...@@ -11,7 +11,7 @@ metadata:
spec: spec:
containers: containers:
- name: vttablet - name: vttablet
image: vitess/lite:v2.0 image: vitess/lite:v2.0.0-alpha3
volumeMounts: volumeMounts:
- name: syslog - name: syslog
mountPath: /dev/log mountPath: /dev/log
...@@ -48,7 +48,8 @@ spec: ...@@ -48,7 +48,8 @@ spec:
-alsologtostderr -alsologtostderr
-port {{port}} -port {{port}}
-grpc_port {{grpc_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-path {{alias}}
-tablet_hostname $(hostname -i) -tablet_hostname $(hostname -i)
-init_keyspace {{keyspace}} -init_keyspace {{keyspace}}
...@@ -71,7 +72,7 @@ spec: ...@@ -71,7 +72,7 @@ spec:
-rowcache-bin /usr/bin/memcached -rowcache-bin /usr/bin/memcached
-rowcache-socket $VTDATAROOT/{{tablet_subdir}}/memcache.sock" vitess -rowcache-socket $VTDATAROOT/{{tablet_subdir}}/memcache.sock" vitess
- name: mysql - name: mysql
image: vitess/lite:v2.0 image: vitess/lite:v2.0.0-alpha3
volumeMounts: volumeMounts:
- name: syslog - name: syslog
mountPath: /dev/log mountPath: /dev/log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment