Skip to content

Commit

Permalink
Changed function name to more descriptive name ExecuteCodeOnKubelet
Browse files Browse the repository at this point in the history
  • Loading branch information
jay authored and jay committed Mar 6, 2019
1 parent 409f6a7 commit 21b3b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peirates.go
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ func GetNodesInfo(connectionString ServerInfo) {
}

//adam here
func GetNodeIP(connectionString ServerInfo) {
func ExecuteCodeOnKubelet(connectionString ServerInfo) {
fmt.Println("+ Getting IP addess for the nodes in the cluster")
//nodeDetailOut, _, err := runKubectlSimple(connectionString, "get", "nodes", "-o", "json")
//println(nodeDetailOut)
Expand Down Expand Up @@ -2180,7 +2180,7 @@ Peirates:># `)
// Use kubectl get nodes to get a list of nodes
// ----> GetNodesInfo(connectionString)
// Use kubectl get node _name_ -o yaml to get IP addresses
GetNodeIP(connectionString)
ExecuteCodeOnKubelet(connectionString)
// Find a line that matches - address: IP
// curl port 10255 to get pods: curl -sk http://10.23.58.41:10255/pods

Expand Down

0 comments on commit 21b3b2a

Please sign in to comment.