Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First cut at v1beta3 FAQ and versioning rationale. #6391

Merged
merged 1 commit into from
Apr 3, 2015

Conversation

bgrant0607
Copy link
Member

@bgrant0607
Copy link
Member Author

Once this is merged, I'll send an announcement to kubernetes-announce@googlegroups.com announcing v1beta3 and EOL for v1beta1/2.

We can grow the "conversion tips" section as people think of more gotchas.

* The container `entrypoint` has been renamed to `command`, and `command` has been renamed to `args`.
* Container, volume, and node resources are expressed as nested maps (e.g., `resources{cpu:1}`) rather than as individual fields, and resource values support [scaling suffixes](resources.md#resource-quantities) rather than fixed scales (e.g., milli-cores).
* Restart policy is represented simply as a string (e.g., "Always") rather than as a nested map ("always{}").
* The volume `source` is inlined into `volume` rather than nested.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To watch for changes to a resource, open an HTTP or Websocket connection to the collection URL and provide the ?watch=true query parameter along with the desired resourceVersion query parameter to watch from.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The names of all resource collections are now lower cased - instead of "replicationControllers", provide "replicationcontrollers".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good points. Stole your text.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another change:
"labels" query parameter has been changed to "label-selector"

@lavalamp
Copy link
Member

lavalamp commented Apr 3, 2015

LGTM - it's easy to make a followup if anyone can think of more to say.

lavalamp added a commit that referenced this pull request Apr 3, 2015
First cut at v1beta3 FAQ and versioning rationale.
@lavalamp lavalamp merged commit d69e716 into kubernetes:master Apr 3, 2015
@thockin
Copy link
Member

thockin commented Apr 3, 2015

I am OOO tomorrow, can you add the hostDir -> hostPath change here, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Announce that v1beta1 and v1beta2 are going away when v1beta3 is exposed by default
6 participants