{"id":3699,"date":"2024-02-26T17:29:15","date_gmt":"2024-02-26T17:29:15","guid":{"rendered":"https:\/\/code2deploy.com\/blog\/?p=3699"},"modified":"2024-03-09T18:36:13","modified_gmt":"2024-03-09T18:36:13","slug":"mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples","status":"publish","type":"post","link":"https:\/\/code2deploy.com\/blog\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/","title":{"rendered":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>YAML (YAML Ain&#8217;t Markup Language)<\/strong> serves as the backbone of configuration in Kubernetes, allowing users to define resources and their configurations in a human-readable format. Understanding <strong>YAML<\/strong> is essential for anyone working with Kubernetes, as it forms the basis for deploying and managing applications in the cluster. In this guide, we&#8217;ll explore <strong>YAML<\/strong> syntax and provide practical examples of Kubernetes manifests using <strong>YAML<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is YAML?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">YAML is a human-readable data serialization language that is commonly used for configuration files. It uses indentation to represent data structures and supports <strong>key-value pairs<\/strong>, <strong>lists<\/strong>, and <strong>nested structures<\/strong>. YAML files have a &#8220;<strong>.yaml<\/strong>&#8221; extension.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>YAML Basics<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s review some fundamental concepts of <strong>YAML syntax<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Indentation: <\/strong>YAML uses indentation (spaces or tabs) to represent structure. Nested elements are indented under their parent elements.<\/li>\n\n\n\n<li><strong>Key-Value Pairs:<\/strong> Key-value pairs are represented using a colon<strong> (:)<\/strong> followed by a space.&nbsp;<\/li>\n\n\n\n<li>For example:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>key: value<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Lists: <\/strong>Lists are represented using hyphens (-) followed by a space. For example:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>fruits:<br>  &#8211; apple<br>  &#8211; banana<br>  &#8211; orange<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Comments:<\/strong> Comments in YAML start with a hash symbol (#) and continue until the end of the line. For example:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td># This is a comment<br>key: value # This is another comment<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>YAML in Kubernetes<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Kubernetes, YAML files are used to define resources such as <strong>Pods<\/strong>, <strong>Deployments<\/strong>, <strong>Services<\/strong>, <strong>ConfigMaps<\/strong>, and more. Let&#8217;s dive into some common Kubernetes resources and their <strong>YAML manifests<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Example:<\/strong> <strong>Pod<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">A Pod is the smallest deployable unit in Kubernetes, representing a single instance of a running process. Here&#8217;s an example YAML manifest for a simple Pod:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>apiVersion: v1<br>kind: Pod<br>metadata:<br>   name: nginx-pod<br>spec:<br>   containers:<br>     &#8211; name: nginx-container<br>       image: nginx:latest<br>       ports:<br>         &#8211; containerPort: 80<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In this manifest:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>apiVersion<\/strong> specifies the Kubernetes API version.<\/li>\n\n\n\n<li><strong>kind <\/strong>indicates the type of resource (in this case, Pod).<\/li>\n\n\n\n<li><strong>metadata<\/strong> contains information like the name of the resource.<\/li>\n\n\n\n<li><strong>spec<\/strong> defines the desired state of the Pod, including container specifications.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Example:<\/strong> <strong>Deployment<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">A Deployment manages a replicated set of Pods, ensuring their availability and scalability. Here&#8217;s an example YAML manifest for a Deployment:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>apiVersion: apps\/v1<br>kind: Deployment<br>metadata:<br>&nbsp;&nbsp;name: nginx-deployment<br>spec:<br>&nbsp;&nbsp;replicas: 3<br>&nbsp;&nbsp;selector:<br>&nbsp;&nbsp;&nbsp;&nbsp;matchLabels:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app: nginx<br>&nbsp;&nbsp;template:<br>&nbsp;&nbsp;&nbsp;&nbsp;metadata:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;labels:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app: nginx<br>&nbsp;&nbsp;&nbsp;&nbsp;spec:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;containers:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8211; name: nginx<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image: nginx:latest<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ports:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8211; containerPort: 80<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In this manifest:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>replicas<\/strong> specifies the desired number of Pod replicas.<\/li>\n\n\n\n<li><strong>selector <\/strong>defines how the Deployment selects which Pods to manage.<\/li>\n\n\n\n<li><strong>template<\/strong> contains the Pod template used to create new Pods.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Example:<\/strong> <strong>Service<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">A Service provides network connectivity to a set of Pods, enabling load balancing and service discovery. Here&#8217;s an example YAML manifest for a Service:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: nginx-service<br>spec:<br>  selector:<br>     app: nginx<br>   ports:<br>      &#8211; protocol: TCP<br>        port: 80<br>        targetPort: 80<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In this manifest:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>selector<\/strong> specifies which Pods the Service should route traffic to.<\/li>\n\n\n\n<li><strong>ports <\/strong>define the ports exposed by the Service and the target port on the Pods.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>YAML<\/strong> is a powerful and versatile language for defining Kubernetes resources and configurations. By mastering YAML syntax and understanding how to write Kubernetes manifests, you can effectively deploy and manage applications in Kubernetes clusters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, we covered YAML basics and provided practical examples of Kubernetes manifests for Pods, Deployments, and Services. Experiment with different resource definitions, explore additional Kubernetes resources and leverage YAML to streamline your Kubernetes workflows. Happy YAML-ing!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/code2deploy.com\/blog\/pod-with-yaml-in-k8s\/\">https:\/\/code2deploy.com\/blog\/pod-with-yaml-in-k8s\/POD YAML More Details&nbsp;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>YAML (YAML Ain&#8217;t Markup Language) serves as the backbone of configuration in Kubernetes, allowing users to define resources and their configurations in a human-readable format. Understanding YAML is essential for anyone working with Kubernetes, as it forms the basis for deploying and managing applications in the cluster. In this guide, we&#8217;ll explore YAML syntax and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[25,149,10,11,148,15],"class_list":["post-3699","post","type-post","status-publish","format-standard","hentry","category-kubernetes","tag-cka","tag-k8s-for-yaml","tag-kubernetes","tag-kubernetes-deployment","tag-yaml","tag-yaml-manifest"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com<\/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:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com\" \/>\n<meta property=\"og:description\" content=\"YAML (YAML Ain&#8217;t Markup Language) serves as the backbone of configuration in Kubernetes, allowing users to define resources and their configurations in a human-readable format. Understanding YAML is essential for anyone working with Kubernetes, as it forms the basis for deploying and managing applications in the cluster. In this guide, we&#8217;ll explore YAML syntax and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"code2deploy.com\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-26T17:29:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-09T18:36:13+00:00\" \/>\n<meta name=\"author\" content=\"enam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"enam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/\"},\"author\":{\"name\":\"enam\",\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"headline\":\"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples\",\"datePublished\":\"2024-02-26T17:29:15+00:00\",\"dateModified\":\"2024-03-09T18:36:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/\"},\"wordCount\":640,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"keywords\":[\"CKA\",\"k8s for YAML\",\"kubernetes\",\"Kubernetes deployment\",\"YAML\",\"YAML Manifest\"],\"articleSection\":[\"Kubernetes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/\",\"url\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/\",\"name\":\"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#website\"},\"datePublished\":\"2024-02-26T17:29:15+00:00\",\"dateModified\":\"2024-03-09T18:36:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/\",\"name\":\"code2deploy.com\\\/blog\",\"description\":\"TechOps\",\"publisher\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\",\"name\":\"enam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"caption\":\"enam\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/code2deploy.com\\\/blog\"],\"url\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/author\\\/enam\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com","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:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com","og_description":"YAML (YAML Ain&#8217;t Markup Language) serves as the backbone of configuration in Kubernetes, allowing users to define resources and their configurations in a human-readable format. Understanding YAML is essential for anyone working with Kubernetes, as it forms the basis for deploying and managing applications in the cluster. In this guide, we&#8217;ll explore YAML syntax and [&hellip;]","og_url":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/","og_site_name":"code2deploy.com","article_published_time":"2024-02-26T17:29:15+00:00","article_modified_time":"2024-03-09T18:36:13+00:00","author":"enam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"enam","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/#article","isPartOf":{"@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/"},"author":{"name":"enam","@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"headline":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples","datePublished":"2024-02-26T17:29:15+00:00","dateModified":"2024-03-09T18:36:13+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/"},"wordCount":640,"commentCount":0,"publisher":{"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"keywords":["CKA","k8s for YAML","kubernetes","Kubernetes deployment","YAML","YAML Manifest"],"articleSection":["Kubernetes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/","url":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/","name":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples - code2deploy.com","isPartOf":{"@id":"https:\/\/code2deploy.com\/blog\/#website"},"datePublished":"2024-02-26T17:29:15+00:00","dateModified":"2024-03-09T18:36:13+00:00","breadcrumb":{"@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.code2deploy.com\/mastering-yaml-for-kubernetes-a-comprehensive-guide-with-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/code2deploy.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Mastering YAML for Kubernetes: A Comprehensive Guide with Examples"}]},{"@type":"WebSite","@id":"https:\/\/code2deploy.com\/blog\/#website","url":"https:\/\/code2deploy.com\/blog\/","name":"code2deploy.com\/blog","description":"TechOps","publisher":{"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/code2deploy.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b","name":"enam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","caption":"enam"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g"},"sameAs":["https:\/\/code2deploy.com\/blog"],"url":"https:\/\/code2deploy.com\/blog\/author\/enam\/"}]}},"_links":{"self":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/3699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/comments?post=3699"}],"version-history":[{"count":5,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/3699\/revisions"}],"predecessor-version":[{"id":3778,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/3699\/revisions\/3778"}],"wp:attachment":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/media?parent=3699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/categories?post=3699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/tags?post=3699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}