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

update readme for cronjob collector #411

Merged
merged 2 commits into from
Apr 4, 2018
Merged

Conversation

r0fls
Copy link
Contributor

@r0fls r0fls commented Apr 3, 2018

fix #409

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 3, 2018
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 3, 2018
README.md Outdated
> If users want to enable this feature in kubernetes version less than 1.8,
> it must be configured with the following parameter setting for apiserver:
> `--runtime-config=batch/v2alpha1=true`. For cluster versions >= 1.8, cronjobs
> are enabled by default in batch/v2alpha1
Copy link
Member

Choose a reason for hiding this comment

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

I think we should just remove this statement all together, as kube-state-metrics only supports using the v1beta1 API.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, I left the following lines though: https://github.com/kubernetes/kube-state-metrics/pull/411/files#diff-04c6e90faac2675aa89e2176d2eec7d8R100

Since it seems they still apply to the GPU metrics.

Copy link
Member

@andyxning andyxning Apr 4, 2018

Choose a reason for hiding this comment

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

According to Kubernetes 1.10 release note:

The alpha Accelerators feature gate is deprecated and will be removed in v1.11. Please use device plugins (kubernetes/enhancements#368) instead. They can be enabled using the DevicePlugins feature gate. (#57384, @mindprince)

gpu support for kube-state-metrics will exist at least until Kubernetes 1.11. It's ok to keep gpu related statement here for now.

@r0fls BTW, could you please update the statement about the deprecation for gpu since it is not accurate for now:
are in alpha stage and will be deprecated when the kubernetes gpu support is final in 1.9 version. -> are in alpha stage and will be deprecated when the kubernetes accelerator feature support is deprecated in v1.11 version.

Copy link
Member

Choose a reason for hiding this comment

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

Others lgtm.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

✅ done

Copy link
Member

@andyxning andyxning Apr 4, 2018

Choose a reason for hiding this comment

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

lgtm.

Waiting for an additional review from @brancz

@brancz
Copy link
Member

brancz commented Apr 4, 2018

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 4, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brancz, r0fls

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2018
@k8s-ci-robot k8s-ci-robot merged commit f882f0a into kubernetes:master Apr 4, 2018
> If users want to enable this feature when kubernetes version larger than 1.7,
> It must be configured, with the following parameter setting for apiserver.
> `--runtime-config=batch/v2alpha1=true`
> are in alpha stage and will be deprecated when the kubernetes accelerator feature support is deprecated in version v1.11.
Copy link
Member

Choose a reason for hiding this comment

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

kubernetes accelerator feature support is deprecated in version v1.11.

Kubernetes accelerator support is already deprecated in 1.10. The PR to completely remove it is merged in master, so it will be completely removed in 1.11.

Copy link
Member

Choose a reason for hiding this comment

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

@mindprince Thanks for the more accurate deprecation procudure about Kubernetes accelerator. Will fire another PR to update this info.

Copy link
Member

Choose a reason for hiding this comment

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

while1malloc0 pushed a commit to while1malloc0/kube-state-metrics that referenced this pull request Jul 2, 2018
update readme for cronjob collector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cronjob support, docs question
5 participants