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

Change "experimental" to "beta" in annotations #15414

Merged
merged 3 commits into from
Oct 21, 2015

Conversation

thockin
Copy link
Member

@thockin thockin commented Oct 9, 2015

@k8s-github-robot k8s-github-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 10, 2015
@k8s-github-robot
Copy link

Labelling this PR as size/M

@bgrant0607
Copy link
Member

You're going to break existing annotations without backward compatibility?

@bgrant0607
Copy link
Member

Nevermind, I see the code looks at both.

@@ -2838,7 +2838,7 @@ func validateBandwidthIsReasonable(rsrc *resource.Quantity) error {
}

func extractBandwidthResources(pod *api.Pod) (ingress, egress *resource.Quantity, err error) {
str, found := pod.Annotations["kubernetes.io/ingress-bandwidth"]
str, found := pod.Annotations["net.beta.kubernetes.io/ingress-bandwidth"]
Copy link
Member

Choose a reason for hiding this comment

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

So, has anyone used these?

Copy link
Member

Choose a reason for hiding this comment

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

And, if so, why not do the same compatibility dance?

Copy link
Member

Choose a reason for hiding this comment

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

fwiw, i just started evaluating this last week, i cannot imagine there is wide use as it didn't get much in the way of documentation to my knowledge

Copy link
Member

Choose a reason for hiding this comment

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

How about net.alpha, then?

Copy link
Member Author

Choose a reason for hiding this comment

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

That was my feeling too, so I was lazy. I am fine with alpha, or can do
the compat dance...
On Oct 9, 2015 5:48 PM, "Derek Carr" notifications@github.com wrote:

In pkg/kubelet/kubelet.go
#15414 (comment)
:

@@ -2838,7 +2838,7 @@ func validateBandwidthIsReasonable(rsrc *resource.Quantity) error {
}

func extractBandwidthResources(pod *api.Pod) (ingress, egress *resource.Quantity, err error) {

  • str, found := pod.Annotations["kubernetes.io/ingress-bandwidth"]
  • str, found := pod.Annotations["net.beta.kubernetes.io/ingress-bandwidth"]

fwiw, i just started evaluating this last week, i cannot imagine there is
wide use as it didn't get much in the way of documentation to my knowledge


Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/15414/files#r41690399.

@k8s-bot
Copy link

k8s-bot commented Oct 10, 2015

GCE e2e test build/test passed for commit 966f4c0bdfe8d0600eca7a4656424650d3063729.

@thockin thockin force-pushed the exp-beta-annotations branch from 966f4c0 to 2f4c303 Compare October 14, 2015 22:38
@thockin
Copy link
Member Author

thockin commented Oct 14, 2015

pushed as "alpha"

@k8s-bot
Copy link

k8s-bot commented Oct 14, 2015

GCE e2e test build/test passed for commit 2f4c303.

@bgrant0607
Copy link
Member

I'm sure we'll need to rethink these in the future, but good enough for now.
LGTM

@bgrant0607 bgrant0607 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 21, 2015
@bgrant0607 bgrant0607 added this to the v1.1 milestone Oct 21, 2015
@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Oct 21, 2015

GCE e2e test build/test passed for commit 2f4c303.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Oct 21, 2015
@k8s-github-robot k8s-github-robot merged commit 6dc3dcf into kubernetes:master Oct 21, 2015
@thockin thockin deleted the exp-beta-annotations branch October 23, 2015 17:33
zmerlynn added a commit that referenced this pull request Dec 4, 2015
…4-upstream-release-1.1

Automated cherry pick of #15414 upstream release 1.1
shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
…k-of-#15414-upstream-release-1.1

Automated cherry pick of kubernetes#15414 upstream release 1.1
xingzhou pushed a commit to xingzhou/kubernetes that referenced this pull request Dec 15, 2016
shouhong pushed a commit to shouhong/kubernetes that referenced this pull request Feb 14, 2017
…k-of-#15414-upstream-release-1.1

Automated cherry pick of kubernetes#15414 upstream release 1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants