Category: Technical Notes

k8s 自动扩缩容概览

k8s 自动扩缩容概览Overview Cluster Autoscaler - a component that automatically adjusts the size of a Kubernetes Cluster so that all pods have a place to run and there are no unneeded nodes. Works with GCP, A

Azure Monitoring KQL Study

azure-monitoring-KQLAzure monitor—Log AnalysticsVM’Extensions— OmsAgentForLinux 扩展介绍基础语法语法CustomLog_CL | where RawData matches regex “System warning” 区分大小写 语法来源来自 Azure Data Explorer ,但又不完全相同 找不同比如,不

Kubeadm_证书

Kubeadm_证书介绍kubeadm中证书的用法,权限以及自定义证书的注意事项。 kubeadm启动后生成如下证书: ls -l /etc/kubernetes/pki-rw——- 1 root root 1679 Sep 6 14:12 ca.key-rw-r–r– 1 root root 1025 Sep 6 14:12 ca.crt-rw——- 1 root root 1675 Sep

Linux’ Shell 编程题

问题1:使用for循环在/test目录下通过随机小写10个字母加固定字符串test批量创建10个html文件,名称例如为: 123456[root@test test]# sh /server/scripts/test.sh [root@test test]# ls coaolvajcq_test.html qnvuxvicni_test.html vioesjmcbu_test.htmlgm

INGRESS EXPERIMENT

本文介绍了ingress 实践。 官方文档:地址 创建service创建3个service,实际应用中可能不止这三个。创建ingress 12kubectl create ns ingress-nginx 创建后端服务1,并暴露出端口 123kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.4 --re

aliyun_summary1

包含十个问题。以简短的方式,介绍使用阿里云过程中遇到的问题。部分回答,来自阿里支持2线、3线。 问题1描述:有一台ecs连接slb,超时。ecs上没有工作负载。slb ip:87.65.43.21slb id: lb-2jd9xxxxsg2xxxxx2ecs在vpc网络里,访问 onetest.citic.com 对应的slb ip:现象如下:访问baidu,很快就返回了。 过程:检查出提供外网访

helm快速理解

Helm快速理解官方文档:地址 概念: 类似apt yum 有一个stable仓库(网络上的),一个本地仓库(自己创建) helm-server使用k8s的api部署应用 helm客户端操作charts 创建了一个本地仓库,并且在本地的kubectl config view里,创建了helm-server–> tiller 12345678910root@zbrand-T430:~

Install Ceph

INSTALL CEPH ON A SINGLE NODE(BARE METAL)此文是在linuxone上创建ceph存储的例子。 同amd64架构。脱胎于ceph的官方文档。 如果是linuxone的机器,请设置/etc/hosts文件如下YOUR.HOST.PUBLIC.IP hostname 更改iptables的规则,添加一条本机到本机的规则:iptables -A INPUT -s Y