Iam using this command to set variable ssh -o StrictHostKeyChecking=no -l ec2-user 1.1.1.1 export GRAFANA=$(kubectl get svc grafana -n grafana -o jsonpath='{.status.loadBalancer.ingress[*].hostname}')
showing output this
++ kubectl get svc grafana -n grafana -o 'jsonpath={.status.loadBalancer.ingress[*].hostname}'
/home/ec2-user/workspace/eks-deploy-images@tmp/durable-df07175a/script.sh: line 21: kubectl: command not found
- ssh -o StrictHostKeyChecking=no -l ec2-user 18.222.112.99 export GRAFANA=