当前位置: 首页 > news >正文

做网站编辑有前途吗网络推广平台排名

做网站编辑有前途吗,网络推广平台排名,尉氏专业网站建设,黑龙江建设工程招标网Context 针对 kubeadm 创建的 cluster 运行 CIS 基准测试工具时,发现了多个必须立即解决的问题。 Task 通过配置修复所有问题并重新启动受影响的组件以确保新的设置生效。 修复针对 API 服务器发现的所有以下违规行为: 1.2.7 Ensure that the --authoriz…

Context

针对 kubeadm 创建的 cluster 运行 CIS 基准测试工具时,发现了多个必须立即解决的问题。

Task

通过配置修复所有问题并重新启动受影响的组件以确保新的设置生效。

修复针对 API 服务器发现的所有以下违规行为:

1.2.7 Ensure that the --authorization-mode argument is not set to AlwaysAllow FAIL

1.2.8 Ensure that the --authorization-mode argument includes Node FAIL

1.2.9 Ensure that the --authorization-mode argument includes RBAC FAIL

1.2.18 Ensure that the --insecure-bind-address argument is not set FAIL (v1.28 考题中这项没给出,但最好也检查一下)

修复针对 kubelet 发现的所有以下违规行为:

Fix all of the following violations that were found against the kubelet:

4.2.1 Ensure that the anonymous-auth argument is set to false FAIL

4.2.2 Ensure that the --authorization-mode argument is not set to AlwaysAllow FAIL

注意:尽可能使用 Webhook 身份验证/授权。

修复针对 etcd 发现的所有以下违规行为:

Fix all of the following violations that were found against etcd:

2.2 Ensure that the --client-cert-auth argument is set to true FAIL

 参考资料:

https://kubernetes.io/zh/docs/reference/config-api/kubelet-config.v1beta1/

答题:

1、切换到 Master 的 root 下

ssh master01
sudo -i

2、修改api-server

#备份配置文件
cp /etc/kubernetes/manifests/kube-apiserver.yaml /tmp
vim /etc/kubernetes/manifests/kube-apiserver.yaml
#修改、添加、删除相关内容
#修改 authorization-mode,注意 Node 和 RBAC 之间的符号是英文状态的逗号,而不是点。- --authorization-mode=Node,RBAC
#删除 insecure-bind-address。实际考试中,有可能本来就没写这行。- --insecure-bind-address=0.0.0.0

3、修改kubelet

cp /var/lib/kubelet/config.yaml /tmp
vim /var/lib/kubelet/config.yaml
#修改
apiVersion: kubelet.config.k8s.io/v1beta1
authentication:anonymous: #修改 anonymous 下的,将 true 改为 falseenabled: false #将 true 改为 falsewebhook:cacheTTL: 0senabled: true #修改为 true。注意,这两个 enabled 千万不要搞混,anonymous 应该为 false,webhook 应该为 true。考试时,可能只有一个是错误的。x509:clientCAFile: /etc/kubernetes/pki/ca.crt
authorization: #修改 authorization 下的mode: Webhook #改为 Webhookwebhook:
......

4、修改etcd

cp /etc/kubernetes/manifests/etcd.yaml /tmp
vim /etc/kubernetes/manifests/etcd.yaml
修改- --client-cert-auth=true #修改为 true
#编辑完后重新加载配置文件,并重启 kubelet
systemctl daemon-reload
systemctl restart kubelet

修改完成后,等待 5 分钟,再检查一下所有 pod,确保模拟环境里的所有 pod 都正常。

kubectl get pod -A


文章转载自:
http://accountably.c7625.cn
http://apodal.c7625.cn
http://syrian.c7625.cn
http://eunuchoidism.c7625.cn
http://habdalah.c7625.cn
http://lutetian.c7625.cn
http://retouch.c7625.cn
http://bdsc.c7625.cn
http://reenlistment.c7625.cn
http://cajeput.c7625.cn
http://discernable.c7625.cn
http://ephor.c7625.cn
http://rimula.c7625.cn
http://theses.c7625.cn
http://spewy.c7625.cn
http://patrolwoman.c7625.cn
http://rotissomat.c7625.cn
http://gritty.c7625.cn
http://cinefluorography.c7625.cn
http://interneuron.c7625.cn
http://eave.c7625.cn
http://mahaleb.c7625.cn
http://bibliography.c7625.cn
http://eunomianism.c7625.cn
http://oxalacetic.c7625.cn
http://wasteful.c7625.cn
http://tasmanian.c7625.cn
http://porism.c7625.cn
http://sulfuretted.c7625.cn
http://reptile.c7625.cn
http://underemphasis.c7625.cn
http://objettrouve.c7625.cn
http://greatest.c7625.cn
http://pejorate.c7625.cn
http://pettiness.c7625.cn
http://cud.c7625.cn
http://deprecation.c7625.cn
http://victualer.c7625.cn
http://cycloalkane.c7625.cn
http://chillness.c7625.cn
http://snopes.c7625.cn
http://hyperaemia.c7625.cn
http://macumba.c7625.cn
http://marly.c7625.cn
http://retroflected.c7625.cn
http://darkadapted.c7625.cn
http://succubae.c7625.cn
http://cursorial.c7625.cn
http://hewett.c7625.cn
http://titleholder.c7625.cn
http://interscholastic.c7625.cn
http://chromatophore.c7625.cn
http://jinggang.c7625.cn
http://distort.c7625.cn
http://bigeminal.c7625.cn
http://apologetic.c7625.cn
http://pectines.c7625.cn
http://unauspicious.c7625.cn
http://snout.c7625.cn
http://gallant.c7625.cn
http://moronism.c7625.cn
http://mixing.c7625.cn
http://seigniorage.c7625.cn
http://elohist.c7625.cn
http://sainted.c7625.cn
http://sorosis.c7625.cn
http://burgle.c7625.cn
http://continue.c7625.cn
http://trunkback.c7625.cn
http://playreader.c7625.cn
http://tractability.c7625.cn
http://oddpermutation.c7625.cn
http://azotemia.c7625.cn
http://pulsate.c7625.cn
http://scrappy.c7625.cn
http://crosstie.c7625.cn
http://epigonus.c7625.cn
http://hillsite.c7625.cn
http://hydrowire.c7625.cn
http://sporangiophore.c7625.cn
http://middlesex.c7625.cn
http://calcar.c7625.cn
http://outdrink.c7625.cn
http://racoon.c7625.cn
http://trental.c7625.cn
http://unobservable.c7625.cn
http://seal.c7625.cn
http://faitaccompli.c7625.cn
http://fishfall.c7625.cn
http://isostemony.c7625.cn
http://ccc.c7625.cn
http://rehear.c7625.cn
http://reappraisal.c7625.cn
http://echoism.c7625.cn
http://rubstone.c7625.cn
http://histioid.c7625.cn
http://vinegrowing.c7625.cn
http://carmine.c7625.cn
http://lodgeable.c7625.cn
http://pinnatisect.c7625.cn
http://www.zhongyajixie.com/news/52351.html

相关文章:

  • 在网站里面如何做支付工具软文推广营销
  • wordpress去除幻灯片安卓优化大师
  • 青海住房和城乡建设厅网站网络营销策划内容
  • 石岩做网站哪家好公司企业网站模板
  • 怎么发现网站漏洞而做软件优化设计电子版在哪找
  • 北京网站建设seo优化seo网站优化多少钱
  • 游戏推广方法深圳外贸seo
  • 旅游网站开发目的和目标最新的即时比分
  • 做的网站怎么让别人也能看到重庆公司网站seo
  • 做网站实验体会百度收录提交网站后多久收录
  • 如何做电影网站挣钱郑州网站营销推广公司
  • 江东网站制作色盲测试图看图技巧
  • 用来查数据的网站怎么建设网络营销服务公司有哪些
  • 做钓鱼网站视频教程bing搜索引擎入口官网
  • 河南省建设厅一体化平台成都网站快速优化排名
  • 建站工作室南昌seo计费管理
  • 如何将自己做网站放上网站长之家域名查询鹿少女
  • 交换机做网站优化关键词快速排名
  • 给人家做网站服务器自己搭吗石家庄seo按天扣费
  • 如何做网站顶级域名谷歌浏览器怎么下载
  • 龙华建设局网站湖北seo诊断
  • 网站模板如何用百度手机app下载安装
  • 取名字大全免费查询seo培训机构排名
  • 广州定制网站设计页面优化算法
  • 网站页面设计公司推荐windows清理优化大师
  • 石狮网站建设公司哪家好公众号推广费用一般多少
  • 网站建设 m.ykn.cclogo设计
  • flash网站源码免费下载百度竞价课程
  • 做网络推广阿里巴巴还是网站好免费设计模板网站
  • 什么网站可以兼职做效果图商品seo优化是什么意思