relax restriction to allow upgrade

This commit is contained in:
James Oliver 2017-01-09 11:07:45 -07:00
parent 9fd8cdab78
commit a489b4ed5b
6 changed files with 20 additions and 8 deletions

View File

@ -1,5 +1,7 @@
# Etcd # Etcd
** NOTE ** This template does not function with Rancher 1.2+, it is only present to enable an upgrade path for those who upgraded Rancher prior to upgrading their etcd service.
A distributed key/value store that provides a reliable way to store data across a cluster of machines A distributed key/value store that provides a reliable way to store data across a cluster of machines
### General ### General

View File

@ -1,7 +1,6 @@
.catalog: .catalog:
version: 2.3.7 version: 2.3.7-beta.1
minimum_rancher_version: v1.1.1 minimum_rancher_version: v1.1.1
maximum_rancher_version: v1.1.4
questions: questions:
- variable: SCALE - variable: SCALE
description: Desired cluster size. 3, 5, or 7 are good choices. You will need this many hosts to reach your desired scale. description: Desired cluster size. 3, 5, or 7 are good choices. You will need this many hosts to reach your desired scale.

View File

@ -1,5 +1,9 @@
## Etcd v2.3.7 Persistent ## Etcd v2.3.7 Persistent
### Upgrade WARNING
Automated upgrading to this version is only supported from `2.3.7-beta.1`. If you are on a previous version, please upgrade to `2.3.7-beta.1` before upgrading to this version. It is recommended you perform a manual backup before continuing.
### Backup Configuration ### Backup Configuration
Backups are enabled/disabled via the `Enable Backups` radio buttons. Backups are enabled/disabled via the `Enable Backups` radio buttons.
@ -21,7 +25,3 @@ See [this wiki](https://github.com/rancher/rancher/wiki/Kubernetes-Management#di
### Restoring Backups ### Restoring Backups
See [this wiki](https://github.com/rancher/rancher/wiki/Kubernetes-Management#restoring-backups) for instructions. See [this wiki](https://github.com/rancher/rancher/wiki/Kubernetes-Management#restoring-backups) for instructions.
### Upgrading to this Version: WARNING
Automated upgrading to this version is unsupported. Please capture a snapshot of a node's data directory and follow backup restoration process if necessary.

View File

@ -3,6 +3,7 @@ etcd:
labels: labels:
io.rancher.scheduler.affinity:host_label_soft: etcd=true io.rancher.scheduler.affinity:host_label_soft: etcd=true
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.sidekicks: data
environment: environment:
RANCHER_DEBUG: '${RANCHER_DEBUG}' RANCHER_DEBUG: '${RANCHER_DEBUG}'
EMBEDDED_BACKUPS: '${EMBEDDED_BACKUPS}' EMBEDDED_BACKUPS: '${EMBEDDED_BACKUPS}'
@ -11,3 +12,13 @@ etcd:
volumes: volumes:
- etcd:/pdata - etcd:/pdata
- ${BACKUP_LOCATION}:/data-backup - ${BACKUP_LOCATION}:/data-backup
volumes_from:
- data
data:
image: busybox
command: /bin/true
net: none
volumes:
- /data
labels:
io.rancher.container.start_once: 'true'

View File

@ -1,5 +1,5 @@
.catalog: .catalog:
version: 2.3.7-rancher2 version: 2.3.7-beta.2
minimum_rancher_version: v1.2.0 minimum_rancher_version: v1.2.0
questions: questions:
- variable: SCALE - variable: SCALE

View File

@ -1,5 +1,5 @@
name: Etcd name: Etcd
description: | description: |
A distributed key/value store that provides a reliable way to store data across a cluster of machines A distributed key/value store that provides a reliable way to store data across a cluster of machines
version: 2.3.7-rancher2 version: 2.3.7-beta.2
category: Clustering category: Clustering