×
请登录
账号
密码
登录 Use it
代码正能量
登录
查看kubeadm join参数信息
忘记kubeadm join的参数用kubeadm token create --print-join-command命令查看
olivee
k8s安装
5年前
2020-01-27 09:49
959
0
Go调用C语言
1. 两种集成方式方式 1.1 代码集成 /* #include <stdio.h> #include <malloc.h> #include <string.h> char** getStringArray(...
olivee
go语言调用C
5年前
2020-01-21 12:50
952
0
在K8S中基于 traefik ingress 来监控每个域名的请求数量
前提 已安装好prometheus。 本文安装的traefik版本为v1.7.11。prometheus版本为:v2.11.0。 1. 配置serviceAccount的权限 ingress-rbac.yml的配置如下: apiVersion: ...
olivee
k8s运行状态监控(Metrics)
5年前
2020-01-14 16:32
1018
0
k8s 基于 prometheus的custom metrics逻辑
逻辑流程图 说明 1. 定义HPA 这里定义了一个测试的HPA(sample-app),这个HAP关联的Deployment为sample-app,动态扩容的范围为1~10,扩容的条件是根据Pods的metrics(http_requests)...
olivee
k8s运行状态监控(Metrics)
5年前
2020-01-10 17:43
1011
0
【转载】理解Kubernetes网络之Flannel网络
参考: https://tonybai.com/2017/01/17/understanding-flannel-network-for-kubernetes/
olivee
k8s网络
5年前
2020-01-09 15:46
923
0
【转载】 Kubernetes网络介绍
参考 http://dockerone.com/article/9359 《Kubernetes 网络权威指南》 IP地址分配 Kubernetes使用各种IP范围为节点、Pod和服务分配IP地址。 系统会从集群的VPC网络...
olivee
k8s网络
5年前
2020-01-09 15:35
961
0
k8s 1.17.0 安装(1master+2node)(ipvs、calico网络安装)
1. 安装环境准备 本文通过单台虚拟机安装好基础组件后,再拷贝虚拟机的方式安装,避免重复安装基础组件耗费时间。(如果想离线安装,只需要把kubelet、kubectl、kubeadm等文中提到的yum安装需要的rpm包下载下来,通过rpm命令安装...
olivee
k8s安装
5年前
2020-01-07 17:11
1228
0
在k8s1.17.0中安装kube-prometheus
参考 kube-prometheus官方代码库: https://github.com/coreos/kube-prometheus kube-prometheus修改版,在k8s 1.17.0中部署成功: https://gith...
olivee
k8s运行状态监控(Metrics)
5年前
2020-01-07 15:23
994
0
[转载] iptables网络详解★★★
iptables详解(1):iptables概念★★★ http://www.zsythink.net/archives/1199 iptables详解(2):iptables实际操作之规则查询★★★ http://www.zsythink.ne...
olivee
linux网络
5年前
2019-12-25 14:05
1049
0
安装kubectl自动提示
参考 官方安装帮助:https://kubernetes.io/docs/tasks/tools/install-kubectl/#optional-kubectl-configurations 安装bash-completion yum i...
olivee
k8s安装
5年前
2019-12-23 15:46
984
0
下载外部资源
服务端配置参考:服务端配置 windows客户端配置参考:windows客户端配置参考 linux客户端配置参考:linux客户端配置参考
olivee
下载外部资源
5年前
2019-12-09 17:25
1009
0
K8S添加外部存储(NFS)
参考: https://github.com/kubernetes-incubator/external-storage https://github.com/kubernetes-incubator/external-storag...
olivee
k8s存储
5年前
2019-12-09 15:35
1063
0
Prometheus的PromQL语法
参考: 官方参考:https://prometheus.io/docs/prometheus/latest/querying/basics/ 中文翻译参考:https://ryanyang.gitbook.io/prometheus...
olivee
k8s运行状态监控(Metrics)
5年前
2019-12-09 15:17
1017
0
用prometheus-operator的方式安装prometheus和grafana监控
参考: github代码地址:https://github.com/coreos/prometheus-operator 官方说明: https://coreos.com/blog/the-prometheus-operator.h...
olivee
k8s运行状态监控(Metrics)
5年前
2019-12-08 11:42
1110
0
安装prometheus和grafana监控
参考: 本文安装步骤参考:https://medium.com/@chris_linguine/how-to-monitor-your-kubernetes-cluster-with-prometheus-and-grafana-2d570...
olivee
k8s运行状态监控(Metrics)
5年前
2019-12-07 22:26
1028
0
metrics-server的安装(k8s监控cpu、内存的使用)
参考: https://www.qikqiak.com/post/install-metrics-server/ stable/metrics-server的chart官方说明:https://github.com/helm/cha...
olivee
k8s运行状态监控(Metrics)
5年前
2019-12-07 12:01
941
0
基于Alpine镜像制作精简的JRE6镜像
参考:https://github.com/LennonRuangjaroon/alpine-java8-jdk 1. 下载并运行Alpine镜像 docker pull alpine docker run alpine 在alpine容器中...
olivee
docker镜像
5年前
2019-12-02 11:44
997
0
docker基础镜像(base image):scratch 、 busybox 、 alpine
scratch:空镜像,基础镜像 scratch是Docker中预留的最小的基础镜像。bosybox 、 Go语言编译打包的镜像都可以基于scratch来构建。 scratch镜像不在镜像仓库中,但是可以在Dockerfile引用。 如: FRO...
olivee
docker镜像
5年前
2019-12-02 11:42
2754
0
容器制作中需要注意的几个点
1. RUN脚本导致docker镜像文件较大增长 每个RUN或COPY命令都会导致镜像分层,分层中的文件为执行命令所涉及的所有文件,例如COPY一个APP文件夹到镜像,再RUN chmod -R +x APP,则会导致镜像中APP文件夹的分为两层...
olivee
docker镜像
5年前
2019-12-02 11:40
984
0
容器和宿主机之间拷贝文件
从容器拷贝到宿主机: docker cp [OPTIONS] [CONTAINER_ID]:[SRC_PATH] [DEST_PATH] 从宿主机拷贝到容器: docker cp [OPTIONS] [DEST_PATH] [CONTAINER_...
olivee
docker容器
5年前
2019-12-02 11:38
947
0
上一页
1
...
3
4
5
...
7
下一页
文章树
热门文章
1.
spring源码主要ioc和aop部分源码
2.
Spring事务传播机制总结及源码解读
3.
sping源码debug方法
4.
docker基础镜像(base image):scratch 、 busybox 、 alpine
5.
k8s中master节点的kubelet服务启动日志分析-1(kubelet日志部分)
6.
★★★K8S中的Calico网络分析(二)—— IPIP、BGP两种网络模式分析
最新发布
1.
spring源码主要ioc和aop部分源码
2.
sping源码debug方法
3.
Spring事务传播机制总结及源码解读
4.
为什么要做技术管理
5.
SpringBoot 中 Transactional mybatis 事务
6.
mysql索引