Created
June 29, 2016 18:34
-
-
Save CaptTofu/99fbb94e7a6e3d8e58c1a6e9b90ae476 to your computer and use it in GitHub Desktop.
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
core@core-01 ~ $ ./kubectl --server=172.17.8.102:8080 get pods | |
NAME READY STATUS RESTARTS AGE | |
nginx-198147104-8rikq 1/1 Running 0 2m | |
core@core-01 ~ $ ./kubectl --server=172.17.8.102:8080 describe pod nginx-198147104-8rikq | |
Name: nginx-198147104-8rikq | |
Namespace: default | |
Node: core-03/172.17.8.103 | |
Start Time: Wed, 29 Jun 2016 18:31:41 +0000 | |
Labels: pod-template-hash=198147104,run=nginx | |
Status: Running | |
IP: 10.1.47.2 | |
Controllers: ReplicaSet/nginx-198147104 | |
Containers: | |
nginx: | |
Container ID: docker://8a527c58dd85847a61e66c05bdd9a303382bf64a433d113bde991c99aba10d12 | |
Image: nginx | |
Image ID: docker://sha256:0d409d33b27e47423b049f7f863faa08655a8c901749c2b25b93ca67d01a470d | |
Port: 80/TCP | |
QoS Tier: | |
cpu: BestEffort | |
memory: BestEffort | |
State: Running | |
Started: Wed, 29 Jun 2016 18:33:16 +0000 | |
Ready: True | |
Restart Count: 0 | |
Environment Variables: | |
Conditions: | |
Type Status | |
Ready True | |
No volumes. | |
Events: | |
FirstSeen LastSeen Count From SubobjectPath Type Reason Message | |
--------- -------- ----- ---- ------------- -------- ------ ------- | |
2m 2m 1 {default-scheduler } Normal Scheduled Successfully assigned nginx-198147104-8rikq to core-03 | |
2m 2m 1 {kubelet core-03} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "addNDotsOption: ResolvConfPath \"/var/lib/docker/containers/8a20dc2891724a3cb52fb7a7e0f39c7ff3b6c48b6fbba349fe05cc17cc529f4f/resolv.conf\" does not exist" | |
2m 2m 1 {kubelet core-03} spec.containers{nginx} Normal Pulling pulling image "nginx" | |
2m 1m 2 {kubelet core-03} Warning MissingClusterDNS kubelet does not have ClusterDNS IP configured and cannot create Pod using "ClusterFirst" policy. Falling back to DNSDefault policy. | |
1m 1m 1 {kubelet core-03} spec.containers{nginx} Normal Pulled Successfully pulled image "nginx" | |
1m 1m 1 {kubelet core-03} spec.containers{nginx} Normal Created Created container with docker id 8a527c58dd85 | |
1m 1m 1 {kubelet core-03} spec.containers{nginx} Normal Started Started container with docker id 8a527c58dd85 | |
core@core-01 ~ $ curl 10.1.47.2 | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Welcome to nginx!</title> | |
<style> | |
body { | |
width: 35em; | |
margin: 0 auto; | |
font-family: Tahoma, Verdana, Arial, sans-serif; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Welcome to nginx!</h1> | |
<p>If you see this page, the nginx web server is successfully installed and | |
working. Further configuration is required.</p> | |
<p>For online documentation and support please refer to | |
<a href="http://nginx.org/">nginx.org</a>.<br/> | |
Commercial support is available at | |
<a href="http://nginx.com/">nginx.com</a>.</p> | |
<p><em>Thank you for using nginx.</em></p> | |
</body> | |
</html> | |
core@core-01 ~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment