Skip to content

Instantly share code, notes, and snippets.

@alena1108
Created September 28, 2018 05:39
Show Gist options
  • Save alena1108/246562aacd82d2e94f6666b3efffe560 to your computer and use it in GitHub Desktop.
Save alena1108/246562aacd82d2e94f6666b3efffe560 to your computer and use it in GitHub Desktop.
UI request
{"baseType":"workload","containers":[{"image":"nginx:1.7.9","imagePullPolicy":"IfNotPresent","initContainer":false,"name":"nginx","resources":{"type":"/v3/project/schemas/resourceRequirements","requests":{},"limits":{}},"restartCount":0,"stdin":false,"stdinOnce":false,"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","tty":false,"type":"container","capAdd":[],"capDrop":[]}],"created":"2018-09-28T05:36:47Z","createdTS":1538113007000,"creatorId":null,"deploymentConfig":{"maxSurge":"25%","maxUnavailable":"25%","minReadySeconds":0,"progressDeadlineSeconds":600,"revisionHistoryLimit":10,"strategy":"RollingUpdate"},"deploymentStatus":{"availableReplicas":1,"conditions":[{"lastTransitionTime":"2018-09-28T05:36:48Z","lastTransitionTimeTS":1538113008000,"lastUpdateTime":"2018-09-28T05:36:48Z","lastUpdateTimeTS":1538113008000,"message":"Deployment has minimum availability.","reason":"MinimumReplicasAvailable","status":"True","type":"Available"},{"lastTransitionTime":"2018-09-28T05:36:47Z","lastTransitionTimeTS":1538113007000,"lastUpdateTime":"2018-09-28T05:36:48Z","lastUpdateTimeTS":1538113008000,"message":"ReplicaSet \"nginx-deployment-85f7784776\" has successfully progressed.","reason":"NewReplicaSetAvailable","status":"True","type":"Progressing"}],"observedGeneration":1,"readyReplicas":1,"replicas":1,"type":"/v3/project/schemas/deploymentStatus","unavailableReplicas":0,"updatedReplicas":1},"dnsPolicy":"ClusterFirst","hostIPC":false,"hostNetwork":false,"hostPID":false,"id":"deployment:default:nginx-deployment","labels":{"app":"nginx"},"name":"nginx-deployment","namespaceId":"default","paused":false,"projectId":"local:p-5qzzs","restartPolicy":"Always","scale":2,"schedulerName":"default-scheduler","selector":{"matchLabels":{"app":"nginx"},"type":"/v3/project/schemas/labelSelector"},"state":"active","terminationGracePeriodSeconds":30,"transitioning":"no","transitioningMessage":"","type":"deployment","uuid":"7dc29283-c2e0-11e8-b04e-080027377073","workloadAnnotations":{"deployment.kubernetes.io/revision":"1"},"workloadLabels":{"app":"nginx"},"scaleTimer":"74"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment