上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
  2019年8月7日
摘要: operator: statefulset:有状态副本集 特点 运行在: 1,稳定且唯一的网络标识符 2,稳定且持久的存储 3,有序,平滑地部署和扩展 4,有序,平滑地删除和终止 5,有序的滚动更新 三个组件:headless service(无头服务), statefuleset,volumeCl 阅读全文
posted @ 2019-08-07 19:30 SZ_文彬 阅读(1250) 评论(0) 推荐(0) 编辑
摘要: secret存储卷 加密存放配置文件 kubectl explain pods.spec.volumes.secret configmap存储卷 放置配置文件的 配置中心 kubectl explain pods.spec.volumes.configMap 配置容器化运用的方式: command 阅读全文
posted @ 2019-08-07 15:04 SZ_文彬 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 创建秘钥对 ssh-keygen 传公钥 ssh-copy-id node1 ssh-copy-id node2 #!/bin/sh ssh node1 "init 0" ssh node2 "init 0" sleep 5 init 0 阅读全文
posted @ 2019-08-07 14:09 SZ_文彬 阅读(171) 评论(0) 推荐(0) 编辑
  2019年8月6日
摘要: 查看k8s支持的存储类 kubectl explain pods.spec.volumes 1.emptydir kubectl explain pods.spec.volumes.emptyDir kubectl explain pods.spec.containers 容器中设置 kubectl 阅读全文
posted @ 2019-08-06 23:14 SZ_文彬 阅读(1308) 评论(0) 推荐(0) 编辑
  2019年8月5日
摘要: Ingress controller Nginx -->后来改造 Traefik -->也是用于微服务 Envoy -->微服务 Ingress资源 目前使用0.17.1版本ingress-nginx ingress定义 后端pod发生变化,service就变化,service变化ingress就发 阅读全文
posted @ 2019-08-05 23:41 SZ_文彬 阅读(4375) 评论(0) 推荐(0) 编辑
摘要: K8s三种网络: node network pod network cluster network --> virtual ip --> service 规则 service: kube-proxy监控api-server,api-server数据发生改变,相应的kube-proxy就会改变serv 阅读全文
posted @ 2019-08-05 00:41 SZ_文彬 阅读(886) 评论(0) 推荐(0) 编辑
  2019年8月3日
摘要: Pod控制器类型: ReplicationController à Replicaset Replicaset:维持用户期望的pod副本数 标签选择器:以便选定由自己选定管理的pod副本 pod资源模板:完成pod资源的新建 特点:管理无状态的pod资源,精确反映用户所定义的目标数量 K8s不建议直 阅读全文
posted @ 2019-08-03 20:56 SZ_文彬 阅读(876) 评论(0) 推荐(0) 编辑
摘要: pod生命周期: 状态:pending 挂起 没有节点满足条件 running 运行 Failed sucess unkonwn pod生命周期中的重要行为: 初始化容器 容器探测:liveness probe 探测容器是否活着 探测容器 存活性探针 readindess probe 探测容器中主程 阅读全文
posted @ 2019-08-03 00:08 SZ_文彬 阅读(257) 评论(0) 推荐(0) 编辑
  2019年8月1日
摘要: 资源:对象 service pod deployment workload:pod,ReplicaSet,Deployment,statefulset,DaemonSet,Job,Crontabjob,... 服务发现和负载均衡:service ,Ingress,.... 配置与存储:Volumn存 阅读全文
posted @ 2019-08-01 22:49 SZ_文彬 阅读(903) 评论(0) 推荐(0) 编辑
摘要: kubectl -->apiserver 管理工具 管理k8s集群 增删改查node kubectl get service/node/replicaset/deployment/statefulet/daemonset/job/cronjob kubectl --help 查看所有用法 kubec 阅读全文
posted @ 2019-08-01 22:47 SZ_文彬 阅读(427) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页