Policy for recycling nodes, specifically PVMs
apiVersion: ballast.bonny.run/v1
kind: RecyclePolicy
spec:
maxLifetime: 86400 # max lifetime of a node
drainTimeout: 300 # time (s) to wait before killing a node
interval: 600 # time (s) to wait before each check
selector:
matchLabels:
cloud.google.com/gke-preemptible: "true"
Policy for recycling nodes, specifically PVMs