1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-23 18:02:29 +00:00
gists/repos/Test nslookup different k8s namespaces/README.md

9 lines
223 B
Markdown
Raw Normal View History

```
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
```