1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-21 09:12:29 +00:00
gists/Test nslookup different k8s namespaces
J. Fernando Sánchez f48bab94dd Move files
2021-10-30 15:23:01 +02:00
..
gistfile1.txt Move files 2021-10-30 15:23:01 +02:00
pruebans1.yml Move files 2021-10-30 15:23:01 +02:00
README.md Move files 2021-10-30 15:23:01 +02:00

kubectl apply -f pruebans1.yml
kubectl apply -f pruebans2.yml
kubectl exec -ti $(kubectl get pods -n pruebans1 --no-headers -o custom-columns=":metadata.name")  -n pruebans1 -- nslookup pruebans2.pruebans2