Граф коммитов

175 Коммитов

Автор SHA1 Сообщение Дата
Shlomi Noach acf9e5c39f no more maxscale
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-06 17:39:12 +03:00
Kewei Shang 9053dddbd9 Add mysqlctl docker image to release script
Signed-off-by: Kewei Shang <kewei.shang@bolt.eu>
2021-02-26 16:26:28 +02:00
Derek Perkins aeabe06240 helm/docker: fix Docker builds + tag 7.0.2
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-09-22 17:45:08 -06:00
Derek Perkins 4db475dcec helm: build images + automate docker release
before this, releases weren't deterministic and weren't even coordinated between image repos. This cleans it up, plus uses new docker ARGs to automate the release

Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-09-15 00:10:36 -06:00
Shlomi Noach 04a543a49c orchestrator repo moved under openark/ org
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2020-06-23 15:29:49 +03:00
Sugu Sougoumarane 761bab89f7 helm: remove special-casing for init containers
They don't eat into the resource budget

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-05-10 20:56:31 -07:00
Sugu Sougoumarane 5086f5d71d helm: more efficient and simplified examples
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-05-10 17:42:19 -07:00
Sugu Sougoumarane 1360011a72 examples: update to latest helm
Also add instructions for final teardown.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-05-09 16:11:28 -07:00
Sugu Sougoumarane 9177efa846 helm: use proxy_tablets
The redirect leads to a 404. However, adding a /debug/status to
the redirect URL does work. So, this is still an improvement.

I'll make a separate PR to append the /debug/status to the redirect
URL, which will fix this good. Then we'll have to build another helm
image.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-25 20:36:59 -07:00
Carson Anderson f2ce1ea5ea Use apps/v1 for all statefulsets
This fixes orchestrator and pmm on k8s 1.16+. All of the other
statefulsets were already on apps/v1 so this just brings those two
components in line with the rest of the chart.

I have also fixed the printed proxy urls to actually work

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-04-17 09:26:36 -06:00
Carson Anderson 6f00b122df Refactor CRD to support K8s 1.15 specific requirements
K8s 1.15 added extra validation to CRD structure when using
the v1beta1 api. The CRD has been restructured to conform
to the new rules.

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-04-16 11:45:03 -06:00
Carson Anderson 9374f342d0 Move CRD to v1beta1
This is a backwards-compatible change for anyone
that has already installed the charts.

---

This will allow the CRD to be used in K8s clusters 1.7 or newer.
But some of the features, like the additionalPrinterColumns, will
only be available in 1.11 or newer, which is the minimum recommend
version

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-04-16 08:58:42 -06:00
Sugu Sougoumarane ddf46ea140 helm: fix examples
* Changed commands to work with latest minikube.
* Fixed 308 script to actually delete the job.
* Fixed minikube commands to work with the latest version.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-10 14:40:45 -07:00
Carson Anderson fb56a4e972 Change helm charts to use the k8s topology by default
This completely removes the etcd-operator dependency!

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-04-07 10:20:06 -06:00
Derek Perkins 66141183ad Revert "Enable alternate registries to be able to be used"
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-03-26 19:39:18 -06:00
Yuvraj cf2cbb6bd1 Added logrotate and vtcl in values
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-03-08 16:50:04 +05:30
Yuvraj ea3ddf75a2 replace repo with entire image name
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-03-08 16:08:55 +05:30
Yuvraj 9bd118b574 change variable comment
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-02-25 05:43:59 +05:30
Yuvraj 5c1439cd95 revert helper changes
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-02-25 02:48:46 +05:30
Yuvraj c20d777d18 revert helper changes
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-02-25 02:47:18 +05:30
Yuvraj d94d743530 Added image in helm chart for configration
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-02-25 02:42:26 +05:30
Gary Edgar a17d817718 helm/vitess/templates/_vtctld.tpl: Revert web_dir changes
Signed-off-by: Gary Edgar <gary@planetscale.com>
2020-01-21 09:59:39 -08:00
Morgan Tocker 14d4739cfd
Merge pull request #5588 from planetscale/tal_test_rbr_default
Default testsuite to RBR
2020-01-02 20:42:50 -07:00
Rohit Nayak 0882f189b3 Fixed various py tests by removing web_dir references. Removed test for the old vtctld webapp 2020-01-02 20:35:27 +01:00
Ajeet jain 2623fe796f
default RBR for python tests, SBR for exclusions
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2019-12-31 15:38:45 +05:30
Abdullah Almariah 3d7a87995a update changelog
Signed-off-by: Abdullah Almariah <abdullahalmariah@gmail.com>
2019-12-02 01:50:29 +01:00
Abdullah Almariah d0b7521934 update helm vitess docker images
Signed-off-by: Abdullah Almariah <abdullahalmariah@gmail.com>
2019-12-02 01:50:29 +01:00
Sugu Sougoumarane 3a391b77d6
Merge pull request #5484 from vitessio/morgo-helm3
Silence nil value warning in helm3
2019-11-30 16:17:31 -08:00
Morgan Tocker 7f1a19dcbd Merge remote-tracking branch 'upstream/master' into morgo-update-mysql-version
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-29 08:23:41 -07:00
Morgan Tocker c8e2cd051c Silence nil value warning in helm3
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-27 19:13:25 -07:00
Morgan Tocker 3720fea3e0 Update MySQL Server Version to 5.7
Fixes #4119

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-27 09:50:12 -07:00
Morgan Tocker 4193d0378c Make sure 5.7 doesn't read 5.6 config file
Add SBR and sql-mode lines back in

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-29 20:31:17 -06:00
Connor Barnhill fc75af7cb1 fix indent error
Signed-off-by: Connor Barnhill <cbarnhill@mgh.harvard.edu>
2019-08-28 14:32:53 -04:00
Derek Perkins ecc2e8b71e helm: delete mysql.sock.lock in init container
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-08-19 19:04:11 -06:00
Daniel Kozlowski 906f061322
Merge pull request #4961 from planetscale/dk-update-orchestrator
Updating Orchestrator config to make it more reliable
2019-07-20 04:33:32 +02:00
Derek Perkins c65a76bf2c helm: upgrade orchestrator from 3.0.14 to 3.1.1
there was a mixup in the orchestrator release process, hence the inconsistent binary and path matching for 3.1.0 and 3.1.1

Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-07-10 22:35:34 -06:00
Dan Kozlowski baecb8453c Updating Docker config file for Orchestrator
Porting updated config file to the Docker build

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-27 17:59:01 -07:00
Dan Kozlowski 5e097f5b7f Updates based on @msolters working config
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-27 16:19:58 -07:00
Dan Kozlowski 7d589102a8 Updating Orchestrator config to make it more reliable
Three major changes.

1. Turn off DiscoverByShowSlaveHosts - Because Vitess will reparent
during normal operations this causes Orchestrator to detect clusters
as Co-Master or Intermediate, this causes recovery not to work

2. Delay Mater Promotion - Don't blanked fail to promote if SQL Thread
is not up to date, just delay it instead

3. Put TER into a loop - If TER fails for any reason Vitess won't be
able to recover. We need that to succeed so we try it up to 10 times.

Also Add in the Datacenter Detect query, this doesn't effect
operations, but it does allow orchestrator to detect the Cell correctly

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-26 14:59:41 -07:00
Eli Nudler 6a3f4dac38 Rename secret name (myuser_password -> myuser-password) to matched regex pattern accepted by kubernetes and match the template example
Signed-off-by: Eli Nudler <enudler@gmail.com>
2019-06-25 23:56:53 +03:00
ch3rub1m ee7bbef751 Add some comments for cluster wide etcd operator
Signed-off-by: ch3rub1m <ch3rub1m@foxmail.com>
2019-03-29 18:06:16 +08:00
ch3rub1m 2b9a55a5a7 Add annotations value to EtcdCluster in helm chart to make etcd cluster could be managed by clusterwide etcd-operator
Signed-off-by: ch3rub1m <ch3rub1m@foxmail.com>
2019-03-29 14:20:37 +08:00
Gary Edgar 04ca16e806 Chart.yaml: Update icon URL
Signed-off-by: Gary Edgar <gary@planetscale.com>
2019-03-15 17:46:50 -07:00
Kim Bao Long 3c9641bf02 Changing 'HTTP' to 'HTTPS' for securing vitess.io access
Currently, when we access the ***vitess.io* with **HTTP**, it is
redirected to **HTTPS** automatically. So this commit aims to
replace **http://vitess.io** by **https://vitess.io** for security.

Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
2019-02-25 15:06:56 +07:00
huynq0911 1898eba2df Change http to https for security links
For security, we should change http into https links.
This PR also update deprecated links

Signed-off-by: huynq0911 <huynq0911@gmail.com>
2019-02-16 12:41:48 +07:00
Derek Perkins 5831222ddc helm: release 1.0.6
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-01-20 15:05:44 -07:00
Derek Perkins c9d727f683 helm: run pmm-admin repair to fix server data loss
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-01-20 15:05:44 -07:00
Derek Perkins 519aa2127c helm: update orchestrator from 3.0.13 to 3.0.14
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-01-20 15:05:43 -07:00
Derek Perkins f9f74b3ff2 helm: release 1.0.5
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-01-12 12:53:01 -07:00
Derek Perkins 85253b8b82 helm: FailMasterPromotionIfSQLThreadNotUpToDate=tr
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-01-08 14:13:13 -07:00