• 忘记kubeadm join的参数用kubeadm token create --print-join-command命令查看
    • 5年前
    • 2020-01-27 09:49
  • 1. 两种集成方式方式 1.1 代码集成 /* #include <stdio.h> #include <malloc.h> #include <string.h> char** getStringArray(...
    • 5年前
    • 2020-01-21 12:50
  • 前提 已安装好prometheus。 本文安装的traefik版本为v1.7.11。prometheus版本为:v2.11.0。 1. 配置serviceAccount的权限 ingress-rbac.yml的配置如下: apiVersion: ...
    • 5年前
    • 2020-01-14 16:32
  • 逻辑流程图 说明 1. 定义HPA 这里定义了一个测试的HPA(sample-app),这个HAP关联的Deployment为sample-app,动态扩容的范围为1~10,扩容的条件是根据Pods的metrics(http_requests)...
    • 5年前
    • 2020-01-10 17:43
  • 参考: https://tonybai.com/2017/01/17/understanding-flannel-network-for-kubernetes/
    • 5年前
    • 2020-01-09 15:46
  • 参考 http://dockerone.com/article/9359 《Kubernetes 网络权威指南》 IP地址分配 Kubernetes使用各种IP范围为节点、Pod和服务分配IP地址。 系统会从集群的VPC网络...
    • 5年前
    • 2020-01-09 15:35
  • 1. 安装环境准备 本文通过单台虚拟机安装好基础组件后,再拷贝虚拟机的方式安装,避免重复安装基础组件耗费时间。(如果想离线安装,只需要把kubelet、kubectl、kubeadm等文中提到的yum安装需要的rpm包下载下来,通过rpm命令安装...
    • 5年前
    • 2020-01-07 17:11
  • 参考 kube-prometheus官方代码库: https://github.com/coreos/kube-prometheus kube-prometheus修改版,在k8s 1.17.0中部署成功: https://gith...
    • 5年前
    • 2020-01-07 15:23
  • iptables详解(1):iptables概念★★★ http://www.zsythink.net/archives/1199 iptables详解(2):iptables实际操作之规则查询★★★ http://www.zsythink.ne...
    • 5年前
    • 2019-12-25 14:05
  • 参考 官方安装帮助:https://kubernetes.io/docs/tasks/tools/install-kubectl/#optional-kubectl-configurations 安装bash-completion yum i...
    • 5年前
    • 2019-12-23 15:46
  • 服务端配置参考:服务端配置 windows客户端配置参考:windows客户端配置参考 linux客户端配置参考:linux客户端配置参考
    • 5年前
    • 2019-12-09 17:25
  • 参考: https://github.com/kubernetes-incubator/external-storage https://github.com/kubernetes-incubator/external-storag...
    • 5年前
    • 2019-12-09 15:35
  • 参考: 官方参考:https://prometheus.io/docs/prometheus/latest/querying/basics/ 中文翻译参考:https://ryanyang.gitbook.io/prometheus...
    • 5年前
    • 2019-12-09 15:17
  • 参考: github代码地址:https://github.com/coreos/prometheus-operator 官方说明: https://coreos.com/blog/the-prometheus-operator.h...
    • 5年前
    • 2019-12-08 11:42
  • 参考: 本文安装步骤参考:https://medium.com/@chris_linguine/how-to-monitor-your-kubernetes-cluster-with-prometheus-and-grafana-2d570...
    • 5年前
    • 2019-12-07 22:26
  • 参考: https://www.qikqiak.com/post/install-metrics-server/ stable/metrics-server的chart官方说明:https://github.com/helm/cha...
    • 5年前
    • 2019-12-07 12:01
  • 参考:https://github.com/LennonRuangjaroon/alpine-java8-jdk 1. 下载并运行Alpine镜像 docker pull alpine docker run alpine 在alpine容器中...
    • 5年前
    • 2019-12-02 11:44
  • scratch:空镜像,基础镜像 scratch是Docker中预留的最小的基础镜像。bosybox 、 Go语言编译打包的镜像都可以基于scratch来构建。 scratch镜像不在镜像仓库中,但是可以在Dockerfile引用。 如: FRO...
    • 5年前
    • 2019-12-02 11:42
  • 1. RUN脚本导致docker镜像文件较大增长 每个RUN或COPY命令都会导致镜像分层,分层中的文件为执行命令所涉及的所有文件,例如COPY一个APP文件夹到镜像,再RUN chmod -R +x APP,则会导致镜像中APP文件夹的分为两层...
    • 5年前
    • 2019-12-02 11:40
  • 从容器拷贝到宿主机: docker cp [OPTIONS] [CONTAINER_ID]:[SRC_PATH] [DEST_PATH] 从宿主机拷贝到容器: docker cp [OPTIONS] [DEST_PATH] [CONTAINER_...
    • 5年前
    • 2019-12-02 11:38

文章树