{"id":997,"date":"2021-04-09T06:26:58","date_gmt":"2021-04-09T06:26:58","guid":{"rendered":"https:\/\/blog.ngocha.biz\/?p=997"},"modified":"2021-04-09T06:26:58","modified_gmt":"2021-04-09T06:26:58","slug":"kubernetes-v1-21-released","status":"publish","type":"post","link":"https:\/\/blog.ngocha.biz\/?p=997","title":{"rendered":"Kubernetes v1.21 Released:  Here is What you should know"},"content":{"rendered":"<p>In this blog, we will look at the key changes in the Kubernetes v1.21 release.<\/p>\n<p>Here is a highlevel release changes.<\/p>\n<ol>\n<li>Total 51 enhancements<\/li>\n<li>13 enhancements moved to stable<\/li>\n<li>16 enhancements moved to beta<\/li>\n<li>20 enhancements moved to alpha<\/li>\n<li>2 deprecated features<\/li>\n<\/ol>\n<h2 id=\"podsecuritypolicy-deprecated\">PodSecurityPolicy Deprecated<\/h2>\n<p>As per the <a href=\"https:\/\/kubernetes.io\/blog\/2021\/04\/06\/podsecuritypolicy-deprecation-past-present-and-future\/?ref=devopscube.com\" rel=\"noreferrer noopener\">official Kubernetes blog<\/a> PSP (Pod Security Policy) is Deprecated in v1.21.<\/p>\n<p>It doesn&#8217;t mean that it will be removed in v1.2. PSP feature will continue to exist till version 1.25 as per the current plan.<\/p>\n<p>You can look into options like <a href=\"https:\/\/github.com\/cruise-automation\/k-rail?ref=devopscube.com\" rel=\"noreferrer noopener\">K-Rail<\/a>, <a href=\"https:\/\/github.com\/kyverno\/kyverno\/?ref=devopscube.com\" rel=\"noreferrer noopener\">Kyverno<\/a>, and <a href=\"https:\/\/github.com\/open-policy-agent\/gatekeeper\/?ref=devopscube.com\" rel=\"noreferrer noopener\">OPA\/Gatekeeper<\/a> which has better user experience for implementing security policies.<\/p>\n<h2 id=\"psp-replacement-policy\">PSP Replacement Policy<\/h2>\n<p>Kubernetes Developer community is working on a feature which is now called the &#8220;PSP Replacement Policy&#8221; is expected to have an Alpha release in Kubernetes version 1.22.<\/p>\n<p>Use cases covered by PodSecurityPolicy will be covered by the PSP Replacement Policy.<\/p>\n<p>Here is the <a href=\"https:\/\/github.com\/kubernetes\/enhancements\/pull\/2582?ref=devopscube.com\" rel=\"noreferrer noopener\">KEP<\/a>  and also take a look at the <a href=\"https:\/\/docs.google.com\/document\/d\/1dpfDF3Dk4HhbQe74AyCpzUYMjp4ZhiEgGXSMpVWLlqQ\/edit?ref=devopscube.com\" rel=\"noreferrer noopener\">Proposal document <\/a>to know more details<\/p>\n<h2 id=\"topologykeys-deprecated\">TopologyKeys Deprecated<\/h2>\n<p><code>topologyKeys<\/code> alpha is deprecated. Topology-aware routing is implemented as <a href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service-topology\/?ref=devopscube.com\" rel=\"noreferrer noopener\">topology-aware hints<\/a>. It is in the Alpha version.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-grey\">\n<div class=\"kg-callout-text\">You Might Like: <a href=\"https:\/\/devopscube.com\/category\/kubernetes\/\" rel=\"noreferrer noopener\">Kubernetes Tutorials<\/a><\/div>\n<\/div>\n<h2 id=\"other-changes\">Other Changes<\/h2>\n<p>Following are the minor changes in V1.21<\/p>\n<ol>\n<li><a href=\"https:\/\/devopscube.com\/create-kubernetes-jobs-cron-jobs\/\" rel=\"noreferrer noopener\">CronJobs<\/a> Object is made Stable.<\/li>\n<li>Immutable Secrets &amp; Configmaps is made stable: If the immutable flag is enabled, it cannot be reverted.<\/li>\n<li><a href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/dual-stack\/?ref=devopscube.com\" rel=\"noreferrer noopener\">IPv4\/IPv6 dual-stack support <\/a>is made beta.<\/li>\n<li><a href=\"https:\/\/kubernetes.io\/docs\/concepts\/architecture\/nodes\/?ref=devopscube.com#graceful-node-shutdown\" rel=\"noreferrer noopener\">Graceful node shutdown<\/a> is made beta. It is one of the required features in Kubernetes as many implementations use custom solutions to gracefully shut down the workloads during node termination.<\/li>\n<li>Alpha release of PersistentVolume Health Monitor: You can monitor the health of PVs<\/li>\n<\/ol>\n<h2 id=\"further-reading\">Further Reading<\/h2>\n<ol>\n<li><a href=\"https:\/\/kubernetes.io\/blog\/2021\/04\/08\/kubernetes-1-21-release-announcement\/?ref=devopscube.com\" rel=\"noreferrer noopener\">Kubernetes v1.21 release announcement<\/a><\/li>\n<li><a href=\"https:\/\/kubernetes.io\/blog\/2021\/04\/09\/kubernetes-release-1.21-cronjob-ga\/?ref=devopscube.com\" rel=\"noreferrer noopener\">Cronjob GA<\/a><\/li>\n<li><a href=\"https:\/\/kubernetes.io\/blog\/2021\/04\/06\/podsecuritypolicy-deprecation-past-present-and-future\/?ref=devopscube.com\" rel=\"noreferrer noopener\">PSP &#8211; Past Present and Future<\/a><\/li>\n<\/ol>\n<hr>\n<p><strong>Ngu\u1ed3n:<\/strong> <a href=\"https:\/\/devopscube.com\/kubernetes-v1-21-released\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kubernetes v1.21 Released:  Here is What you should know \u2014 DevOpsCube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/devopscube.com\/kubernetes-v1-21-released\/<\/p>\n","protected":false},"author":1,"featured_media":998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-997","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"_links":{"self":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=997"}],"version-history":[{"count":0,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/997\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}