{"id":925,"date":"2020-08-17T07:56:44","date_gmt":"2020-08-17T07:56:44","guid":{"rendered":"https:\/\/blog.samarthya.me\/wps\/?p=925"},"modified":"2020-08-17T07:57:46","modified_gmt":"2020-08-17T07:57:46","slug":"k8s","status":"publish","type":"post","link":"https:\/\/blog.samarthya.me\/wps\/2020\/08\/17\/k8s\/","title":{"rendered":"K8S"},"content":{"rendered":"<h2>What is K8S?<\/h2>\n<p>To manage distributed containerised workloads, you use Kubernetes.<\/p>\n<ul>\n<li>It is resilient declarative configuration.<\/li>\n<li>It is open source platform.<\/li>\n<li>It allows you to bundle and run your application.<\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/d33wubrfki0l68.cloudfront.net\/26a177ede4d7b032362289c6fccd448fc4a91174\/eb693\/images\/docs\/container_evolution.svg\" alt=\"\" width=\"300\" height=\"111\"\/><figcaption>From the official Kubernetes documentation.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Kubernetes objects<\/h2>\n\n\n\n<p>K8S objects are the persistent entities in the K8S system and thee entities are used to represent the state of the cluster. <\/p>\n\n\n\n<p>In general, most of the objects have <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>spec &#8211; Defines the desired state.<\/li><li>status &#8211; Describes the current state.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apiVersion: apps\/v1\nkind: Deployment\nmetadata:\n  name: nginx\nspec:\n.....<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/github.com\/kubernetes\/community\/blob\/master\/contributors\/devel\/sig-architecture\/api-conventions.md#types-kinds<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is K8S? To manage distributed containerised workloads, you use Kubernetes. It is resilient declarative configuration. It is open source platform. It allows you to bundle and run your application. Kubernetes objects K8S objects are the persistent entities in the K8S system and thee entities are used to represent the state of the cluster. In [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":929,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[34],"tags":[94,18],"class_list":["post-925","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-technical","tag-container","tag-k8s","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":0,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/925\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media\/929"}],"wp:attachment":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media?parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/categories?post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/tags?post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}