会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Wshile
博客园
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2020年5月25日
Alertmanager部署和简单使用
摘要: Alertmanager部署和简单使用 部署 解压 [root@server01 src]# wget https://github.com/prometheus/alertmanager/releases/download/v0.15.0/alertmanager-0.15.0.linux-amd
阅读全文
posted @ 2020-05-25 16:15 Wshile
阅读(1233)
评论(0)
推荐(0)
2020年5月24日
Kubernetes实践之深入掌握Pod——Pod健康检查和服务可用性检查
摘要: Pod健康检查和服务可用性检查 Kubernetes对Pod的健康状态可以通过两类探针来检查: (1)LivenessProbe探针:用于判断容器是否存活(Running状态),如果LivenessProbe探针探测到容器不健康,则kubelet将杀掉该容器,并根据容器的重启策略做相应的处理。(2)
阅读全文
posted @ 2020-05-24 16:32 Wshile
阅读(332)
评论(0)
推荐(0)
Kuberbetes实践——镜像拉取策略、command args参数、Pod生命周期和重启策略
摘要: command args参数 示例1: spec: containers: - name: liveness image: busybox command: ["sh", "-c"] args: - /bin/sh - -c - echo ok > /tmp/health; sleep 10; rm
阅读全文
posted @ 2020-05-24 16:05 Wshile
阅读(783)
评论(0)
推荐(0)
Kubernetes实践之深入掌握Pod——在容器内获取Pod信息
摘要: 在容器内获取Pod信息 我们知道,每个Pod在被成功创建出来之后,都会被系统分配唯一 的名字、IP地址,并且处于某个Namespace中,那么我们如何在Pod的容 器内获取Pod的这些重要信息呢?答案就是使用Downward API。 Downward API可以通过以下两种方式将Pod信息注入容器
阅读全文
posted @ 2020-05-24 09:47 Wshile
阅读(4786)
评论(0)
推荐(0)
2020年5月23日
Kubernetes实践之深入掌握Pod——ConfigMap
摘要: ConfigMap ConfigMap供容器使用的典型用法如下: (1)生成为容器内的环境变量(2)设置容器启动命令的启动参数(需设置为环境变量)(3)以Volume的形式挂载为容器内部的文件或目录 创建ConfigMap资源对象 通过YAML配置文件方式创建 [root@lab-26 test]#
阅读全文
posted @ 2020-05-23 21:53 Wshile
阅读(372)
评论(0)
推荐(0)
2020年5月22日
<4>Python开发——条件判断
摘要: 条件判断 if语句 if else money = 123 if money > 123: print("OK") else: print("No") if 嵌套 gender = input("??") if gender == "男": age = input("多大") if int(age)
阅读全文
posted @ 2020-05-22 11:14 Wshile
阅读(172)
评论(0)
推荐(0)
2020年5月21日
安装Granafa
摘要: 安装Granafa 详细步骤 下载启动 [root@server01 src]# wget https://dl.grafana.com/oss/release/grafana-6.7.1-1.x86_64.rpm [root@server01 src]# yum -y install grafan
阅读全文
posted @ 2020-05-21 17:38 Wshile
阅读(180)
评论(0)
推荐(0)
Prometheus生命周期与标签概念
摘要: 生命周期与标签概念 在每个scrape_interval期间(示例中是15秒),Prometheus都会检查执行的作业。这些作业将生成目标列表,即服务发现过程。 服务发现还会根据目标的配置来设置其他标签,这些标签带有__的前缀和后缀,包括__scheme__、__address__和__metric
阅读全文
posted @ 2020-05-21 11:41 Wshile
阅读(828)
评论(0)
推荐(0)
node_exporter和cAdvisor部署
摘要: node_exporter部署 软件包版本 node_exporter-0.18.1.linux-amd64.tar.gz 详细操作 解压链接 [root@server02 ~]# mkdir /opt/src [root@server02 src]# tar -xvf node_exporter-
阅读全文
posted @ 2020-05-21 08:59 Wshile
阅读(929)
评论(0)
推荐(0)
2020年5月20日
Prometheus——部署
摘要: Prometheus——部署 软件包版本 prometheus-2.14.0-rc.0.linux-amd64.tar.gz 详细步骤 解压 [root@server01 ~]# mkdir /opt/src [root@server01 ~]# tar -xvf prometheus-2.14.0
阅读全文
posted @ 2020-05-20 10:16 Wshile
阅读(252)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告