Skip to content

Instantly share code, notes, and snippets.

@smothiki
Last active May 10, 2016 23:34
Show Gist options
  • Save smothiki/b5f48e0232dcc1468100d9df34a0dbb8 to your computer and use it in GitHub Desktop.
Save smothiki/b5f48e0232dcc1468100d9df34a0dbb8 to your computer and use it in GitHub Desktop.
Upgrade story with deployments
  1. Deployments are not available in v1 or server version 1.2, they are available as a part of v1extensions, basically we can't do it now
  2. Replicaiton controllers are not compatible with deployments. only replica sets
  3. Deployments support releases and rollbacks, canary and rolling updates
  4. Horizontal pod scalar again works on replica sets but scales the pods according to CPU utilization
  • Deployments are good only if you are thinking of doing a roll back.
  • For our usecase where every thing is an RC1 and just thinking about updating the exiting image for an RC , kubectl apply/edit RC is sufficient, unless we are not looking for kubectl rollback --release=<>
  • Coming to Apps, thoerically deployments adds features like releases to an App. Also if we can treat every build as a release then basically let the builder deploy an App as deployment, then we can just use controller for authentication purposes.
@smothiki
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment