上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要: helm类似yum helm下载的是配置清单文件 核心术语: Chart:一个helm程序包; Repository:Charts仓库,https/http服务器; Release:特定的Chart部署于目标集群上的一个实例;Chart -> Config -> Release程序架构: helm: 阅读全文
posted @ 2019-01-01 19:04 巽逸 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 资源指标:metrucs-server 自定义指标:prometheus, k8s-prometheus-adapter(转换prometheus数据的格式) 新一代架构: 核心指标流水线:由kubelet、metrics-server以及由API server提供的api组成;CPU累积使用率、内 阅读全文
posted @ 2019-01-01 15:51 巽逸 阅读(819) 评论(0) 推荐(0) 编辑
摘要: HPA自动收缩 autoscale 自动调整一个 Deployment, ReplicaSet, 或者 ReplicationController 的副本数量 #创建一个replicaset测试 [root@k8s-m ~]# cat my-replicaset.yaml apiVersion: apps/v1 kind: ReplicaSet metadata: nam... 阅读全文
posted @ 2019-01-01 15:49 巽逸 阅读(496) 评论(1) 推荐(0) 编辑
摘要: HeapSter InfluxDB(持久存储) Grafana 展示InfluxDB的数据(类似kibana) #安装InfluxDB #github https://github.com/kubernetes-retired/heapster #下载文件 wget https://raw.githubusercontent.com/kubernetes-retired/heapster/... 阅读全文
posted @ 2019-01-01 09:37 巽逸 阅读(1537) 评论(0) 推荐(0) 编辑
摘要: 1、k8s支持内存和cpu的限制 requests:容器运行需求,最低保障limits:限制,硬限制(资源上限) CPU: 1颗逻辑CPU(1核CPU=4个逻辑CPU) 1物理核=1000个微核(millicores) 1000m=1CPU 内存: 2、Qos类别 Qos类别: 1、Gurantee 阅读全文
posted @ 2019-01-01 09:35 巽逸 阅读(4416) 评论(0) 推荐(1) 编辑
摘要: 一、k8s调度流程 1、(预选)先排除完全不符合pod运行要求的节点2、(优先)根据一系列算法,算出node的得分,最高没有相同的,就直接选择3、上一步有相同的话,就随机选一个 二、调度方式 1、node(运行在那些node上)2、pod选择(当需要运行在某个pod在一个节点上(pod亲和性),或不 阅读全文
posted @ 2018-12-31 20:51 巽逸 阅读(2664) 评论(0) 推荐(0) 编辑
摘要: 一、介绍 Service Account概念的引入是基于这样的使用场景:运行在pod里的进程需要调用Kubernetes API以及非Kubernetes API的其它服务。Service Account它并不是给kubernetes集群的用户使用的,而是给pod里面的进程使用的,它为pod提供必要 阅读全文
posted @ 2018-12-30 15:06 巽逸 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: #dashboard的github地址 https://github.com/kubernetes/dashboard #下载 wget https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recomme 阅读全文
posted @ 2018-12-29 10:00 巽逸 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: #1、下载vsftp yum install -y vsftpd db4-utils #2、创建vsftp的用户 useradd virftp -s /sbin/nologin #3、配置ftp账号文件#上面一行为账号,下面一行为密码 cat>> /etc/vsftpd/vsftpd_login>/etc/vsftpd/vsftpd_user_conf/test1<<EOF local_... 阅读全文
posted @ 2018-12-27 13:46 巽逸 阅读(159) 评论(0) 推荐(0) 编辑
摘要: HTTPS #浏览器访问 阅读全文
posted @ 2018-12-20 15:02 巽逸 阅读(2794) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页