we-dcode / kubetunnel

Develop microservices locally while being connected to your Kubernetes environment

Home Page:https://dcode.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scaledown original deployment

eliranw opened this issue · comments

  1. Query the application in controller and scaledown the original deployment, and update status in deployment with kubetunnel/lastReplicaCount.
  2. Add logic for when disconnected/connected then scale back - scale down.
  3. scale up - if replica count is not 0, then only remove label, else, scale up and remove label.