read Coordination V1beta1Namespaced Lease

GET {{baseUrl}}/apis/coordination.k8s.io/v1beta1/namespaces/:namespace/leases/:name?exact=<boolean>&export=<boolean>&pretty=<string>

read the specified Lease

Request Params

KeyDatatypeRequiredDescription
exactstringShould the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
exportstringShould this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
prettystringIf 'true', then the output is pretty printed.

RESPONSES

status: OK

{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;sunt &quot;,&quot;creationTimestamp&quot;:&quot;1986-12-18T04:23:41.045Z&quot;,&quot;deletionGracePeriodSeconds&quot;:81692616,&quot;deletionTimestamp&quot;:&quot;1968-01-25T09:09:13.557Z&quot;,&quot;finalizers&quot;:[&quot;dolor veniam pariatur nisi&quot;,&quot;aute do&quot;],&quot;generateName&quot;:&quot;sint&quot;,&quot;generation&quot;:12193484,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;laborum veniam&quot;,&quot;fieldsType&quot;:&quot;enim&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;&quot;,&quot;operation&quot;:&quot;reprehenderit incididunt labore laborum&quot;,&quot;time&quot;:&quot;2014-01-14T07:22:03.670Z&quot;},{&quot;apiVersion&quot;:&quot;sint minim cupidatat&quot;,&quot;fieldsType&quot;:&quot;consequat&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ipsum mollit&quot;,&quot;operation&quot;:&quot;esse cillum reprehenderit culpa&quot;,&quot;time&quot;:&quot;1993-02-06T11:07:45.743Z&quot;}],&quot;name&quot;:&quot;sint consequat laborum&quot;,&quot;namespace&quot;:&quot;laborum dolore voluptate ut&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;deserunt dolore anim&quot;,&quot;kind&quot;:&quot;mollit&quot;,&quot;name&quot;:&quot;et dolor&quot;,&quot;uid&quot;:&quot;do in&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;in aliqua Excepteur dolore&quot;,&quot;kind&quot;:&quot;cupidatat veniam labore&quot;,&quot;name&quot;:&quot;ut sed labore in&quot;,&quot;uid&quot;:&quot;Ut proident&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;sed velit aliquip&quot;,&quot;selfLink&quot;:&quot;non consectetur&quot;,&quot;uid&quot;:&quot;laborum&quot;},&quot;spec&quot;:{&quot;acquireTime&quot;:&quot;1977-01-27T07:40:02.628Z&quot;,&quot;holderIdentity&quot;:&quot;ullamco magna irure aute&quot;,&quot;leaseDurationSeconds&quot;:-18889443,&quot;leaseTransitions&quot;:-32180511,&quot;renewTime&quot;:&quot;1969-05-02T00:56:30.490Z&quot;}}