Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cybozu-neco committed Jan 24, 2024
1 parent 0c05000 commit 1688464
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions change-pvc-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ <h1 id="change-the-volumeclaimtemplates"><a class="header" href="#change-the-vol
</blockquote>
<p>When re-creating a StatefulSet, moco-controller supports no operation except for volume expansion as described below.
It simply re-creates the StatefulSet.
However, if the labels and annotations on the PVC and the <code>.spec.volumeClaimTemplates</code> in the MySQLCluster have identical keys,
the labels and annotations on the PVC are updated with the values from the <code>.spec.volumeClaimTemplates</code>.</p>
However, by specifying the <code>--pvc-sync-annotation-keys</code> and <code>--pvc-sync-label-keys</code> flags in the controller, you can designate the annotations and labels to be synchronized from <code>.spec.volumeClaimTemplates</code> to PVC during the recreation of the StatefulSet.</p>
<p>For all other labels and annotations, given the potential side effects, such updates must be performed by the user themselves.
This guideline is essential to prevent potential side-effects if entities other than the moco-controller are manipulating the PVC's metadata.</p>
<h3 id="metrics"><a class="header" href="#metrics">Metrics</a></h3>
Expand Down
3 changes: 1 addition & 2 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,7 @@ <h2 id="system-containers"><a class="header" href="#system-containers">System co
</blockquote>
<p>When re-creating a StatefulSet, moco-controller supports no operation except for volume expansion as described below.
It simply re-creates the StatefulSet.
However, if the labels and annotations on the PVC and the <code>.spec.volumeClaimTemplates</code> in the MySQLCluster have identical keys,
the labels and annotations on the PVC are updated with the values from the <code>.spec.volumeClaimTemplates</code>.</p>
However, by specifying the <code>--pvc-sync-annotation-keys</code> and <code>--pvc-sync-label-keys</code> flags in the controller, you can designate the annotations and labels to be synchronized from <code>.spec.volumeClaimTemplates</code> to PVC during the recreation of the StatefulSet.</p>
<p>For all other labels and annotations, given the potential side effects, such updates must be performed by the user themselves.
This guideline is essential to prevent potential side-effects if entities other than the moco-controller are manipulating the PVC's metadata.</p>
<h3 id="metrics-1"><a class="header" href="#metrics-1">Metrics</a></h3>
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.

0 comments on commit 1688464

Please sign in to comment.