Guest User

Untitled

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