-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Andersen
committed
Aug 2, 2017
1 parent
3a910a7
commit 701aa27
Showing
10 changed files
with
87 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# {{ .GenLine }} | ||
# this migrates from a single pool BTrDB to a tiered storage BTrDB | ||
# it does not move the old data, but new data will be properly tiered. | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: btrdb-ensuredb | ||
namespace: {{.TargetNamespace}} | ||
spec: | ||
template: | ||
metadata: | ||
name: btrdb-ensuredb | ||
spec: | ||
restartPolicy: Never | ||
containers: | ||
- name: btrdb-ensuredb | ||
image: btrdb/{{.Pfx}}db:{{.TargetVersion}} | ||
imagePullPolicy: {{.Containers.ImagePullPolicy}} | ||
args: [ "ensuredb" ] | ||
env: | ||
- name: ETCD_ENDPOINT | ||
value: http://etcd:2379 | ||
- name: CEPH_HOT_POOL | ||
value: {{.SiteInfo.Ceph.BTrDBHotPool}} | ||
- name: CEPH_DATA_POOL | ||
value: {{.SiteInfo.Ceph.BTrDBDataPool}} | ||
- name: MY_POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
volumeMounts: | ||
- name: ceph-keyring | ||
mountPath: /etc/ceph/ | ||
readOnly: true | ||
volumes: | ||
- name: ceph-keyring | ||
secret: | ||
secretName: ceph-keyring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package tools | ||
|
||
const VersionMajor = 4 | ||
const VersionMinor = 5 | ||
const VersionMinor = 6 | ||
const VersionPatch = 0 |