Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. anfadey5@la5490:~$ kubectl create deployment nginx --image=nginx
  2. deployment.apps/nginx created
  3. anfadey5@la5490:~$ kubectl get deployments.apps/nginx -o json | jq .metadata.managedFields[]
  4. {
  5. "apiVersion": "apps/v1",
  6. "fieldsType": "FieldsV1",
  7. "fieldsV1": {
  8. "f:metadata": {
  9. "f:annotations": {
  10. ".": {},
  11. "f:deployment.kubernetes.io/revision": {}
  12. }
  13. },
  14. "f:status": {
  15. "f:conditions": {
  16. ".": {},
  17. "k:{\"type\":\"Available\"}": {
  18. ".": {},
  19. "f:lastTransitionTime": {},
  20. "f:lastUpdateTime": {},
  21. "f:message": {},
  22. "f:reason": {},
  23. "f:status": {},
  24. "f:type": {}
  25. },
  26. "k:{\"type\":\"Progressing\"}": {
  27. ".": {},
  28. "f:lastTransitionTime": {},
  29. "f:lastUpdateTime": {},
  30. "f:message": {},
  31. "f:reason": {},
  32. "f:status": {},
  33. "f:type": {}
  34. }
  35. },
  36. "f:observedGeneration": {},
  37. "f:replicas": {},
  38. "f:unavailableReplicas": {},
  39. "f:updatedReplicas": {}
  40. }
  41. },
  42. "manager": "kube-controller-manager",
  43. "operation": "Update",
  44. "time": "2020-11-23T17:42:49Z"
  45. }
  46. {
  47. "apiVersion": "apps/v1",
  48. "fieldsType": "FieldsV1",
  49. "fieldsV1": {
  50. "f:metadata": {
  51. "f:labels": {
  52. ".": {},
  53. "f:app": {}
  54. }
  55. },
  56. "f:spec": {
  57. "f:progressDeadlineSeconds": {},
  58. "f:replicas": {},
  59. "f:revisionHistoryLimit": {},
  60. "f:selector": {
  61. "f:matchLabels": {
  62. ".": {},
  63. "f:app": {}
  64. }
  65. },
  66. "f:strategy": {
  67. "f:rollingUpdate": {
  68. ".": {},
  69. "f:maxSurge": {},
  70. "f:maxUnavailable": {}
  71. },
  72. "f:type": {}
  73. },
  74. "f:template": {
  75. "f:metadata": {
  76. "f:labels": {
  77. ".": {},
  78. "f:app": {}
  79. }
  80. },
  81. "f:spec": {
  82. "f:containers": {
  83. "k:{\"name\":\"nginx\"}": {
  84. ".": {},
  85. "f:image": {},
  86. "f:imagePullPolicy": {},
  87. "f:name": {},
  88. "f:resources": {},
  89. "f:terminationMessagePath": {},
  90. "f:terminationMessagePolicy": {}
  91. }
  92. },
  93. "f:dnsPolicy": {},
  94. "f:restartPolicy": {},
  95. "f:schedulerName": {},
  96. "f:securityContext": {},
  97. "f:terminationGracePeriodSeconds": {}
  98. }
  99. }
  100. }
  101. },
  102. "manager": "kubectl",
  103. "operation": "Update",
  104. "time": "2020-11-23T17:42:49Z"
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement