Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cybozu-neco committed Aug 3, 2023
1 parent 5921d51 commit 9cc7b9e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions custom-mysqld.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h1 class="menu-title">MOCO Documentation</h1>
<div id="content" class="content">
<main>
<h1 id="building-custom-image-of-mysqld"><a class="header" href="#building-custom-image-of-mysqld">Building custom image of <code>mysqld</code></a></h1>
<p>There are pre-built <code>mysqld</code> container images for MOCO on <a href="https://quay.io/repository/cybozu/mysql?tag=latest&amp;tab=tags"><code>quay.io/cybozu/mysql</code></a>.
<p>There are pre-built <code>mysqld</code> container images for MOCO on <a href="https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysql"><code>ghcr.io/cybozu-go/moco/mysql</code></a>.
Users can use one of these images to supply <code>mysqld</code> container in <a href="crd_mysqlcluster.html">MySQLCluster</a> like:</p>
<pre><code class="language-yaml">apiVersion: moco.cybozu.com/v1beta2
kind: MySQLCluster
Expand All @@ -150,7 +150,7 @@ <h1 id="building-custom-image-of-mysqld"><a class="header" href="#building-custo
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
</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 Down
2 changes: 1 addition & 1 deletion customize-system-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h1 id="customize-default-container"><a class="header" href="#customize-default-
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
overwriteContainers:
- name: agent
resources:
Expand Down
14 changes: 7 additions & 7 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ <h3 id="creating-an-empty-cluster"><a class="header" href="#creating-an-empty-cl
containers:
# At least a container named &quot;mysqld&quot; must be defined.
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
# 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 @@ -543,7 +543,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30 # must be the same version as the donor
image: ghcr.io/cybozu-go/moco/mysql:8.0.30 # must be the same version as the donor
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand All @@ -555,7 +555,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
</code></pre>
<p>To stop the replication from the donor, update MySQLCluster with <code>spec.replicationSourceSecretName: null</code>.</p>
<h3 id="bring-your-own-image"><a class="header" href="#bring-your-own-image">Bring your own image</a></h3>
<p>We provide pre-built MySQL container images at <a href="http://quay.io/cybozu/mysql">quay.io/cybozu/mysql</a>.
<p>We provide pre-built MySQL container images at <a href="https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysql">ghcr.io/cybozu-go/moco/mysql</a>.
If you want to build and use your own image, read <a href="custom-mysqld.html"><code>custom-mysqld.md</code></a>.</p>
<h2 id="configurations"><a class="header" href="#configurations">Configurations</a></h2>
<p>The default and constant configuration values for <code>mysqld</code> are available on <a href="https://pkg.go.dev/github.com/cybozu-go/moco/pkg/mycnf#pkg-variables">pkg.go.dev</a>.
Expand Down Expand Up @@ -916,7 +916,7 @@ <h3 id="upgrading-mysql-version"><a class="header" href="#upgrading-mysql-versio
containers:
- name: mysqld
# Edit the next line
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
</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 All @@ -929,7 +929,7 @@ <h3 id="re-initializing-an-errant-replica"><a class="header" href="#re-initializ
Delete such pending Pods until PVC is actually removed.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="advanced-topics"><a class="header" href="#advanced-topics">Advanced topics</a></h1>
<div style="break-before: page; page-break-before: always;"></div><h1 id="building-custom-image-of-mysqld"><a class="header" href="#building-custom-image-of-mysqld">Building custom image of <code>mysqld</code></a></h1>
<p>There are pre-built <code>mysqld</code> container images for MOCO on <a href="https://quay.io/repository/cybozu/mysql?tag=latest&amp;tab=tags"><code>quay.io/cybozu/mysql</code></a>.
<p>There are pre-built <code>mysqld</code> container images for MOCO on <a href="https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysql"><code>ghcr.io/cybozu-go/moco/mysql</code></a>.
Users can use one of these images to supply <code>mysqld</code> container in <a href="crd_mysqlcluster.html">MySQLCluster</a> like:</p>
<pre><code class="language-yaml">apiVersion: moco.cybozu.com/v1beta2
kind: MySQLCluster
Expand All @@ -938,7 +938,7 @@ <h3 id="re-initializing-an-errant-replica"><a class="header" href="#re-initializ
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
</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 Down Expand Up @@ -981,7 +981,7 @@ <h2 id="how-to-build-mysqld"><a class="header" href="#how-to-build-mysqld">How t
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
overwriteContainers:
- name: agent
resources:
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.

8 changes: 4 additions & 4 deletions usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h3 id="creating-an-empty-cluster"><a class="header" href="#creating-an-empty-cl
containers:
# At least a container named &quot;mysqld&quot; must be defined.
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
# 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 @@ -334,7 +334,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
spec:
containers:
- name: mysqld
image: quay.io/cybozu/mysql:8.0.30 # must be the same version as the donor
image: ghcr.io/cybozu-go/moco/mysql:8.0.30 # must be the same version as the donor
volumeClaimTemplates:
- metadata:
name: mysql-data
Expand All @@ -346,7 +346,7 @@ <h3 id="creating-a-cluster-that-replicates-data-from-an-external-mysqld"><a clas
</code></pre>
<p>To stop the replication from the donor, update MySQLCluster with <code>spec.replicationSourceSecretName: null</code>.</p>
<h3 id="bring-your-own-image"><a class="header" href="#bring-your-own-image">Bring your own image</a></h3>
<p>We provide pre-built MySQL container images at <a href="http://quay.io/cybozu/mysql">quay.io/cybozu/mysql</a>.
<p>We provide pre-built MySQL container images at <a href="https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysql">ghcr.io/cybozu-go/moco/mysql</a>.
If you want to build and use your own image, read <a href="custom-mysqld.html"><code>custom-mysqld.md</code></a>.</p>
<h2 id="configurations"><a class="header" href="#configurations">Configurations</a></h2>
<p>The default and constant configuration values for <code>mysqld</code> are available on <a href="https://pkg.go.dev/github.com/cybozu-go/moco/pkg/mycnf#pkg-variables">pkg.go.dev</a>.
Expand Down Expand Up @@ -707,7 +707,7 @@ <h3 id="upgrading-mysql-version"><a class="header" href="#upgrading-mysql-versio
containers:
- name: mysqld
# Edit the next line
image: quay.io/cybozu/mysql:8.0.30
image: ghcr.io/cybozu-go/moco/mysql:8.0.30
</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 9cc7b9e

Please sign in to comment.