-
- Downloads
Implement replicaLoadBalancer boolean flag. (#38)
The flag adds a replica service with the name cluster_name-repl and a DNS name that defaults to {cluster}-repl.{team}.{hostedzone}. The implementation converted Service field of the cluster into a map with one or two elements and deals with the cases when the new flag is changed on a running cluster (the update and the sync should create or delete the replica service). In order to pick up master and replica service and master endpoint when listing cluster resources. * Update the spec when updating the cluster.
Showing
- pkg/cluster/cluster.go 79 additions, 27 deletionspkg/cluster/cluster.go
- pkg/cluster/k8sres.go 24 additions, 13 deletionspkg/cluster/k8sres.go
- pkg/cluster/resources.go 41 additions, 30 deletionspkg/cluster/resources.go
- pkg/cluster/sync.go 37 additions, 25 deletionspkg/cluster/sync.go
- pkg/cluster/types.go 8 additions, 0 deletionspkg/cluster/types.go
- pkg/cluster/util.go 24 additions, 9 deletionspkg/cluster/util.go
- pkg/cluster/volumes.go 7 additions, 8 deletionspkg/cluster/volumes.go
- pkg/controller/pod.go 3 additions, 3 deletionspkg/controller/pod.go
- pkg/controller/util.go 1 addition, 1 deletionpkg/controller/util.go
- pkg/spec/postgresql.go 25 additions, 11 deletionspkg/spec/postgresql.go
- pkg/spec/types.go 14 additions, 2 deletionspkg/spec/types.go
- pkg/util/config/config.go 14 additions, 13 deletionspkg/util/config/config.go
- pkg/util/config/util.go 4 additions, 4 deletionspkg/util/config/util.go
- pkg/util/constants/annotations.go 1 addition, 0 deletionspkg/util/constants/annotations.go
- pkg/util/constants/aws.go 4 additions, 1 deletionpkg/util/constants/aws.go
- pkg/util/constants/kubernetes.go 1 addition, 0 deletionspkg/util/constants/kubernetes.go
- pkg/util/constants/thirdpartyresource.go 1 addition, 0 deletionspkg/util/constants/thirdpartyresource.go
- pkg/util/constants/units.go 1 addition, 0 deletionspkg/util/constants/units.go
- pkg/util/filesystems/ext234.go 7 additions, 4 deletionspkg/util/filesystems/ext234.go
- pkg/util/retryutil/retry_util.go 1 addition, 0 deletionspkg/util/retryutil/retry_util.go
Loading
Please register or sign in to comment