Merge pull request #1435 from mml/k8s-ig-dead-code
Automatic merge from submit-queue Delete dead code in cluster_manager. <!-- Reviewable:start --> This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/contrib/1435) <!-- Reviewable:end -->
This commit is contained in:
commit
01cf346b6f
1 changed files with 0 additions and 9 deletions
|
@ -17,7 +17,6 @@ limitations under the License.
|
|||
package controller
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
|
@ -39,10 +38,6 @@ const (
|
|||
defaultPort = 80
|
||||
defaultHealthCheckPath = "/"
|
||||
|
||||
// A single instance-group is created per cluster manager.
|
||||
// Tagged with the name of the controller.
|
||||
instanceGroupPrefix = "k8s-ig"
|
||||
|
||||
// A backend is created per nodePort, tagged with the nodeport.
|
||||
// This allows sharing of backends across loadbalancers.
|
||||
backendPrefix = "k8s-be"
|
||||
|
@ -199,10 +194,6 @@ func (c *ClusterManager) GC(lbNames []string, nodePorts []int64) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func defaultInstanceGroupName(clusterName string) string {
|
||||
return fmt.Sprintf("%v-%v", instanceGroupPrefix, clusterName)
|
||||
}
|
||||
|
||||
func getGCEClient(config io.Reader) *gce.GCECloud {
|
||||
// Creating the cloud interface involves resolving the metadata server to get
|
||||
// an oauth token. If this fails, the token provider assumes it's not on GCE.
|
||||
|
|
Loading…
Reference in a new issue