{"id":9248,"date":"2021-05-30T14:15:48","date_gmt":"2021-05-30T14:15:48","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=9248"},"modified":"2024-03-21T10:58:54","modified_gmt":"2024-03-21T10:58:54","slug":"gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/","title":{"rendered":"GKE Preemptible VM node pool"},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Manage GKE node pools with preemptible VMs&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Manage GKE node pools with preemptible VMs<\/span><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>Managing Google Kubernetes Engine (GKE) node pools with preemptible VMs in GCP allows users to optimize cost savings and resource utilization for their Kubernetes clusters. Preemptible VMs are short-lived, discounted instances that can be used for non-production workloads or batch processing tasks where availability is not critical.<\/p>\r\n<p>To manage GKE node pools with preemptible VMs, users can create node pools with preemptible VMs by specifying the preemptible parameter when defining the node pool configuration. Users can also set the maximum number of preemptible VMs allowed in the node pool to ensure a balance between cost savings and workload stability.<\/p>\r\n<p>Additionally, users can leverage features such as node auto-provisioning to dynamically scale node pools with preemptible VMs based on workload demand. This allows users to automatically add or remove preemptible VMs to meet the needs of their applications while minimizing costs.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Prerequisites<\/strong><\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/www.prwatech.com\/course\/gcptraining\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/www.prwatech.com\/course\/gcptraining\">GCP<\/a> Account<\/p>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/prwatech.in\/blog\/\">To<\/a> create a GKE node pool with preemptible VMs, run the following command:<\/p>\r\n\r\n\r\n\r\n<p>$ gcloud container node-pools create preemptible-pool &#8211;preemptible &#8211;cluster gke-cluster-1 &#8211;zone us-central1-c<\/p>\r\n\r\n\r\n\r\n<p>It will create a preemptible node pool<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"124\" class=\"wp-image-9240\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550-300x59.png 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Using Console<\/strong><\/p>\r\n\r\n\r\n\r\n<p>In Cluster, Click Add node pool<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"329\" class=\"wp-image-9241\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-551.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-551.png 605w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-551-300x163.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Give name and node version<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"250\" class=\"wp-image-9242\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-552.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-552.png 540w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-552-300x139.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Choose Number of preemptible nodes.<\/p>\r\n\r\n\r\n\r\n<p>Enable Auto upgrade and Auto repair.<\/p>\r\n\r\n\r\n\r\n<p>If you want you can choose Enable Auto scaling.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"343\" class=\"wp-image-9243\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-553.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-553.png 566w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-553-300x182.png 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Click on Nodes in Navigation Pane.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"312\" height=\"168\" class=\"wp-image-9244\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-554.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-554.png 312w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-554-300x162.png 300w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Choose the machine configuration for nodes.<\/p>\r\n\r\n\r\n\r\n<p>Tick the Enable preemptible nodes.<\/p>\r\n\r\n\r\n\r\n<p>Click Create.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"785\" class=\"wp-image-9245\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-555.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-555.png 613w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-555-234x300.png 234w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>The Preemptible node pool will be created.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Manage GKE node pools with preemptible VMs &nbsp; Managing Google Kubernetes Engine (GKE) node pools with preemptible VMs in GCP allows users to optimize cost savings and resource utilization for their Kubernetes clusters. Preemptible VMs are short-lived, discounted instances that can be used for non-production workloads or batch processing tasks where availability is not critical. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,1639],"tags":[605,699,700,1452,617,683,684,685,611,1400,692,1458],"class_list":["post-9248","post","type-post","status-publish","format-standard","hentry","category-google-cloud-platform","category-kubernetes","tag-gcp","tag-gcp-certification","tag-gcp-cloud-console","tag-gke-cluster","tag-google-cloud","tag-google-cloud-certification","tag-google-cloud-console","tag-google-cloud-courses","tag-google-cloud-platform","tag-google-cloud-platform-tutorial","tag-google-cloud-training","tag-preemptible-node-pool"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Manage GKE node pools with preemptible VMs - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manage GKE node pools with preemptible VMs - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-30T14:15:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-21T10:58:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/\",\"url\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/\",\"name\":\"Manage GKE node pools with preemptible VMs - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png\",\"datePublished\":\"2021-05-30T14:15:48+00:00\",\"dateModified\":\"2024-03-21T10:58:54+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png\",\"width\":628,\"height\":124},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GKE Preemptible VM node pool\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manage GKE node pools with preemptible VMs - Prwatech","description":"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Manage GKE node pools with preemptible VMs - Prwatech","og_description":"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-05-30T14:15:48+00:00","article_modified_time":"2024-03-21T10:58:54+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/","url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/","name":"Manage GKE node pools with preemptible VMs - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png","datePublished":"2021-05-30T14:15:48+00:00","dateModified":"2024-03-21T10:58:54+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Manage GKE Node Pools with Preemptible VMs - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-550.png","width":628,"height":124},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/kubernetes\/gke-preemptible-vm-node-pool-manage-gke-node-pools-with-preemptible-vms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"GKE Preemptible VM node pool"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=9248"}],"version-history":[{"count":4,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9248\/revisions"}],"predecessor-version":[{"id":11079,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9248\/revisions\/11079"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=9248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=9248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=9248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}