[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-693206-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-693206-en":130,"doc-similar-693206":157},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","hardening-guide-with-cis-v16-benchmark-rancher-v263-kubernetes-v118-to-v121","Hardening Guide with CIS v1.6 Benchmark - Rancher v2.6.3 Kubernetes v1.18 to v1.21","","Prescriptive guidance for hardening a production RKE cluster used to install Rancher v2.6.3 with Kubernetes v1.18 through v1.21, aligning configurations with CIS Kubernetes Benchmark v1.6 controls. The guide secures nodes before installing Kubernetes, covering kernel runtime sysctl settings, creation of an etcd dedicated user and group with correct RKE permissions, and disabling automount of default service account tokens. It also specifies namespace-scoped network policy requirements and references hardened RKE cluster, template, and cloud-config configurations. Known issues and constraints for CIS-hardened setups are included.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/hardening-guide-with-cis-v16-benchmark-rancher-v263-kubernetes-v118-to-v121/693206/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/hardening-guide-with-cis-v16-benchmark-rancher-v263-kubernetes-v118-to-v121/693206.png","ImageObject",300,407,{"name":42,"@type":43},"8796093062539","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What CIS benchmark and Kubernetes versions does this hardening guide target?","Question",{"text":62,"@type":63},"It targets CIS Kubernetes Benchmark v1.6 with Rancher v2.6.3 and Kubernetes v1.18 through v1.21. The guidance is aligned to those specific version combinations.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which node-level kernel runtime parameters does the guide recommend?",{"text":67,"@type":63},"It recommends setting sysctl values such as vm.overcommit_memory, vm.panic_on_oom, kernel.panic, kernel.panic_on_oops, and kernel.keys.root_maxbytes via /etc/sysctl.d/90-kubelet.conf, then applying them with sysctl -p.",{"name":69,"@type":60,"acceptedAnswer":70},"How does the guide ensure the default service accounts are hardened?",{"text":71,"@type":63},"It instructs to set automountServiceAccountToken to false for the default service account in each namespace (including default and kube-system), and it provides a method to patch the service accounts accordingly.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},693206,1794251994,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":30,"preview_urls":144},8796093062539,"Hardening Guide with CIS v1.6 Benchmark  \nHardening Guide with CIS v1.6 Benchmark  \n1  \nHardening Guide with CIS v1.6 Benchmark  \nContents  \nHardening Guide with CIS v1.6 Benchmark  \nThis document provides prescriptive guidance for hardening a production installation of a RKE cluster to be used with Rancher v2.6.3. It outlines the configurations and controls required to address Kubernetes benchmark controls from the Center for Information Security (CIS).  \nThis hardening guide describes how to secure the nodes in your cluster, and it is recommended to follow this guide before installing Kubernetes.  \nThis hardening guide is intended to be used for RKE clusters and associated with specific versions of the CIS Kubernetes Benchmark, Kubernetes, and Rancher:  \n\n| Rancher\u003Cbr>Version | CIS Benchmark Version | Kubernetes Version |\n| --- | --- | --- |\n| Rancher v2.6.3 | Benchmark v1.6 | Kubernetes v1.18, v1.19, v1.20 and v1.21 |\n\nClick here to download a PDF version of this document.  \n• Overview  \n• Configure Kernel Runtime Parameters  \n• Configure  etcd user and group  \n• Configure  default service account  \n• Configure Network Policy  \n• Reference Hardened RKE   cluster.yml  Configuration  \n• Reference Hardened RKE Template Configuration  \n• Reference Hardened cloud-config Configuration  \nOverview  \nThis document provides prescriptive guidance for hardening a RKE cluster to be used for installing Rancher v2.6.3 with Kubernetes v1.18 up to v1.21 or provisioning a RKE cluster with Kubernetes v1.18 up to v.21 tobe used within Rancher v2.6.3. It outlines the configurations required to address Kubernetes benchmark controls from the Center for Information Security (CIS).  \nFor more details about evaluating a hardened cluster against the official CIS benchmark, refer to the CIS 1.6 Benchmark-SelfAssessment Guide-Rancher v2.6.  \n3  \nHardening Guide with CIS v1.6 Benchmark  \nKnown Issues  \n• Rancher exec shell and view logs for pods are not functional in a CIS v1.6 hardened setup when only public IP is provided when registering custom nodes. This functionality requires a private IP tobe provided when registering the custom nodes.  \n• When setting the default_pod_security_policy_template_id: to restricted or restricted-noroot , based on the pod security policies (PSP) provided by Rancher, Rancher creates RoleBindingsand ClusterRoleBindings on the default service accounts. The CIS v1.6 check 5.1.5 requires that the default service accounts have no roles or cluster roles bound to it apart from the defaults. In addition the default service accounts should be configured such that it does not provide a service account token and does not have any explicit rights assignments.  \nConfigure Kernel Runtime Parameters  \nThe following sysctl configuration is recommended for all nodes type in the cluster. Set the following parameters in /etc/sysctl .d/90-kubelet .conf:  \nvm .overcommit_memory= 1  \nvm .panic_on_oom=0  \nkernel.panic= 10  \nkernel .panic_on_oops= 1  \nkernel . keys . root_maxbytes= 25000000  \nRun sysctl -p /etc/sysctl .d/90-kubelet .conf to enable the settings.  \nConfigure etcd user and group  \nA user account and group for the etcd service is required to be setup before installing RKE. The uid and gid for the etcd user will be used in the RKE config.yml to set the proper permissions for files and directories during installation time.  \nCreate etcd user and group  \nTo create the etcd user and group run the following console  \ncommands. The commands below use 52034 for uid and gid are for  \n4  \nHardening Guide with CIS v1.6 Benchmark  \nexample purposes. Any valid unused uid or gid could also be used in lieu of 52034 .  \ngroupadd --gid 52034 etcd  \nuseradd --comment \"etcd service account\" --uid 52034 --gid 52034 etcd - -shell /usr/sbin/nologin  \nUpdate the RKE config.yml with the uid and gid of the etcd user:  \nservices :  \netcd :  \ngid: 52034  \nuid: 52034  \nConfigure default Service Account  \nSet automountServiceAccountToken to false for default","cbCaib44HyLOvWI8","https://ap.wps.com/l/cbCaib44HyLOvWI8","pdf",267181,22,"English","# Overview\n# Configure Kernel Runtime Parameters\n## Recommended sysctl settings for kubelet\n# Configure etcd user and group\n## Create etcd user and group\n## Update RKE config.yml permissions\n# Configure default Service Account\n## Disable automountServiceAccountToken\n# Configure Network Policy\n## Ensure Network Policies exist in all namespaces\n# Reference Hardened configurations","[{\"question\":\"What CIS benchmark and Kubernetes versions does this hardening guide target?\",\"answer\":\"It targets CIS Kubernetes Benchmark v1.6 with Rancher v2.6.3 and Kubernetes v1.18 through v1.21. The guidance is aligned to those specific version combinations.\"},{\"question\":\"Which node-level kernel runtime parameters does the guide recommend?\",\"answer\":\"It recommends setting sysctl values such as vm.overcommit_memory, vm.panic_on_oom, kernel.panic, kernel.panic_on_oops, and kernel.keys.root_maxbytes via /etc/sysctl.d/90-kubelet.conf, then applying them with sysctl -p.\"},{\"question\":\"How does the guide ensure the default service accounts are hardened?\",\"answer\":\"It instructs to set automountServiceAccountToken to false for the default service account in each namespace (including default and kube-system), and it provides a method to patch the service accounts accordingly.\"}]","Hardening Guide with CIS v1.6 Benchmark - Rancher v2.6.3 Kubernetes v1.18 to v1.21 | PDF",55,[145,149,153],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8b71191c28d32ee9ca4c36f0a21c065b.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4f63efa954eb85bbe540d7f298e6c63a.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5159aa4f9c7439d4e9e166d80a5f5e9f.webp",981,1387,{"list":158,"token":11},[159,165,171,177,184,190,197,204,211,218],{"doc_id":160,"doc_title":161,"file_type":136,"home_preview_img_url":162,"slug":163,"view_count":30,"category_name":29,"create_tm":164},693205,"Red Hat OpenShift Virtualization hardening guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005098804/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=036qt%2FhDs8X0cxvsRceEaJOQ5e4%3D","red-hat-openshift-virtualization-hardening-guide",1794251993,{"doc_id":166,"doc_title":167,"file_type":136,"home_preview_img_url":168,"slug":169,"view_count":96,"category_name":29,"create_tm":170},718193,"A GUIDE TO KUBERNETES FOR SRES AND SYSADMINS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230018621790/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=3GrZt8fmABAeftMDkyQ3%2FW1MshM%3D","a-guide-to-kubernetes-for-sres-and-sysadmins",1794857296,{"doc_id":172,"doc_title":173,"file_type":136,"home_preview_img_url":174,"slug":175,"view_count":33,"category_name":29,"create_tm":176},698068,"KUBERNETES OBJECTS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010182007/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=%2B2cYS1xmNvGR50NHq%2Bytrnj3XE8%3D","kubernetes-objects",1794447832,{"doc_id":178,"doc_title":179,"file_type":136,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":29,"create_tm":183},203670,"Koenig Cra+ed - Kubernetes Boot Camp (CKA + CKAD + CKS)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882564895/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=Djb%2FmD%2FyYwk5sd3fC%2F22Yw4uJn8%3D","koenig-craed-kubernetes-boot-camp-cka-ckad-cks",14,1788562505,{"doc_id":185,"doc_title":186,"file_type":136,"home_preview_img_url":187,"slug":188,"view_count":123,"category_name":29,"create_tm":189},203741,"Kubernetes Security Best Practices - Safeguarding Cloud-native Containerized Applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882945002/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=GpWBw%2B8i02gS%2FU9im083TOqDugc%3D","kubernetes-security-best-practices-safeguarding-cloud-native-containerized-applications",1788563155,{"doc_id":191,"doc_title":192,"file_type":136,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=DNCXZ3keiRgDC1zS%2BNa9tosHBgI%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",959,1785472614,{"doc_id":198,"doc_title":199,"file_type":136,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=lNime5mNXBES7LYjEPS4g2dOt28%3D","xnx-universal-transmitter-installation-manual",867,1776135954,{"doc_id":205,"doc_title":206,"file_type":136,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=IbrBiz2b1%2FN7sFMV3SSluzcSe1w%3D","the-candlestick-trading-bible-trading-guide",822,1789767270,{"doc_id":212,"doc_title":213,"file_type":136,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=p9gxdeJcZM0zJsJHqTK0XTZbQeI%3D","free-fire-proxy-server",572,1776135932,{"doc_id":219,"doc_title":220,"file_type":136,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796236859&Signature=55s4gpAE3dAoJbNLUcOKdEfWfuU%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",502,1786012506]