Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
62ef3374
Commit
62ef3374
authored
Feb 21, 2018
by
Joe Betz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document k8s.gcr.io/etcd image upgrade/downgrade support
parent
b114a117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
README.md
cluster/images/etcd/README.md
+18
-0
No files found.
cluster/images/etcd/README.md
View file @
62ef3374
...
...
@@ -5,6 +5,24 @@ This is a small etcd image used in Kubernetes setups where `etcd` is deployed as
For
`amd64`
, official
`etcd`
and
`etcdctl`
binaries are downloaded from Github to maintain official support.
For other architectures,
`etcd`
is cross-compiled from source. Arch-specific
`busybox`
images serve as base images.
### Upgrading and Downgrading
To upgrade to a newer etcd version, or to downgrade to the previous minor
version, always run
`/usr/local/bin/migrate-if-needed.sh`
before starting the
etcd server.
`migrate-if-needed.sh`
writes a
`version.txt`
file to track the "current" version
of etcd that was used to persist data to disk. A "target" version may also be provided
by the
`TARGET_STORAGE`
(e.g. "etcd3") and
`TARGET_VERSION`
(e.g. "3.2.11" )
environment variables. If the persisted version differs from the target version,
`migrate-if-needed.sh`
will migrate the data from the current to the target
version.
Upgrades to any target version are supported. The data will be automatically upgraded
in steps to each minor version until the target version is reached.
Downgrades to the previous minor version of the 3.x series and from 3.0 to 2.3.7 are supported.
#### How to release
First, run the migration and rollback tests.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment