Last active
August 29, 2015 02:17
-
-
Save danehans/dd702f77ffbe7a3b98f8 to your computer and use it in GitHub Desktop.
magnum pod and svc verification
This file contains hidden or 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
$ kubectl get minions | |
NAME LABELS STATUS | |
10.0.0.6 <none> Ready | |
[minion@k8-wljn7oevns-0-q5a5yxn24y6k-kube-minion-3niub53a5fq6 ~]$ kubectl get pods | |
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS CREATED | |
web 10.100.59.2 web larsks/thttpd 10.0.0.6/ name=web Running 4 hours | |
$ kubectl get services | |
NAME LABELS SELECTOR IP PORT(S) | |
kubernetes component=apiserver,provider=kubernetes <none> 10.254.0.2 443/TCP | |
kubernetes-ro component=apiserver,provider=kubernetes <none> 10.254.0.1 80/TCP | |
web <none> name=web 10.254.147.190 8000/TCP | |
$ curl http://10.100.59.2:80 | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Your web server is working</title> | |
<style type="text/css"> | |
body { | |
text-align: center; | |
font-family: Arial,"Helvetica Neue",Helvetica,sans-serif; | |
} | |
pre { | |
border: thin solid black; | |
padding: 1em; | |
background-color: #c0c0c0; | |
} | |
#summary { | |
max-width: 40em; | |
margin: auto; | |
text-align: left; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="header"> | |
<pre> | |
____ _ _ _ _ | |
/ ___|___ _ __ __ _ _ __ __ _| |_ _ _| | __ _| |_(_) ___ _ __ ___ | |
| | / _ \| '_ \ / _` | '__/ _` | __| | | | |/ _` | __| |/ _ \| '_ \/ __| | |
| |__| (_) | | | | (_| | | | (_| | |_| |_| | | (_| | |_| | (_) | | | \__ \ | |
\____\___/|_| |_|\__, |_| \__,_|\__|\__,_|_|\__,_|\__|_|\___/|_| |_|___/ | |
|___/ | |
</pre> | |
<p><strong>You have a web server.</strong></p> | |
</div> | |
<div id="summary"> | |
<p>This is a statically compiled version of <a href="http://acme.com/software/thttpd/">thttpd</a> | |
put together to build a demonstration container for my | |
<a href="https://github.com/larsks/heat-kubernetes">Heat templates for Kubernetes</a>. But maybe | |
you'll find it useful for other things.</p> | |
</div> | |
</body> | |
</html> | |
$ curl http://10.254.147.190:8000 | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Your web server is working</title> | |
<style type="text/css"> | |
body { | |
text-align: center; | |
font-family: Arial,"Helvetica Neue",Helvetica,sans-serif; | |
} | |
pre { | |
border: thin solid black; | |
padding: 1em; | |
background-color: #c0c0c0; | |
} | |
#summary { | |
max-width: 40em; | |
margin: auto; | |
text-align: left; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="header"> | |
<pre> | |
____ _ _ _ _ | |
/ ___|___ _ __ __ _ _ __ __ _| |_ _ _| | __ _| |_(_) ___ _ __ ___ | |
| | / _ \| '_ \ / _` | '__/ _` | __| | | | |/ _` | __| |/ _ \| '_ \/ __| | |
| |__| (_) | | | | (_| | | | (_| | |_| |_| | | (_| | |_| | (_) | | | \__ \ | |
\____\___/|_| |_|\__, |_| \__,_|\__|\__,_|_|\__,_|\__|_|\___/|_| |_|___/ | |
|___/ | |
</pre> | |
<p><strong>You have a web server.</strong></p> | |
</div> | |
<div id="summary"> | |
<p>This is a statically compiled version of <a href="http://acme.com/software/thttpd/">thttpd</a> | |
put together to build a demonstration container for my | |
<a href="https://github.com/larsks/heat-kubernetes">Heat templates for Kubernetes</a>. But maybe | |
you'll find it useful for other things.</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment