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
2021-10-30 15:16:04 +02:00

9 lines
223 B
Markdown

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