Created
November 30, 2021 20:31
-
-
Save trozet/7c1ba79270c06e243065c0c0ca548765 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora contrib]$ kubectl get svc | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 5m23s | |
my-service NodePort 10.96.76.30 1.1.1.1 1337:32177/UDP,80:30710/TCP 87s | |
[trozet@fedora contrib]$ kubectl exec -n exgw2 -it podexgw2 /bin/bash | |
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. | |
[root@podexgw2 /]# curl 1.1.1.1:80 | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html> | |
<title>Directory listing for /</title> | |
<body> | |
<h2>Directory listing for /</h2> | |
<hr> | |
<ul> | |
<li><a href="anaconda-post.log">anaconda-post.log</a> | |
<li><a href="bin/">bin@</a> | |
<li><a href="boot/">boot/</a> | |
<li><a href="dev/">dev/</a> | |
<li><a href="etc/">etc/</a> | |
<li><a href="home/">home/</a> | |
<li><a href="lib/">lib@</a> | |
<li><a href="lib64/">lib64@</a> | |
<li><a href="media/">media/</a> | |
<li><a href="mnt/">mnt/</a> | |
<li><a href="opt/">opt/</a> | |
<li><a href="proc/">proc/</a> | |
<li><a href="root/">root/</a> | |
<li><a href="run/">run/</a> | |
<li><a href="sbin/">sbin@</a> | |
<li><a href="srv/">srv/</a> | |
<li><a href="sys/">sys/</a> | |
<li><a href="tmp/">tmp/</a> | |
<li><a href="usr/">usr/</a> | |
<li><a href="var/">var/</a> | |
</ul> | |
<hr> | |
</body> | |
</html> | |
[trozet@fedora contrib]$ kubectl get namespace exgw2 -o yaml | grep routing | |
k8s.ovn.org/routing-external-gws: 172.18.0.4,172.18.0.5,172.18.0.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment