Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Provide consumption-friendly event for Cluster Autoscaler's ScaleDownEmpty event for CA's ConfigMap #174

Open
tomkerkhove opened this issue Apr 12, 2021 · 0 comments
Assignees
Labels
components:cluster-autoscaler All issues related to Kubernetes' Cluster Autoscaler event-type All issues related to event types feature hacktoberfest

Comments

@tomkerkhove
Copy link
Owner

Contact Details

No response

Scenario

Provide consumption-friendly event for Cluster Autoscaler's ScaleDownEmpty event for CA's ConfigMap.

See https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-events-are-emitted-by-ca for more information

Relates to #123

Proposed Event Type

TBD

Proposed Event Payload

TBD

Raw Kubernetes Event

{
    "metadata": {
        "name": "cluster-autoscaler-status.1663d8e388c6e362",
        "namespace": "kube-system",
        "selfLink": "/api/v1/namespaces/kube-system/events/cluster-autoscaler-status.1663d8e388c6e362",
        "uid": "d07ae469-5d73-494f-8085-edd2c1916c25",
        "resourceVersion": "10105701",
        "creationTimestamp": "2021-02-15T06:46:03Z",
        "managedFields": [
            {
                "manager": "cluster-autoscaler",
                "operation": "Update",
                "apiVersion": "v1",
                "time": "2021-02-15T06:46:03Z"
            }
        ]
    },
    "reason": "ScaleDownEmpty",
    "message": "Scale-down: removing empty node aks-agentpool-11593772-vmss000004",
    "source": {
        "component": "cluster-autoscaler"
    },
    "firstTimestamp": "2021-02-15T06:46:03Z",
    "lastTimestamp": "2021-02-15T06:46:03Z",
    "count": 1,
    "type": "Normal",
    "eventTime": null,
    "reportingComponent": "",
    "reportingInstance": "",
    "involvedObject": {
        "kind": "ConfigMap",
        "namespace": "kube-system",
        "name": "cluster-autoscaler-status",
        "uid": "4bef47ef-d436-4ed8-8f42-9a5a9f6175da",
        "apiVersion": "v1",
        "resourceVersion": "10105672"
    }
}

Source Component

Cluster Autoscaler

@tomkerkhove tomkerkhove added feature event-type All issues related to event types labels Apr 12, 2021
@tomkerkhove tomkerkhove self-assigned this Apr 12, 2021
@tomkerkhove tomkerkhove added the components:cluster-autoscaler All issues related to Kubernetes' Cluster Autoscaler label Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
components:cluster-autoscaler All issues related to Kubernetes' Cluster Autoscaler event-type All issues related to event types feature hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant