Joshua Thompson
1e87496ad4
replace gcloud alpha container kubectl with kubectl
2015-05-26 15:50:21 -07:00
Anthony Yeh
cbc39cd7b5
Add empty lines before bulleted lists in Markdown.
...
The 'recarpet' Markdown converter we use doesn't convert bulleted lists
if they aren't preceeded by empty lines.
2015-05-11 13:55:17 -07:00
Joshua Thompson
f36f80c376
Updates for k8s updates to forwarding-rule/target-pool naming
2015-05-08 13:09:36 -07:00
thompsonja
889bf99e1e
Merge pull request #629 from thompsonja/k8s_pin_vtgates
...
Switched vtgate from controller to pod template to force them to specifi...
2015-05-08 12:59:07 -07:00
Joshua Thompson
42b2e0df3b
Reverted vtgate-down as well, added benchmarking version for pods
2015-05-07 15:21:48 -07:00
Joshua Thompson
848d2d64a8
Use vtgate pod template only when running benchmarks
2015-05-07 14:16:16 -07:00
Anthony Yeh
c935f5ca06
Add extra_my_cnf for MySQL 5.6.
2015-05-05 15:30:56 -07:00
Anthony Yeh
a872390683
Fix examples/local for MySQL 5.6.
2015-05-05 15:30:56 -07:00
Anthony Yeh
b2c491f7b1
Build lightweight Docker images for deployment.
...
The base images are meant for development, and include everything needed
to bootstrap and build Vitess.
For actual deployment, we can drop all the dev packages and just put the
binaries into a fresh image.
At this time, the savings in image size are:
vitess/base = 2.269GB -> vitess/lite = 568.4MB
vitess/etcd:v0.4.6 = 442.4MB -> vitess/etcd:v0.4.6-lite = 108.6MB
This makes Kubernetes pods start a lot faster, since each node has to
download the images.
2015-04-27 17:05:06 -07:00
Joshua Thompson
bbeef74751
Switched vtgate from controller to pod template to force them to specific nodes
2015-04-27 12:59:11 -07:00
Alain Jobart
4d915484a3
Merge branch 'master' into resharding
2015-04-14 16:45:54 -07:00
Joshua Thompson
ebff43698d
Add a separate shard_label parameter to vttablet templates
2015-04-14 10:51:09 -07:00
Alain Jobart
0fa5667d1a
Merge branch 'master' into resharding
2015-04-14 06:59:16 -07:00
Joshua Thompson
d8194b1fcb
append/prepend xx to vttablet pod labels where shards start/end with -
2015-04-13 14:07:11 -07:00
Joshua Thompson
3ec4f078ea
Updated k8s scripts for benchmarking efforts
2015-04-13 10:07:18 -07:00
Joshua Thompson
f00174287b
revert change to installing vtctlclient
2015-04-03 13:42:52 -07:00
Joshua Thompson
66f987ec02
Update kubernetes example
2015-04-03 11:48:22 -07:00
Joshua Thompson
e513b116b0
Update kubernetes example
2015-04-03 11:45:28 -07:00
Alain Jobart
8683b27671
Updating doc in other places to use InitShardMaster.
2015-04-02 14:10:38 -07:00
Alain Jobart
260392e2ca
Now updating Shard with new master.
...
And converting the new master to 'master' type.
Fixing the directions tfor local cluster to use InitShardMaster.
2015-04-02 14:01:24 -07:00
Anand Henry
5ad89a6a33
Benchmarking: increase connection pool for reads
2015-03-30 16:46:37 -07:00
Joshua Thompson
830a2f704d
Remove debug line
2015-03-30 10:42:54 -07:00
Joshua Thompson
36f92aed51
Add separate benchmarking template
2015-03-30 10:42:00 -07:00
Joshua Thompson
5fb5703fc5
Enable support for running vttablets on SSD on GKE
2015-03-29 23:28:00 -07:00
Joshua Thompson
cf612ea16f
Force tablet onto specific nodes. Automatically deduce node count when creating a cluster.
2015-03-13 10:58:12 -07:00
Joshua Thompson
8098121c7e
Support SSD flag. Remove hardcoded region in cluster-down.sh. Start vt pods in parallel in cluster-up.sh
2015-02-27 13:07:03 -08:00
Joshua Thompson
27090e1e9d
Fix ListAllTablets result in README
2015-02-23 14:30:07 -08:00
Joshua Thompson
d1a3443779
cleanup readmes, replace GCE w/ GKE
2015-02-23 14:28:03 -08:00
Joshua Thompson
bac2f0d734
Fix shard keyranges in scripts and readme
2015-02-20 19:35:50 -08:00
Joshua Thompson
b6ad069fd3
/s/CLUSTER_NAME/GCE_CLUSTER_NAME in cluster-down.sh
2015-02-20 14:31:25 -08:00
Joshua Thompson
820fcee562
Add cluster-{up,down}.sh for bringing up clusters on GCE. Modify vttablet scripts for multi-shard
2015-02-20 12:33:20 -08:00
Anthony Yeh
61d6cbbb01
Explain `init` versus `start` in local example.
...
Fixes #362
2015-02-06 13:29:08 -08:00
Anthony Yeh
a7b7933637
Fail fast in *-down.sh scripts.
...
This way the user is more likely to see the errors.
It's also easier to reason about the state of the system if you know the
script stopped at a certain point.
2015-02-02 15:30:41 -08:00
Anthony Yeh
62a2e5a4d3
Make Kubernetes example run on Container Engine.
...
Previously, it ran directly on Kubernetes in Compute Engine.
Running on Container Engine eliminates the need to worry about
setting up Kubernetes itself. It's still possible to run the
Vitess example on a bare Kubernetes deployment by setting the
KUBECTL environment variable accordingly.
[ci skip]
2015-01-29 18:15:32 -08:00
Anthony Yeh
3a78145343
Log to stderr so it gets picked up by Kubernetes logsaver.
2015-01-27 16:05:48 -08:00
Shruti Patil
a44c924550
Removed the dependency of topology from vtgate client.
2015-01-27 11:41:32 -08:00
Rushi Agrawal
aa3b3f84a5
Fix trailing whitespaces if they're >=4 chars long
2015-01-27 15:07:35 +05:30
Rushi Agrawal
b16f9014a3
Fix typo: s/client/click/
2015-01-27 15:04:33 +05:30
Rushi Agrawal
6170ec9c85
Fix incorrect reference in examples/local/README.md
...
vtctlclient binary is in $VTROOT, not $VTTOP
2015-01-27 14:53:11 +05:30
Anthony Yeh
2a9ec17057
Migrate Kubernetes example from kubecfg to kubectl.
...
This will allow the instructions to work in Container Engine, which only
supports the new kubectl (kubecfg is deprecated).
[ci skip]
2015-01-26 18:02:15 -08:00
Anthony Yeh
1c8068e508
Clarify keyspace rebuild in Kubernetes example.
2015-01-21 19:27:04 -08:00
Anthony Yeh
4178df8c79
Fix guestbook example for _vt -> vt port rename.
2015-01-21 19:27:04 -08:00
Anthony Yeh
b51111579f
Fix local example client for _vt -> vt port rename.
2015-01-21 19:27:04 -08:00
Anthony Yeh
7858375ec7
Redirect output of daemons in local example.
...
This prevents confusing output sent by background tasks to
the user's terminal while they're doing other things.
2015-01-21 19:27:04 -08:00
Sugu Sougoumarane
38a1ae27bc
demo -> examples/demo
2015-01-19 21:49:15 -08:00
Anthony Yeh
7626a30892
Add docs and scripts to bring up a local cluster.
2015-01-18 00:02:02 -08:00
Anthony Yeh
9961318e05
Use cell-local etcd service host, not each pod's IP.
2015-01-13 17:19:23 -08:00
Anthony Yeh
ccb8bcc896
Automatically add local etcd cluster addresses to global etcd.
...
On startup, the cell-local etcd instances will try to add or update the
cell record in global etcd. If global etcd isn't ready yet, the curl
command will fail and the startup script will wait 1 second and try
again.
2015-01-13 15:08:58 -08:00
Anthony Yeh
64d0f56e2d
Port the Kubernetes guestbook example app to Vitess.
2015-01-09 17:14:02 -08:00
Anthony Yeh
d4ff9ba7fa
Kubernetes example scripts should be run from their own dir.
...
Since they access other files in their dir.
Fixes #301
2015-01-08 14:45:27 -08:00
Anthony Yeh
be5d61100a
Use new built-in vttablet InitTablet in Kubernetes example.
2015-01-07 19:12:19 -08:00
Anthony Yeh
2e32152e44
Remove hacky ZooKeeper example for Kubernetes.
2014-12-19 00:20:40 -08:00
Anthony Yeh
20eb66c4cd
Use etcd in Kubernetes example, and update to Kubernetes 0.6.
2014-12-19 00:19:26 -08:00
Anthony Yeh
3d4f767e4a
Read topology from vtgate.
...
This is a temporary work-around until the VTGate V2 client is
topology-free.
2014-11-05 13:53:42 -08:00
Anthony Yeh
c804bddf65
Use vitess/base Docker image for client commands.
...
Instead of running as root with vitess/root. The user shouldn't need to
download any additional image since vitess/root has vitess/base as a
dependency.
2014-11-05 13:33:17 -08:00
Anthony Yeh
5eb0c12476
Add Kubernetes config for vtgate, and a sample vtgatev2 client.
2014-11-04 17:38:02 -08:00
Anthony Yeh
40e8797d6a
Enable rowcache in Kubernetes example.
...
Without it, we can't do ApplySchemaShard -simple, because the replicas
will never notice the new schema and will fail to build query plans.
2014-11-04 17:34:39 -08:00
Anthony Yeh
fe532c2165
Add instructions for launching vttablet.
2014-10-31 17:02:39 -07:00
Anthony Yeh
a0daec7ebc
Wait for MySQL to come up and create database.
2014-10-31 16:52:36 -07:00
Anthony Yeh
3555cdd8ac
First pass at vttablet config for Kubernetes.
2014-10-30 14:34:50 -07:00
Anthony Yeh
2000d1bd67
Create log dir in Kubernetes pod startup script.
2014-10-30 14:33:56 -07:00
Anthony Yeh
90c13997c0
Add Kubernetes version requirements.
2014-10-30 14:32:30 -07:00
Anthony Yeh
b90cadec9d
Remove obsolete zk Docker example.
...
The useful parts of the zk Docker example have been absorbed into the
Kubernetes example. The Docker-only version is now broken anyway and
there's no point in fixing it since we're not planning to flesh out the
rest of Vitess in Docker-only mode.
2014-10-28 13:40:53 -07:00
Anthony Yeh
d8cc29491b
Rename .markdown to .md and move Contributing.md
...
The prevailing convention on GitHub seems to be .md
Also by moving CONTRIBUTING.md to the root, GitHub will automatically
link to it when someone tries to contribute:
https://github.com/blog/1184-contributing-guidelines
2014-10-17 15:40:55 -07:00
Anthony Yeh
3720b0eb55
Create services before pods.
...
This will become important with the new IP-per-service model:
https://github.com/GoogleCloudPlatform/kubernetes/pull/1402
2014-10-14 12:49:40 -07:00
Anthony Yeh
fb4a75378b
Add Kubernetes config for vtctld.
2014-10-14 10:46:05 -07:00
Anthony Yeh
559e598458
First pass at Kubernetes support.
2014-10-14 10:46:05 -07:00
Anthony Yeh
0eeda5a74c
Move Docker examples to top-level examples dir.
2014-10-14 10:46:04 -07:00