pospt prep
This commit is contained in:
1
main.go
1
main.go
@@ -13,6 +13,7 @@ const appname = "oc-scheduler"
|
||||
|
||||
func main() {
|
||||
o := oclib.GetConfLoader(appname)
|
||||
conf.GetConfig().PrepLeadSeconds = o.GetIntDefault("PREP_LEAD_SECONDS", 120)
|
||||
conf.GetConfig().KubeHost = o.GetStringDefault("KUBERNETES_SERVICE_HOST", "kubernetes.default.svc.cluster.local")
|
||||
conf.GetConfig().KubePort = o.GetStringDefault("KUBERNETES_SERVICE_PORT", "6443")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user