{"id":12804,"date":"2019-09-14T06:39:29","date_gmt":"2019-09-14T04:39:29","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/"},"modified":"2019-09-14T06:39:29","modified_gmt":"2019-09-14T04:39:29","slug":"how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/","title":{"rendered":"How to get a big picture of K8s pods and PVs by script"},"content":{"rendered":"<p><span lang=\"EN-US\"><span style=\"color: #000000;font-family: Calibri\">A couple of weeks ago, during an internal dbi services workshop about Docker and K8s, I got an interesting question: is it possible to get a big picture of pods connected to one specific persistent volume (PV) by using kubectl command?<\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-34373\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg\" alt=\"\" width=\"514\" height=\"265\" \/><\/a><\/p>\n<p><span lang=\"EN-US\"><span style=\"font-family: Calibri\"><span style=\"color: #000000\">It was an interesting question because if we go through the usual kubectl command, it doesn\u2019t provide natively the desired output. In fact, one one hand we get information about PVs and their related persistent volume claims (PVC) and one other hand Pods with their PVCs.<\/span><\/span><\/span><\/p>\n<p>I didn&#8217;t find out any relevant result with my google-fu so h<span lang=\"EN-US\">ere my contribution with a bash script that provides the overall picture of pods that are tied to a specific PV. It could be helpful in any appropriate way to quickly identify stateful(set) applications like SQL Server databases (and others) and their related storage \ud83d\ude42<br \/>\n<\/span><\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">#!\/bin\/bash\n\npv=$1\n\npvcs=$(kubectl get pv --output=json | jq -r --arg PV \"$pv\" '.items[] | select (.metadata.name==$PV or $PV==\"\") | \"\\(.metadata.name)\" + \"|\" + \"\\(.spec.claimRef.namespace)\" + \"|\" + \"\\(.spec.claimRef.name)\"')\n\n for pvc in $pvcs \n do \n     p_pv=$(echo $pvc | cut -d'|' -f1)\n     p_ns=$(echo $pvc | cut -d'|' -f2)\n     p_pvc=$(echo $pvc | cut -d'|' -f3)\n  \n     echo \"====================================================\"\n     echo \"==&gt; pv: $p_pv\"\n     kubectl get pods -n $p_ns --output=json | jq -c --arg CLAIM \"$p_pvc\" '.items[] | {Pod: .metadata.name, Namespace: .metadata.namespace, ClaimName: .spec | select ( has (\"volumes\") ).volumes[] | select( has (\"persistentVolumeClaim\") ).persistentVolumeClaim | select (.claimName==$CLAIM) }'\n done<\/pre>\n<p>&nbsp;<\/p>\n<p><span lang=\"EN-US\"><span style=\"color: #000000;font-family: Calibri\">If you provide as input a specific PV you will get a picture of all pods tied to it otherwise all PVs and their linked pods will be shown in the output. <\/span><\/span><\/p>\n<ul>\n<li>With a specific PV as input<\/li>\n<\/ul>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ .\/get_pods_by_pv.sh pvc-a969c5d7-d654-11e9-ab0d-06376ae701a9\n====================================================\n==&gt; pv: pvc-a969c5d7-d654-11e9-ab0d-06376ae701a9\n{\"Pod\":\"mssql-deployment-85bfdfc66c-ht4wl\",\"Namespace\":\"ci\",\"ClaimName\":{\"claimName\":\"mssql-data\"}}<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li>No PV as input<\/li>\n<\/ul>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ .\/get_pods_by_pv.sh\n====================================================\n==&gt; pv: pvc-a969c5d7-d654-11e9-ab0d-06376ae701a9\n{\"Pod\":\"mssql-deployment-85bfdfc66c-ht4wl\",\"Namespace\":\"ci\",\"ClaimName\":{\"claimName\":\"mssql-data\"}}\n====================================================\n==&gt; pv: pvc-eb90982d-d654-11e9-ab0d-06376ae701a9\n{\"Pod\":\"mssql-deployment-2-7db97bf7d-9bsp6\",\"Namespace\":\"ci\",\"ClaimName\":{\"claimName\":\"mssql-data-2\"}}\n====================================================\n==&gt; pv: pvc-f9c14523-d61e-11e9-ab0d-06376ae701a9<\/pre>\n<p>&nbsp;<\/p>\n<p><span lang=\"EN-US\"><span style=\"color: #000000;font-family: Calibri\">Feel free to comment, to share or to improve! <\/span><\/span><\/p>\n<p><span lang=\"EN-US\"><span style=\"color: #000000;font-family: Calibri\">See you! <\/span><\/span><\/p>\n<p><span style=\"float: none;background-color: #ffffff;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;text-align: left;text-decoration: none;text-indent: 0px;text-transform: none\">By David Barbarin<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of weeks ago, during an internal dbi services workshop about Docker and K8s, I got an interesting question: is it possible to get a big picture of pods connected to one specific persistent volume (PV) by using kubectl command? It was an interesting question because if we go through the usual kubectl command, [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":12805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,1320,1504,1522],"tags":[1075,151,1365,89,1693,1694,1695,35],"type_dbi":[],"class_list":["post-12804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","category-devops","category-docker","category-kubernetes","tag-bash","tag-devops","tag-k8s","tag-kubernetes","tag-persistence-volume-claim","tag-persistent-volume","tag-pod","tag-storage"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to get a big picture of K8s pods and PVs by script - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to get a big picture of K8s pods and PVs by script\" \/>\n<meta property=\"og:description\" content=\"A couple of weeks ago, during an internal dbi services workshop about Docker and K8s, I got an interesting question: is it possible to get a big picture of pods connected to one specific persistent volume (PV) by using kubectl command? It was an interesting question because if we go through the usual kubectl command, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-14T04:39:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"514\" \/>\n\t<meta property=\"og:image:height\" content=\"265\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Microsoft Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/\"},\"author\":{\"name\":\"Microsoft Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bfab48333280d616e1170e7369df90a4\"},\"headline\":\"How to get a big picture of K8s pods and PVs by script\",\"datePublished\":\"2019-09-14T04:39:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/\"},\"wordCount\":220,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/162-0-banner-ADR.jpg\",\"keywords\":[\"Bash\",\"DevOps\",\"k8s\",\"kubernetes\",\"Persistence volume claim\",\"Persistent volume\",\"Pod\",\"Storage\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"DevOps\",\"Docker\",\"Kubernetes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/\",\"name\":\"How to get a big picture of K8s pods and PVs by script - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/162-0-banner-ADR.jpg\",\"datePublished\":\"2019-09-14T04:39:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bfab48333280d616e1170e7369df90a4\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/162-0-banner-ADR.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/162-0-banner-ADR.jpg\",\"width\":514,\"height\":265},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to get a big picture of K8s pods and PVs by script\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bfab48333280d616e1170e7369df90a4\",\"name\":\"Microsoft Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"caption\":\"Microsoft Team\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/microsoft-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to get a big picture of K8s pods and PVs by script - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/","og_locale":"en_US","og_type":"article","og_title":"How to get a big picture of K8s pods and PVs by script","og_description":"A couple of weeks ago, during an internal dbi services workshop about Docker and K8s, I got an interesting question: is it possible to get a big picture of pods connected to one specific persistent volume (PV) by using kubectl command? It was an interesting question because if we go through the usual kubectl command, [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/","og_site_name":"dbi Blog","article_published_time":"2019-09-14T04:39:29+00:00","og_image":[{"width":514,"height":265,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg","type":"image\/jpeg"}],"author":"Microsoft Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Microsoft Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/"},"author":{"name":"Microsoft Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4"},"headline":"How to get a big picture of K8s pods and PVs by script","datePublished":"2019-09-14T04:39:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/"},"wordCount":220,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg","keywords":["Bash","DevOps","k8s","kubernetes","Persistence volume claim","Persistent volume","Pod","Storage"],"articleSection":["Database Administration &amp; Monitoring","DevOps","Docker","Kubernetes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/","url":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/","name":"How to get a big picture of K8s pods and PVs by script - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg","datePublished":"2019-09-14T04:39:29+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/162-0-banner-ADR.jpg","width":514,"height":265},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-get-a-big-picture-of-k8s-pods-and-pvs-by-script\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to get a big picture of K8s pods and PVs by script"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4","name":"Microsoft Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","caption":"Microsoft Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/microsoft-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=12804"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12804\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/12805"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=12804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=12804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=12804"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=12804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}