You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Problem: We cant support kubemci remove-clusters without downtime.
This is because we need to update LoadBalancerStatus which is stored as description on ForwardingRule. But Forwarding rule does not have an update API. We need to delete and recreate it resulting in user visible downtime.
Solution: Store LoadBalancerStatus on some other resource that supports update API :)
Longer version:
Today we store LoadBalancerStatus on forwarding rule. We store this status to be able to surface useful information when users run kubemci list and kubemci get-status.
While implementing kubemci remove-clusters, I realized that there is no UpdateForwardingRule API. We need to delete and recreate it to be able to update the description field (link to code)
This results in downtime for the user. The whole point of adding a remove-clusters command was to let users remove an existing MCI from some clusters without resulting in user facing downtime.
I like URLMap to store the status. We have a single URLMap per ingress.
This is unlike other resources which can be multiple - multiple BackendServices for multiple services in ingress and http and https forwarding rules and target proxies).
Problem: We cant support
kubemci remove-clusters
without downtime.This is because we need to update LoadBalancerStatus which is stored as description on ForwardingRule. But Forwarding rule does not have an update API. We need to delete and recreate it resulting in user visible downtime.
Solution: Store LoadBalancerStatus on some other resource that supports update API :)
Longer version:
Today we store LoadBalancerStatus on forwarding rule. We store this status to be able to surface useful information when users run
kubemci list
andkubemci get-status
.While implementing
kubemci remove-clusters
, I realized that there is no UpdateForwardingRule API. We need to delete and recreate it to be able to update the description field (link to code)This results in downtime for the user. The whole point of adding a remove-clusters command was to let users remove an existing MCI from some clusters without resulting in user facing downtime.
cc @csbell @G-Harmon @mdelio
The text was updated successfully, but these errors were encountered: