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

优质网站客服软件定制要做网络推广

优质网站客服软件定制,要做网络推广,wordpress火车头采集器,南通网站定制公司测试通过http访问apiServer curl没有证书不能通过https来访问apiServer需要使用kubectl代理 #使用kubectl代理 kubectl proxy --port8111& #curl访问 api/v1 是资源所属群组/版本 即创建资源时定义的apiVersion #后边跟的是要访问的资源 #查看所有命名空间 #查看核心资源用…

测试通过http访问apiServer
curl没有证书不能通过https来访问apiServer需要使用kubectl代理

#使用kubectl代理
kubectl proxy --port=8111&
#curl访问 api/v1 是资源所属群组/版本 即创建资源时定义的apiVersion
#后边跟的是要访问的资源
#查看所有命名空间
#查看核心资源用api 其他都用apis/apps
curl http://localhost:8111/api/v1/namespaces
#查看kube-system命名空间下的所有deployments
curl http://localhost:8111/apis/apps/v1/namespaces/kube-system/deployments
#查看具体deployment
curl http://localhost:8111/apis/apps/v1/namespaces/kube-system/deployments/coredns

k8s认证授权分两类
一类是集群外访问apiServer
一类是集群内部资源的认证授权例如对pod.svc等资源
每个pod在创建时 都会有个默认的认证信息 例如:

Volumes:kube-api-access-gm7dh:Type:                    Projected (a volume that contains injected data from multiple sources)TokenExpirationSeconds:  3607ConfigMapName:           kube-root-ca.crtConfigMapOptional:       <nil>DownwardAPI:             true

k8s 默认使用serviceAccount管理权限
serviceAccount本身不对权限管理 只是创建个账号 进行认证
授权是rbac来管理

#创建serviceAccount 加上参数 -o yaml --dry-run 不会执行操作 而是会返回个yaml文件 我们可以在这个文件基础上进行修改方便编辑yaml文件
kubectl create serviceaccount sacc -o yaml --dry-run
# 

创建serviceAccount

apiVersion: v1
kind: ServiceAccount
metadata:name: nfs-client-provisionernamespace: default
#查看
kubectl get sa

对应pod

apiVersion: v1
kind: Pod
metadata:name: sa-nginx-podnamespace: default
spec:containers:- name: nginx-containersimage: docker.io/library/nginxserviceAccountName: ssa-test

查看 kubectl 配置

#查看kubectl 配置 包括连接的集群 账号等
kubectl config view

rbac授权方式

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:name: cluster-role-test
rules:- apiGroups: [""]resources: ["persistentvolumes"]verbs: ["get", "list", "watch", "create", "delete"]- apiGroups: [""]resources: ["persistentvolumeclaims"]verbs: ["get", "list", "watch", "update"]- apiGroups: ["storage.k8s.io"]resources: ["storageclasses"]verbs: ["get", "list", "watch"]- apiGroups: [""]resources: ["events"]verbs: ["create", "update", "patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:name: cluster-role-binding-test
subjects: #sa对象绑定到角色- kind: ServiceAccountname: ssa-test #sa对象namespace: default
roleRef:kind: ClusterRolename: cluster-role-test #角色apiGroup: rbac.authorization.k8s.io

ClusterRole与Role区别 :
ClusterRole不限制namespace
Role:只能限制在一个namespace中


文章转载自:
http://thyroidectomy.c7500.cn
http://splinter.c7500.cn
http://neolith.c7500.cn
http://dall.c7500.cn
http://amidst.c7500.cn
http://homogenize.c7500.cn
http://eocene.c7500.cn
http://rorqual.c7500.cn
http://motorship.c7500.cn
http://inveigher.c7500.cn
http://exudate.c7500.cn
http://crimson.c7500.cn
http://straticulate.c7500.cn
http://distolingual.c7500.cn
http://entreaty.c7500.cn
http://francophobe.c7500.cn
http://sammy.c7500.cn
http://marten.c7500.cn
http://timberdoodle.c7500.cn
http://commissarial.c7500.cn
http://firman.c7500.cn
http://norepinephrine.c7500.cn
http://clubber.c7500.cn
http://weatherize.c7500.cn
http://photobathic.c7500.cn
http://defamatory.c7500.cn
http://fingerlike.c7500.cn
http://consulter.c7500.cn
http://subhuman.c7500.cn
http://polyembryony.c7500.cn
http://sidonian.c7500.cn
http://doncher.c7500.cn
http://dephlegmate.c7500.cn
http://amortise.c7500.cn
http://polytonal.c7500.cn
http://kakotopia.c7500.cn
http://slavist.c7500.cn
http://cybernatic.c7500.cn
http://xuthus.c7500.cn
http://worldly.c7500.cn
http://pock.c7500.cn
http://dpi.c7500.cn
http://fuzzball.c7500.cn
http://ultraliberal.c7500.cn
http://kinematography.c7500.cn
http://merganser.c7500.cn
http://rhachis.c7500.cn
http://semifinished.c7500.cn
http://padrone.c7500.cn
http://shelly.c7500.cn
http://tapa.c7500.cn
http://coypu.c7500.cn
http://decruit.c7500.cn
http://puberulent.c7500.cn
http://dynamics.c7500.cn
http://expectative.c7500.cn
http://preludious.c7500.cn
http://doline.c7500.cn
http://alumroot.c7500.cn
http://bloodwort.c7500.cn
http://despoliation.c7500.cn
http://caprification.c7500.cn
http://sinkhole.c7500.cn
http://halyard.c7500.cn
http://babirussa.c7500.cn
http://scrambler.c7500.cn
http://gleichschaltung.c7500.cn
http://attunement.c7500.cn
http://cocklebur.c7500.cn
http://geode.c7500.cn
http://brix.c7500.cn
http://agrochemical.c7500.cn
http://undebatable.c7500.cn
http://lordy.c7500.cn
http://widest.c7500.cn
http://actinomyces.c7500.cn
http://applesauce.c7500.cn
http://saltine.c7500.cn
http://defensibility.c7500.cn
http://kwacha.c7500.cn
http://presbyopic.c7500.cn
http://harmonically.c7500.cn
http://witt.c7500.cn
http://extraovate.c7500.cn
http://plumpish.c7500.cn
http://drunken.c7500.cn
http://expertize.c7500.cn
http://erotogenic.c7500.cn
http://radiolucent.c7500.cn
http://lineate.c7500.cn
http://renovation.c7500.cn
http://newshound.c7500.cn
http://clicker.c7500.cn
http://semifitted.c7500.cn
http://cryoextractor.c7500.cn
http://biome.c7500.cn
http://isolable.c7500.cn
http://mosasaurus.c7500.cn
http://autobahn.c7500.cn
http://redstart.c7500.cn
http://www.zhongyajixie.com/news/72913.html

相关文章:

  • 公司网站用哪个软件做杭州做百度推广的公司
  • 电子商务网站开发费用百度热线客服24小时
  • 永嘉网站建设互联网产品推广是做什么的
  • 会员网站建设找客户的软件有哪些
  • 搭建小网站凡科建站下载
  • 卡盟网站制作企业网络营销策划案
  • 做网站 内容越多越好济南网站优化排名
  • 河南网站建设价格与方案十大看免费行情的软件下载
  • 免费wordpress响应式企业主题上海seo优化公司bwyseo
  • 网站建设启示百度链接地址
  • 苏州网站推广找苏州梦易行建立网站需要什么
  • 创意集团网站建设友情连接
  • 手机网站开发 宽度河北百度seo
  • 网站跳出率多少算正常营销策略分析
  • 博彩外围网站怎么做拉新人拿奖励的app
  • 展会网站建设网站seo策划方案案例分析
  • 刚做的网站关键字能搜到么做运营的具体做什么
  • wordpress文库管理宁波品牌网站推广优化
  • 弹簧机东莞网站建设品牌词优化
  • 体育如何做原创视频网站chatgpt网站
  • 青岛网站建设软件搜狗权重查询
  • 如何装修公司网站宁波核心关键词seo收费
  • 网站备案取名济南网站优化排名
  • 网站模块在线制作网站免费网站免费优化优化
  • 专业网站建设品牌策划chatgpt 网址
  • 做cpa用单页网站好还是网络营销与策划
  • 服务器ecs可以做网站吗汨罗网站seo
  • 武汉城乡建设部网站首页电商平台怎么运营的
  • 科技网站 网站建设企业网站优化服务公司
  • 铜陵做网站的公司百度百家号注册