kubelet 常用命令
kubelet 常用命令
# 根据状态筛选pods kubectl get pods --field-selector status.phase=Failed ...
linux开启tcp_tw_recycle引发的问题总结
linux开启tcp_tw_recycle引发的问题总结
存在场景 服务端 cat /etc/sysctl.conf ... net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_timestamps = 1 ... 客户端 k8s集群pod中请求服务端的http接口 客户端host抓包 tcpdump -i bo ...
k8s集群报错之You must be logged in to the server (Unauthorized)
k8s集群报错之You must be logged in to the server (Unauthorized)
这是个常见的错误,一般是证书更新后,没有即时更新kubectl配置导致的。 error: You must be logged in to the server (Unauthorized) 解决方法 cp -i /etc/kubernetes/admin.conf $HOME/.kube/ ...
centos7安装高可用k8s集群
centos7安装高可用k8s集群
一、环境准备 1 主机准备 主机 Ip主机名主功能10.200.20.116master01etcd,apiserver,controller-manager,scheduler,docker,proxy10.200.20.117master02etcd,apiserver,controller ...
k8s 1.18.x 部署fission(serverless)
k8s 1.18.x 部署fission(serverless)
部署环境 System: centos 7 Kubernetes: 1.18.6 我看fission 1.15.0需要k8s 1.19.x及更高的版本,由于我本地只有k8s 1.18.6版,所有只能使用fission 1.14.1版本 安装fission # kubectl create ...
MinIO 多种部署及扩容方案
MinIO 多种部署及扩容方案
单机部署 wget https://dl.minio.io/server/minio/release/linux-amd64/minio chmod +x minio ./minio server /data 启动后会打印出 AccessKey 和 SecretKey 等信息 ./mini ...
k8s 集群内网环境开放公网IP访问
k8s 集群内网环境开放公网IP访问
Unable to connect to the server: x509: certificate is valid for xxx.xxx.xxx.xxx not yyy.yyy.yyy.yyy 环境 安装方式:kubeadm 内网 IP:xxx.xxx.xxx.xxx 外网 IP:yy ...
no PriorityClass with name default was found
no PriorityClass with name default was found
新安装的k8s集群可能没有default PriorityClass,这时我们只需要手动创建一个即可。 priorityGlobalDefault.yaml apiVersion: scheduling.k8s.io/v1beta1 kind: PriorityClass metadata: ...
prometheus-k8s-rulefiles-0 无法修改问题
prometheus-k8s-rulefiles-0 无法修改问题
kubesphere configmap prometheus-k8s-rulefiles-0 无法直接修改,需要使用命令方式。 # 获取所有的 PrometheusRule kubectl get PrometheusRule -n kubesphere-monitoring-system ...
k8s证书过期/使用100年证书
k8s证书过期/使用100年证书
常见问题 大概的错误提示:certificate has expired or is not yet valid,生成时间更长的有效期,保证证书不会在短时间失效,如果有必要的话,也可以做相应的监控告警。 单机和集群更新证书,都是在所有master上执行后面的的几个步骤。 如果证书已经过期,可以使 ...
zhr

张文兵

90后程序员

 湖南 - 长沙



友情链接