{"id":6248,"date":"2021-05-03T10:37:29","date_gmt":"2021-05-03T05:07:29","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=6248"},"modified":"2021-05-03T10:37:35","modified_gmt":"2021-05-03T05:07:35","slug":"how-to-install-kubernetes-on-centos-7","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-kubernetes-on-centos-7\/","title":{"rendered":"How to Install Kubernetes on CentOS 7"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">How to Install Kubernetes on CentOS 7<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Date: 03-05-2021<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong> This package is not available in CentOS 7 repositories by default. You need to add&nbsp;Kubernetes&nbsp;repositories manually. Enter the below command to retrieve the Kubernetes repositories.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"194\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-1024x194.png\" alt=\"\" class=\"wp-image-6249\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-1024x194.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-300x57.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-768x145.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-1536x291.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM-850x161.png 850w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Screen-Shot-2021-05-03-at-10.24.16-AM.png 1574w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> You will install&nbsp;<em>kubelet<\/em>,&nbsp;<em>kubeadm<\/em>, and&nbsp;<em>kubectl<\/em> packages on your system. You can use below commands to install.<br># yum install -y kubelet kubeadm kubectl<br># systemctl enable kubelet<br># systemctl start kubelet<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install Kubernetes on CentOS 7 Date: 03-05-2021 Step 1: This package is not available in CentOS 7 repositories [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1020],"tags":[855],"class_list":["post-6248","post","type-post","status-publish","format-standard","hentry","category-containers-kubernetes","tag-kubernetes","psol-cat-containers-kubernetes"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1CM","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/6248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=6248"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/6248\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=6248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=6248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=6248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}