{"id":327,"date":"2023-03-14T10:45:45","date_gmt":"2023-03-14T09:45:45","guid":{"rendered":"https:\/\/pierre.porcheret.org\/?p=327"},"modified":"2023-08-21T15:42:00","modified_gmt":"2023-08-21T13:42:00","slug":"triks-and-more-commands-for-kubernetes","status":"publish","type":"post","link":"https:\/\/pierre.porcheret.org\/en\/computer\/327\/","title":{"rendered":"Triks and more commands for Kubernetes"},"content":{"rendered":"<p>This article can be seen as the continuation of the article Basic <a href=\"https:\/\/pierre.porcheret.org\/en\/computer\/304\/\">Kubernetes usage<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Get all info about a Namespace <\/h3>\n\n\n\n<p>Here namespace is webserver as previous examples.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n webserver get all<\/code><\/pre>\n\n\n\n<p>You will have all pods, services, deployments&#8230; for a namespace<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Get logs for you Namespace<\/h3>\n\n\n\n<p>Sometimes, thing go wrong and you need logs to troubleshoot. You can use this command :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl get events --namespace webserver<\/code><\/pre>\n\n\n\n<p>It will show all logs related to your Namespace <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Access or curl an exposed page\/port<\/h3>\n\n\n\n<p>Here we want to access to the default nginx page deployed on the previous example.<\/p>\n\n\n\n<p>First, get the info using :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@kmaster:~# kubectl get services -n webserver<br>NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE<br>nginx NodePort 10.98.143.23 80:31001\/TCP 3m38s<\/code><\/pre>\n\n\n\n<p>Here we can see that the pod (with IP <strong>10.98.143.23<\/strong>) expose the port <strong>80<\/strong> in the container and map to the <strong>31001 <\/strong>on host.<\/p>\n\n\n\n<p>We can get the nginx page using the pod&rsquo;s IP and port<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@kmaster:~# curl 10.98.143.23:80<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@kmaster:~# curl localhost:31001<\/code><\/pre>\n\n\n\n<p>Here, localhost is because we do it from the master.<\/p>\n\n\n\n<p>From outside the cluster, it depends on your infrastructure (reverse proxy, network configuration and\/or firewalls)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Debug or analyse a pod issue<\/h3>\n\n\n\n<p>Well it&rsquo;s not easy to know why a pod is not working depending on your case. But this workflow can give you some info to debug :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl get pods -n webserver<\/code><\/pre>\n\n\n\n<p>Here, you will have the short status of your pod, you can see if it&rsquo;s on Ready and if the status is Runnning or not. If it&rsquo;s on Ready and Running, then you will have more info inside your pod, it&rsquo;s not related to kubernetes. You can go on your pod using :<\/p>\n\n\n\n<p>kubectl exec -it nginx-748c667d99-zzk85 -n webserver sh<\/p>\n\n\n\n<p>Again, here the Namespace is webserver and the pod&rsquo;s name nginx-748c667d99-zzk85, change according to your values.<\/p>\n\n\n\n<p>If the status is not running and\/or in not Ready, you can have more info checking the logs using :<\/p>\n\n\n\n<p>kubectl logs nginx-748c667d99-zzk85 -n webserver<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Kubernetes Dashboard<\/h3>\n\n\n\n<p>Kubernetes provides a nice dashboard to get a view on your Kubernetes cluster&rsquo;s component.<\/p>\n\n\n\n<p>To install it you need to follow some steps :<\/p>\n\n\n\n<p>Install the components using this YAML file :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes\/dashboard\/v2.7.0\/aio\/deploy\/recommended.yaml<\/code><\/pre>\n\n\n\n<p>It will create a dedicated Namespace will create a namespace \u00ab\u00a0kubernetes-dashboard\u00a0\u00bb with all the required pods :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@kmaster:~# kubectl get services -n kubernetes-dashboard<br>NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE<br>dashboard-metrics-scraper ClusterIP 10.105.188.58 8000\/TCP 45s<br>kubernetes-dashboard ClusterIP 10.101.81.115 443\/TCP 45s<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>One is done, you will need to create an admin user to have access to the interface. For this just create a Yaml file with these infos :<br>apiVersion: v1<br>kind: ServiceAccount<br>metadata:<br>    name: admin-user<br>    namespace: kubernetes-dashboard<\/code><\/pre>\n\n\n\n<p>and apply it :<\/p>\n\n\n\n<p>kubectl apply -f user.yml <\/p>\n\n\n\n<p>It will create the user <strong>admin-user<\/strong> in the pods inside the Namespace<strong> kubernetes-dashboard<\/strong>.<\/p>\n\n\n\n<p>You have now to give this user the authorization to be admin on this kubernetes-dashboard cluster applying this file :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kind: ClusterRoleBinding\nmetadata:\n    name: admin-user\nroleRef:\n   apiGroup: rbac.authorization.k8s.io\n   kind: ClusterRole\n   name: cluster-admin\nsubjects:\n-  kind: ServiceAccount\n   name: admin-user\n    namespace: kubernetes-dashboard<\/code><\/pre>\n\n\n\n<p>and apply it :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl apply -f cluster.yml<\/code><\/pre>\n\n\n\n<p>So now, you have an admin user for the Dashboard and you need a token to access to the interface.<\/p>\n\n\n\n<p>Just run this command to create a token for this user :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n kubernetes-dashboard create token admin-user<\/code><\/pre>\n\n\n\n<p>Keep this token, you will need it to access to the interface.<\/p>\n\n\n\n<p>You can now access to this interface by starting the Kubernetes proxy :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl proxy<\/code><\/pre>\n\n\n\n<p>By default, the proxy will allow you to access to the interface on <strong>localhost <\/strong>using port <strong>8001<\/strong><\/p>\n\n\n\n<p>If, like me, you don&rsquo;t have access to your localhost, you can specify to Listen on all address and even specify another port using :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl proxy --address='0.0.0.0' --port=8002 --accept-hosts='.*'<\/code><\/pre>\n\n\n\n<p>Of course, for security reason, you should adapt this proxy to your case, for example by restricting the accepted hosts.<\/p>\n\n\n\n<p>You can now access to the Dashboard using this URL :<\/p>\n\n\n\n<p><a href=\"http:\/\/127.0.0.1:8002\/api\/v1\/namespaces\/kubernetes-dashboard\/services\/https:kubernetes-dashboard:\/proxy\/\">http:\/\/host_IP:8002\/api\/v1\/namespaces\/kubernetes-dashboard\/services\/https:kubernetes-dashboard:\/proxy\/<\/a><\/p>\n\n\n\n<p>The first time, you will need the <strong>token<\/strong> previously done for authentication.<\/p>\n\n\n\n<p>For info, if you followed the previous installation article, you can meet errors <strong>CrashLoopBackOff <\/strong>for the kubernetes-dashboard pods. This is due to memory, you will have to increase the memory of your cluster.<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This article can be seen as the continuation of the article Basic Kubernetes usage Get all info about a Namespace Here namespace is webserver as previous examples. You will have all pods, services, deployments&#8230; for a namespace Get logs for you Namespace Sometimes, thing go wrong and you need logs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":289,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"two_page_speed":null,"footnotes":""},"categories":[8,41],"tags":[43,28],"class_list":["post-327","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","category-devops","tag-devops","tag-kubernetes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Triks and more commands for Kubernetes -<\/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:\/\/pierre.porcheret.org\/en\/computer\/327\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Triks and more commands for Kubernetes -\" \/>\n<meta property=\"og:description\" content=\"This article can be seen as the continuation of the article Basic Kubernetes usage Get all info about a Namespace Here namespace is webserver as previous examples. You will have all pods, services, deployments&#8230; for a namespace Get logs for you Namespace Sometimes, thing go wrong and you need logs [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pierre.porcheret.org\/en\/computer\/327\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-14T09:45:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-21T13:42:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"342\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pporcheret\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pporcheret\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/\"},\"author\":{\"name\":\"pporcheret\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/#\\\/schema\\\/person\\\/7cf1070cb05adff1e5b95c7ca9b0dd52\"},\"headline\":\"Triks and more commands for Kubernetes\",\"datePublished\":\"2023-03-14T09:45:45+00:00\",\"dateModified\":\"2023-08-21T13:42:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/\"},\"wordCount\":580,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pierre.porcheret.org\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/kub.jpeg\",\"keywords\":[\"DevOps\",\"Kubernetes\"],\"articleSection\":[\"Computer\",\"DevOps\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/\",\"url\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/\",\"name\":\"Triks and more commands for Kubernetes -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pierre.porcheret.org\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/kub.jpeg\",\"datePublished\":\"2023-03-14T09:45:45+00:00\",\"dateModified\":\"2023-08-21T13:42:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/#\\\/schema\\\/person\\\/7cf1070cb05adff1e5b95c7ca9b0dd52\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pierre.porcheret.org\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/kub.jpeg\",\"contentUrl\":\"https:\\\/\\\/pierre.porcheret.org\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/kub.jpeg\",\"width\":800,\"height\":342},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/computer\\\/327\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/pierre.porcheret.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Triks and more commands for Kubernetes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/#website\",\"url\":\"https:\\\/\\\/pierre.porcheret.org\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pierre.porcheret.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pierre.porcheret.org\\\/#\\\/schema\\\/person\\\/7cf1070cb05adff1e5b95c7ca9b0dd52\",\"name\":\"pporcheret\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g\",\"caption\":\"pporcheret\"},\"sameAs\":[\"https:\\\/\\\/pierre2.porcheret.org\"],\"url\":\"https:\\\/\\\/pierre.porcheret.org\\\/en\\\/author\\\/pporcheret\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Triks and more commands for Kubernetes -","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:\/\/pierre.porcheret.org\/en\/computer\/327\/","og_locale":"en_GB","og_type":"article","og_title":"Triks and more commands for Kubernetes -","og_description":"This article can be seen as the continuation of the article Basic Kubernetes usage Get all info about a Namespace Here namespace is webserver as previous examples. You will have all pods, services, deployments&#8230; for a namespace Get logs for you Namespace Sometimes, thing go wrong and you need logs [&hellip;]","og_url":"https:\/\/pierre.porcheret.org\/en\/computer\/327\/","article_published_time":"2023-03-14T09:45:45+00:00","article_modified_time":"2023-08-21T13:42:00+00:00","og_image":[{"width":800,"height":342,"url":"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg","type":"image\/jpeg"}],"author":"pporcheret","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pporcheret","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#article","isPartOf":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/"},"author":{"name":"pporcheret","@id":"https:\/\/pierre.porcheret.org\/#\/schema\/person\/7cf1070cb05adff1e5b95c7ca9b0dd52"},"headline":"Triks and more commands for Kubernetes","datePublished":"2023-03-14T09:45:45+00:00","dateModified":"2023-08-21T13:42:00+00:00","mainEntityOfPage":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/"},"wordCount":580,"commentCount":0,"image":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#primaryimage"},"thumbnailUrl":"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg","keywords":["DevOps","Kubernetes"],"articleSection":["Computer","DevOps"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pierre.porcheret.org\/computer\/327\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pierre.porcheret.org\/computer\/327\/","url":"https:\/\/pierre.porcheret.org\/computer\/327\/","name":"Triks and more commands for Kubernetes -","isPartOf":{"@id":"https:\/\/pierre.porcheret.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#primaryimage"},"image":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#primaryimage"},"thumbnailUrl":"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg","datePublished":"2023-03-14T09:45:45+00:00","dateModified":"2023-08-21T13:42:00+00:00","author":{"@id":"https:\/\/pierre.porcheret.org\/#\/schema\/person\/7cf1070cb05adff1e5b95c7ca9b0dd52"},"breadcrumb":{"@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pierre.porcheret.org\/computer\/327\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#primaryimage","url":"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg","contentUrl":"https:\/\/pierre.porcheret.org\/wp-content\/uploads\/2023\/03\/kub.jpeg","width":800,"height":342},{"@type":"BreadcrumbList","@id":"https:\/\/pierre.porcheret.org\/computer\/327\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/pierre.porcheret.org\/"},{"@type":"ListItem","position":2,"name":"Triks and more commands for Kubernetes"}]},{"@type":"WebSite","@id":"https:\/\/pierre.porcheret.org\/#website","url":"https:\/\/pierre.porcheret.org\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pierre.porcheret.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/pierre.porcheret.org\/#\/schema\/person\/7cf1070cb05adff1e5b95c7ca9b0dd52","name":"pporcheret","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/04949048b44501d434ac6a78cb6790e936aef0a9dce8f0cfcfd1cd9926f1ffb7?s=96&d=mm&r=g","caption":"pporcheret"},"sameAs":["https:\/\/pierre2.porcheret.org"],"url":"https:\/\/pierre.porcheret.org\/en\/author\/pporcheret\/"}]}},"_links":{"self":[{"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":11,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/posts\/327\/revisions\/379"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/media\/289"}],"wp:attachment":[{"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pierre.porcheret.org\/en\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}