Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. core@core-01 ~ $ ./kubectl create -f secret.yaml
  2. secrets/test-secret
  3. core@core-01 ~ $ ./kubectl get secrets
  4. NAME TYPE DATA
  5. test-secret Opaque 2
  6. core@core-01 ~ $ ./kubectl create -f secret-
  7. secret-busy.yaml secret-pod.yaml
  8. core@core-01 ~ $ ./kubectl create -f secret-pod.yaml
  9. pods/secret-test-pod
  10. core@core-01 ~ $ ./kubectl describe pod secret-test-pod
  11. Name: secret-test-pod
  12. Image(s): kubernetes/mounttest:0.1
  13. Node: 127.0.0.1/127.0.0.1
  14. Labels: <none>
  15. Status: Pending
  16. Reason:
  17. Message:
  18. IP:
  19. Replication Controllers: <none>
  20. Containers:
  21. test-container:
  22. Image: kubernetes/mounttest:0.1
  23. State: Waiting
  24. Reason: Image: kubernetes/mounttest:0.1 is ready, container is creating
  25. Ready: False
  26. Restart Count: 0
  27. Conditions:
  28. Type Status
  29. Ready False
  30. Events:
  31. FirstSeen LastSeen Count From SubobjectPath Reason Message
  32. Tue, 07 Jul 2015 17:48:00 +0000 Tue, 07 Jul 2015 17:48:00 +0000 1 {scheduler } scheduled Successfully assigned secret-test-pod to 127.0.0.1
  33. Tue, 07 Jul 2015 17:48:00 +0000 Tue, 07 Jul 2015 17:48:10 +0000 2 {kubelet 127.0.0.1} failedMount Unable to mount volumes for pod "secret-test-pod_default": fork/exec /nsenter: no such file or directory
  34. Tue, 07 Jul 2015 17:48:00 +0000 Tue, 07 Jul 2015 17:48:10 +0000 2 {kubelet 127.0.0.1} failedSync Error syncing pod, skipping: fork/exec /nsenter: no such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement