WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Add revisionHistoryLimit to deployments #53

@kfferrando

Description

@kfferrando

We are leaving behind a replicaset every time we deploy, that never get cleaned up.

$ k get rs --all-namespaces | awk '{if ($3==0 && $4==0 && $5==0){print $1;}}' | sort | uniq -c
30 sumo-dev
30 sumo-prod
39 sumo-stage

Definining revisionHistoryLimit: <int> will ensure cleanup of stale RS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions