From 7aa0c016d0dcec8f5eda737d07eac98d177a256e Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Tue, 3 Apr 2018 11:00:23 -0700 Subject: [PATCH 1/2] update readme for cronjob collector --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 89174842cd..4b6adfe10b 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,10 @@ additional metrics! > **collectors** > * v2alpha1/cronjob > -> 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` +> 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 > > Any collectors and metrics based on alpha Kubernetes APIs are excluded from any stability guarantee, > which may be changed at any given release. From 6964974c33aa21917da88a414d197a392fffb215 Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Tue, 3 Apr 2018 13:38:52 -0700 Subject: [PATCH 2/2] remove cronjob alpha statement --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index 4b6adfe10b..e7b44b0016 100644 --- a/README.md +++ b/README.md @@ -87,15 +87,7 @@ additional metrics! > * kube_node_status_capacity_nvidia_gpu_cards > * kube_node_status_allocatable_nvidia_gpu_cards > -> are in alpha stage and will be deprecated when the kubernetes gpu support is final in 1.9 version. -> -> **collectors** -> * v2alpha1/cronjob -> -> 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 +> are in alpha stage and will be deprecated when the kubernetes accelerator feature support is deprecated in version v1.11. > > Any collectors and metrics based on alpha Kubernetes APIs are excluded from any stability guarantee, > which may be changed at any given release.