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

app制作工具无需编程网站优化seo四个建议

app制作工具无需编程,网站优化seo四个建议,网站开发哪种专业,小白怎么做网页测试通过http访问apiServer curl没有证书不能通过https来访问apiServer需要使用kubectl代理 #使用kubectl代理 kubectl proxy --port8111 #curl访问 api/v1 是资源所属群组/版本 即创建资源时定义的apiVersion #后边跟的是要访问的资源 #查看所有命名空间 #查看核心资源用…测试通过http访问apiServer curl没有证书不能通过https来访问apiServer需要使用kubectl代理 #使用kubectl代理 kubectl proxy --port8111 #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/corednsk8s认证授权分两类 一类是集群外访问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: nilDownwardAPI: 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 viewrbac授权方式 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.ioClusterRole与Role区别 ClusterRole不限制namespace Role只能限制在一个namespace中
http://www.hkea.cn/news/14493468/

相关文章:

  • 陕西 网站建设 陕ICP网页设计素材模版
  • 个人网站备案号被注销怎样自己开网站赚钱
  • 外贸网站建设资料wordpress微信商城
  • 国家网站标题颜色搭配重庆市工程建设信息网官网新域名
  • 漳州网站建设求职简历网站模板的使用
  • 网站建设的人才怎么称呼自助建设响应式网站
  • 网站建设基本流程商城网站制作需要多少费用
  • 外国 网站模板凡科网做的网站在百度上能找到吗
  • 做go富集的网站时事新闻最新
  • 汕头做网站的公司十堰秦楚网新闻中心
  • 西部数码 网站建设wordpress 菜鸟
  • 做网站思想怎么建设网站网页游戏
  • 高端网站制造网站建设衤金手指花总
  • 建立网站费用多少郑州大型网站开发公司
  • 网站开发的税率是多少钱网络营销有哪些主要内容
  • 网站后台系统使用小程序模板与定制开发的区别
  • 佛山网站建设找方维网络郑州seo招聘
  • app公司网站模板如何用腾讯云建设自己网站
  • 怎样用c语言做网站简单几步为wordpress加上留言板
  • 网站建设维护公司资质黄埔做网站的公
  • dede做的网站总被挂马简易php企业网站源码
  • 国内网站设计经典案例泰安的网络建设公司
  • 制作小公司网站一般多少钱我的学校网页怎么制作
  • 网站使用问题哪些网站用c 做的
  • 佛山正规网站建设报价编程猫少儿编程官网
  • 渭南市住房和城乡建设局网站十堰网站建设电话
  • 凡科二级网站怎么做网站源码 带后台
  • 网站优化内链怎么做软件开发项目管理工具
  • 公司注册网站需要什么条件网站流量导入是什么意思
  • 和各大网站做视频的工作总结天津购物网站搭建