Refactor scripts names and location
This commit is contained in:
4
scripts/shell/job/k8s-ssh-control-plane.sh
Executable file
4
scripts/shell/job/k8s-ssh-control-plane.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
control_plane_ip=`kubectl get nodes --no-headers --selector 'node-role.kubernetes.io/control-plane' -o wide | awk '{print $6}'`
|
||||
ssh k8s@$control_plane_ip
|
||||
Reference in New Issue
Block a user