[ Agent ] [ APP ] - k8s dashboard

This commit is contained in:
zeaslity
2023-11-21 11:42:01 +08:00
parent d01ce135df
commit b4c44c7396
7 changed files with 46 additions and 26 deletions

View File

@@ -133,7 +133,11 @@ func (op *AgentOsOperator) deployRke(funcArgs []string) (bool, []string) {
},
})
//
if !BasicCreateFolder("/root/.kube") {
return false, []string{
"[deployRke] - folder [/root/.kube] create error!",
}
}
// replace ip addr
parseIP := net.ParseIP(funcArgs[0])