1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-23 09:52:28 +00:00
gists/Test nslookup different k8s namespaces/README.md
J. Fernando Sánchez f48bab94dd Move files
2021-10-30 15:23:01 +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
```