Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cybozu-neco committed Sep 18, 2024
1 parent 706aeda commit 6cdd65f
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 22 deletions.
2 changes: 1 addition & 1 deletion change-pvc-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h3 id="1-the-user-modifies-the-specvolumeclaimtemplates-of-the-mysqlcluster-and
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand Down
2 changes: 0 additions & 2 deletions css/chrome.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* CSS for UI elements (a.k.a. chrome) */

@import 'variables.css';

html {
scrollbar-color: var(--scrollbar) var(--bg);
}
Expand Down
2 changes: 0 additions & 2 deletions css/general.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* Base styles and content styles */

@import 'variables.css';

:root {
/* Browser default font-size is 16px, this way 1 rem = 10px */
font-size: 62.5%;
Expand Down
8 changes: 4 additions & 4 deletions custom-mysqld.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h1 id="building-custom-image-of-mysqld"><a class="header" href="#building-custo
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
</code></pre>
<p>If you want to build and use your own <code>mysqld</code>, read the rest of this document.</p>
<h2 id="dockerfile"><a class="header" href="#dockerfile">Dockerfile</a></h2>
Expand All @@ -206,9 +206,9 @@ <h2 id="how-to-build-mysqld"><a class="header" href="#how-to-build-mysqld">How t
<pre><code class="language-console">$ sudo apt-get update
$ sudo apt-get -y --no-install-recommends install build-essential libssl-dev \
cmake libncurses5-dev libjemalloc-dev libnuma-dev libaio-dev pkg-config
$ curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-8.4.0.tar.gz
$ tar -x -z -f mysql-8.4.0.tar.gz
$ cd mysql-8.4.0
$ curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-8.4.2.tar.gz
$ tar -x -z -f mysql-8.4.2.tar.gz
$ cd mysql-8.4.2
$ mkdir bld
$ cd bld
$ cmake .. -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Release \
Expand Down
1 change: 1 addition & 0 deletions highlight.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ <h3 id="creating-an-empty-cluster"><a class="header" href="#creating-an-empty-cl
containers:
# At least a container named "mysqld" must be defined.
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
# By limiting CPU and memory, Pods will have Guaranteed QoS class.
# requests can be omitted; it will be set to the same value as limits.
resources:
Expand Down Expand Up @@ -595,7 +595,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0 # must be the same version as the donor
image: ghcr.io/cybozu-go/moco/mysql:8.4.2 # must be the same version as the donor
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand Down Expand Up @@ -998,7 +998,7 @@ <h3 id="upgrading-mysql-version"><a class="header" href="#upgrading-mysql-versio
containers:
- name: mysqld
# Edit the next line
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
</code></pre>
<p>You are advised to make backups and/or create a replica cluster before starting the upgrade process.
Read <a href="upgrading.html"><code>upgrading.md</code></a> for further details.</p>
Expand Down Expand Up @@ -1078,7 +1078,7 @@ <h3 id="set-to-read-only"><a class="header" href="#set-to-read-only">Set to Read
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
</code></pre>
<p>If you want to build and use your own <code>mysqld</code>, read the rest of this document.</p>
<h2 id="dockerfile"><a class="header" href="#dockerfile">Dockerfile</a></h2>
Expand All @@ -1095,9 +1095,9 @@ <h2 id="how-to-build-mysqld"><a class="header" href="#how-to-build-mysqld">How t
<pre><code class="language-console">$ sudo apt-get update
$ sudo apt-get -y --no-install-recommends install build-essential libssl-dev \
cmake libncurses5-dev libjemalloc-dev libnuma-dev libaio-dev pkg-config
$ curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-8.4.0.tar.gz
$ tar -x -z -f mysql-8.4.0.tar.gz
$ cd mysql-8.4.0
$ curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-8.4.2.tar.gz
$ tar -x -z -f mysql-8.4.2.tar.gz
$ cd mysql-8.4.2
$ mkdir bld
$ cd bld
$ cmake .. -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -1204,7 +1204,7 @@ <h3 id="1-the-user-modifies-the-specvolumeclaimtemplates-of-the-mysqlcluster-and
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ <h3 id="creating-an-empty-cluster"><a class="header" href="#creating-an-empty-cl
containers:
# At least a container named "mysqld" must be defined.
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
# By limiting CPU and memory, Pods will have Guaranteed QoS class.
# requests can be omitted; it will be set to the same value as limits.
resources:
Expand Down Expand Up @@ -375,7 +375,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
spec:
containers:
- name: mysqld
image: ghcr.io/cybozu-go/moco/mysql:8.4.0 # must be the same version as the donor
image: ghcr.io/cybozu-go/moco/mysql:8.4.2 # must be the same version as the donor
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand Down Expand Up @@ -778,7 +778,7 @@ <h3 id="upgrading-mysql-version"><a class="header" href="#upgrading-mysql-versio
containers:
- name: mysqld
# Edit the next line
image: ghcr.io/cybozu-go/moco/mysql:8.4.0
image: ghcr.io/cybozu-go/moco/mysql:8.4.2
</code></pre>
<p>You are advised to make backups and/or create a replica cluster before starting the upgrade process.
Read <a href="upgrading.html"><code>upgrading.md</code></a> for further details.</p>
Expand Down

0 comments on commit 6cdd65f

Please sign in to comment.