Skip to content

Commit

Permalink
Merge pull request #1253 from lilic/alpha.1
Browse files Browse the repository at this point in the history
Cut v2.0.0.-alpha.1
  • Loading branch information
k8s-ci-robot authored Oct 7, 2020
2 parents a0a893d + 3d79f7d commit b6a83ca
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 18 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
## v2.0.0.-alpha / 2020-05-24
## v2.0.0-alpha.1 / 2020-10-06

* [CHANGE] Update go module path to k8s.io/kube-state-metrics/v2 #1238
* [CHANGE] Bump klog to v2 and client-go to 1.19 #1250
* [FEATURE] Add iscsi initiator name to persistentvolume_info #1235
* [BUGFIX] Added Namespace to Rolebinding Jsonnet #1233
* [BUGFIX] Reference closure scoped family generator #1240

## v2.0.0-alpha / 2020-09-16

NOTE: This is a major new alpha 2.0 release with breaking changes and removed metrics. See details below!

* [CHANGE] Update go module path to k8s.io/kube-state-metrics/v2 #1238
* [CHANGE] Apply boundaries to metrics and allow via flag (--labels-allow-list) what labels to include #1125
* [CHANGE] Update DaemonSet updated_number_scheduled metric name to be consistent #1181
Metric was changed from kube_daemonset_updated_number_scheduled to kube_daemonset_status_updated_number_scheduled
* [CHANGE] Rework resource metrics #1168
Expand All @@ -15,7 +23,8 @@ Metrics kube_pod_container_resource_requests, kube_pod_container_resource_limits
* [CHANGE] v2: Rename collector flag to resource flag #1006
--resources is the new flag
* [CHANGE] Remove non-identifying labels from pod metrics #1009
* [CHANGE] v2: Remove deprecated metrics #1004
* [CHANGE] v2: Remove deprecated stable metrics #1004
Note that some of these were replaced with EXPERIMENTAL resource metrics. See #1168 for more details.
`kube_pod_container_resource_requests` and `kube_pod_container_resource_limits` are the replacements with `resource` labels
representing the resource name and `unit` labels representing the resource unit.
- kube_pod_container_resource_requests_cpu_cores
Expand All @@ -37,7 +46,6 @@ New flags are --metric-allowlist and --metric-denylist
All metrics with prefix of kube_hpa_ were renamed to kube_horizontalpodautoscaler_
* [CHANGE] v2: change metrics port to 8080, telemetry port to 8081 #1005
* [FEATURE] Add http request metric for kube-state-metrics main /metrics #1218
* [FEATURE] Apply boundaries to metrics and allow via flag (--labels-allow-list) what labels to include #1125
* [FEATURE] Add fc/iscsi/nfs identifier tags to persistentvolume_info metric #1208
* [FEATURE] Adds new pod metric kube_pod_container_state_started #1183
* [FEATURE] Add observedGeneration metric (kube_daemonset_status_observed_generation) for DaemonSets #1178
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ At most, 5 kube-state-metrics and 5 [kubernetes releases](https://github.com/kub
|--------------------|---------------------|---------------------|----------------------|----------------------|----------------------|
| **v1.8.0** || - | - | - | - |
| **v1.9.7** | - || - | - | - |
| **v2.0.0-alpha** | - | ||||
| **master** | - | ||||
| **v2.0.0-alpha.1** | - | - ||||
| **master** | - | - ||||
- `` Fully supported version range.
- `-` The Kubernetes cluster has features the client-go library can't use (additional API objects, deprecated APIs, etc).

Expand All @@ -80,10 +80,10 @@ release.
#### Container Image

The latest container image can be found at:
* `quay.io/coreos/kube-state-metrics:v2.0.0-alpha`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics:2.0.0-alpha`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics-arm:2.0.0-alpha`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics-arm64:2.0.0-alpha`
* `quay.io/coreos/kube-state-metrics:v2.0.0-alpha.1`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics:2.0.0-alpha.1`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics-arm:2.0.0-alpha.1`
* `k8s.gcr.io/kube-state-metrics/kube-state-metrics-arm64:2.0.0-alpha.1`

### Metrics Documentation

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0-alpha
2.0.0-alpha.1
2 changes: 1 addition & 1 deletion examples/standard/cluster-role-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
name: kube-state-metrics
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
2 changes: 1 addition & 1 deletion examples/standard/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
name: kube-state-metrics
rules:
- apiGroups:
Expand Down
6 changes: 3 additions & 3 deletions examples/standard/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
name: kube-state-metrics
namespace: kube-system
spec:
Expand All @@ -15,10 +15,10 @@ spec:
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
spec:
containers:
- image: quay.io/coreos/kube-state-metrics:v2.0.0-alpha
- image: quay.io/coreos/kube-state-metrics:v2.0.0-alpha.1
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion examples/standard/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
name: kube-state-metrics
namespace: kube-system
2 changes: 1 addition & 1 deletion examples/standard/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.0.0-alpha
app.kubernetes.io/version: 2.0.0-alpha.1
name: kube-state-metrics
namespace: kube-system
spec:
Expand Down

0 comments on commit b6a83ca

Please sign in to comment.