read Core V1Namespaced Service

GET {{baseUrl}}/api/v1/namespaces/:namespace/services/:name?exact=<boolean>&export=<boolean>&pretty=<string>

read the specified Service

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;in fugiat eu culpa&quot;,&quot;creationTimestamp&quot;:&quot;1980-12-16T19:34:49.763Z&quot;,&quot;deletionGracePeriodSeconds&quot;:-64251115,&quot;deletionTimestamp&quot;:&quot;1943-11-26T11:09:07.672Z&quot;,&quot;finalizers&quot;:[&quot;fugiat laborum in voluptate&quot;,&quot;sed nisi nostrud Ut&quot;],&quot;generateName&quot;:&quot;deserunt&quot;,&quot;generation&quot;:-5085056,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;enim ut&quot;,&quot;fieldsType&quot;:&quot;amet laboris tempor&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;dolor&quot;,&quot;operation&quot;:&quot;ullamco Excepteur&quot;,&quot;time&quot;:&quot;2013-02-08T11:46:37.018Z&quot;},{&quot;apiVersion&quot;:&quot;ea proident ut&quot;,&quot;fieldsType&quot;:&quot;ea labore in&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;veniam commodo aute&quot;,&quot;operation&quot;:&quot;dol&quot;,&quot;time&quot;:&quot;1976-11-12T05:44:07.449Z&quot;}],&quot;name&quot;:&quot;fugiat est et&quot;,&quot;namespace&quot;:&quot;veniam enim&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;in aliquip cupidatat&quot;,&quot;kind&quot;:&quot;al&quot;,&quot;name&quot;:&quot;magna aliqua in&quot;,&quot;uid&quot;:&quot;ut anim dolor E&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;sunt Excepteur sint dolor&quot;,&quot;kind&quot;:&quot;fugiat &quot;,&quot;name&quot;:&quot;enim&quot;,&quot;uid&quot;:&quot;voluptate nulla enim non&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;aliquip eiusmod incididunt dolore&quot;,&quot;selfLink&quot;:&quot;Ut au&quot;,&quot;uid&quot;:&quot;Ut in quis dolore reprehenderit&quot;},&quot;spec&quot;:{&quot;clusterIP&quot;:&quot;aliquip ex in commodo ips&quot;,&quot;externalIPs&quot;:[&quot;magna nisi&quot;,&quot;do mollit fugiat commodo U&quot;],&quot;externalName&quot;:&quot;labore consectetur qui officia occaecat&quot;,&quot;externalTrafficPolicy&quot;:&quot;reprehenderit in deserunt&quot;,&quot;healthCheckNodePort&quot;:40068939,&quot;ipFamily&quot;:&quot;voluptate&quot;,&quot;loadBalancerIP&quot;:&quot;irure do officia&quot;,&quot;loadBalancerSourceRanges&quot;:[&quot;laborum eu&quot;,&quot;exercitation est nulla&quot;],&quot;ports&quot;:[{&quot;port&quot;:90269103,&quot;name&quot;:&quot;sunt Lorem fugiat&quot;,&quot;nodePort&quot;:-26384265,&quot;protocol&quot;:&quot;eiusmod&quot;,&quot;targetPort&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;port&quot;:-48836824,&quot;name&quot;:&quot;cillum laborum nulla&quot;,&quot;nodePort&quot;:-67413362,&quot;protocol&quot;:&quot;ut eiu&quot;,&quot;targetPort&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;publishNotReadyAddresses&quot;:false,&quot;selector&quot;:{},&quot;sessionAffinity&quot;:&quot;elit sint&quot;,&quot;sessionAffinityConfig&quot;:{&quot;clientIP&quot;:{&quot;timeoutSeconds&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;topologyKeys&quot;:[&quot;qui aute&quot;,&quot;Ut commodo&quot;],&quot;type&quot;:&quot;ipsum consectetur veniam deserunt&quot;},&quot;status&quot;:{&quot;loadBalancer&quot;:{&quot;ingress&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}}}