Docs: Add doc explaining how to upgrade an existing Knative install

Created on 15 Jul 2018  路  8Comments  路  Source: knative/docs

I installed Knative following the docs. Today, an issue has been fixed, I would like to update my Knative installation to include the fix. I don't know how to do that.

I suggest we add a doc "Updating an existing Knative installation"

CC @mattmoor for guidance about how to do that

kinenhancement kininstall kinnew-docs-needed priorit1

Most helpful comment

I believe that having a clear upgrade path is very important, should be supported and well documented. One of the OpenStack failure reasons was that it was really difficult to upgrade and it took ages to perform an update without a downtime. This is - in my opinion and at this moment - probably the most important missing piece of the puzzle in entire Knative story.

All 8 comments

You should just be able to kubectl apply -f ... again (for now).

So I did kubectl apply -f https://storage.googleapis.com/knative-releases/latest/release.yaml

I installed the latest version and confirm the it fixes my issue.

However, some聽changes I had made before have been lost, for example, my DNS config has been changed in a way that broke it (example.com has been re-added).

For this purpose we will need to add an upgrade.yaml that only contains the controller deployments/services, while leaving out customizable resources like ConfigMap, Gateway settings, etc.

Currently everything is in one yaml file so upgrade isn't possible yet through this channel.

Related to this we also need to decide if people can skip versions during an upgrade path, or do they need to install all versions on their way to the latest?

And, while I'm not sure yet what if anything kn can/should do about this, is the notion that some providers may need to run some kind of script during the install/upgrade process. So, would they need to run each script for each version or figure out some way to make sure the latest version can just deal with it? Maybe just some guidance docs... not sure.

@mattmoor Can you assign this to someone who has the bandwidth to write up a draft of these instructions?

/assign @mdemirhan

... to delegate.

I believe that having a clear upgrade path is very important, should be supported and well documented. One of the OpenStack failure reasons was that it was really difficult to upgrade and it took ages to perform an update without a downtime. This is - in my opinion and at this moment - probably the most important missing piece of the puzzle in entire Knative story.

@mdemirhan Please assign to someone who can explain the steps for upgrading an installation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lancerdima picture lancerdima  路  3Comments

SataQiu picture SataQiu  路  7Comments

ahmetb picture ahmetb  路  5Comments

xtreme-sameer-vohra picture xtreme-sameer-vohra  路  6Comments

yangyunfeng007 picture yangyunfeng007  路  4Comments