+func (h *Helm) GetEndpointInfo(name string) (ip string, port int) {
+ args := fmt.Sprintf(" get endpoints -o=jsonpath='{.subsets[*].addresses[*].ip}' %s -n %s", name, h.cm.GetNamespace(""))
+ out, err := KubectlExec(args)
+ if err != nil {
+ return
+ }
+
+ return string(out), 4560
+}
+