Guest User

Untitled

a guest
Feb 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. {
  2. "apiVersion": "v1",
  3. "items": [
  4. {
  5. "apiVersion": "extensions/v1beta1",
  6. "kind": "Deployment",
  7. "metadata": {
  8. "annotations": {
  9. "deployment.kubernetes.io/revision": "1"
  10. },
  11. "creationTimestamp": "2018-02-11T05:31:15Z",
  12. "generation": 1,
  13. "labels": {
  14. "run": "nginx"
  15. },
  16. "name": "nginx",
  17. "namespace": "default",
  18. "resourceVersion": "3118",
  19. "selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/nginx",
  20. "uid": "c730b7f5-0eec-11e8-b429-080027cf88b6"
  21. },
  22. "spec": {
  23. "replicas": 1,
  24. "selector": {
  25. "matchLabels": {
  26. "run": "nginx"
  27. }
  28. },
  29. "strategy": {
  30. "rollingUpdate": {
  31. "maxSurge": 1,
  32. "maxUnavailable": 1
  33. },
  34. "type": "RollingUpdate"
  35. },
  36. "template": {
  37. "metadata": {
  38. "creationTimestamp": null,
  39. "labels": {
  40. "run": "nginx"
  41. }
  42. },
  43. "spec": {
  44. "containers": [
  45. {
  46. "image": "nginx",
  47. "imagePullPolicy": "Always",
  48. "name": "nginx",
  49. "resources": {},
  50. "terminationMessagePath": "/dev/termination-log",
  51. "terminationMessagePolicy": "File"
  52. }
  53. ],
  54. "dnsPolicy": "ClusterFirst",
  55. "restartPolicy": "Always",
  56. "schedulerName": "default-scheduler",
  57. "securityContext": {},
  58. "terminationGracePeriodSeconds": 30
  59. }
  60. }
  61. },
  62. "status": {
  63. "availableReplicas": 1,
  64. "conditions": [
  65. {
  66. "lastTransitionTime": "2018-02-11T05:31:15Z",
  67. "lastUpdateTime": "2018-02-11T05:31:15Z",
  68. "message": "Deployment has minimum availability.",
  69. "reason": "MinimumReplicasAvailable",
  70. "status": "True",
  71. "type": "Available"
  72. }
  73. ],
  74. "observedGeneration": 1,
  75. "readyReplicas": 1,
  76. "replicas": 1,
  77. "updatedReplicas": 1
  78. }
  79. }
  80. ],
  81. "kind": "List",
  82. "metadata": {
  83. "resourceVersion": "",
  84. "selfLink": ""
  85. }
  86. }
Add Comment
Please, Sign In to add comment