https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/1、Pod phasevalue for pod phasePending集群已接收请求,未调度到node节点。node资源,硬盘pressure IO cpu memoryRunning1/1 running 已经ready,程序已要以pod内正常运行Succeede
#二进制安装版本可适用于更高版本、1.17-18.x思路基本相同一、 基础准备1、版本对应关系k8s 与 docker version版本对应listhttps://github.com/kubernetes/kubernetes/releaseshttps://blog.csdn.net/fanren224/article/details/86573264Kubernetes 1.15
一、环境准备1、所有节点执行setenforce 0systemctl stop firewalldsystemctl disable firewalld2、命名vim /etc/hosts192.168.1.31 k3s01192.168.1.32 k3s02192.168.1.33 k3s033、免密.......二、安装1、创建目录https://get.k3s.io/https://git
云环境可以使用云盘或者RDS做为共享存储一、配置NFS1、节点ip31_NFSSERVER集群KM01192.168.1.31KM02192.168.1.32node01192.168.1.71node02192.168.1.722、创建目录、配置mkdirp/data/nfsshare/mysqlmkdirp/data/nacos/chmod777/dataroot@km01nfssharevi
一、环境准备本环境是由单独的etcd集群(3节点)及双master双node节点:!image.png(https://s2.51cto.com/images/20210910/1631283748868983.png?xossprocess=image/watermark,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_1
1、集群 主机名 ip 配置 etcd-01 192.168.1.61 8C/16G/100G etcd-02 192.168.1.62 8C/16G/100G etcd-03 192.168.1.63 8C/16G/100G 2、配置etcd集群 1> hosts文件 [root@k01 ~]# cat /etc/hosts 127.0.0.1 localhost localhos
一、ingress原理1、数据流向ingress为七层负载均衡,理解为nginx。源于官网的数据流向图,客户端访问进入ingress,ingress根据域名进行解析,随后找到关联的service服务获取pod信息,直接代理至pod节点2、ingress模式hostnetworknodeporthostnetwork模式:每个节点都创建一个ingress-controller的容器,容器的网络模式设
1、使用ack创建naspvc报错,如下:mount-tnfs-oxxxxxx.......://mntmount:wrongfstype,badoption,badsuperblockonxxxxmissingcodepageorhelperprogram,orothererrorneeda/sbin/mount.<type>helperprogram)Insomecasesusef
#docker-compose安装curl-Lhttps://get.daocloud.io/docker/compose/releases/download/1.24.0/docker-compose-`uname-s`-`uname-m`>/usr/local/bin/docker-composechmod+x/usr/local/bin/docker-compose1、下载nginx镜
#原生k8spod默认为UTC,宿主为CST。根据我的经验云环境pod与宿主是同步的一、pod与宿主时间不一致#解决办法1)在dockerfile中添加时区配置即可RUNrm-f/etc/localtime&&ln-sv/usr/share/zoneinfo/Asia/Shanghai/etc/localtime&&echo"Asia/Shanghai">/e
1、k8s存储原理`如图所示,底层存储支持各种方式,NAS、云盘、CEPH是我们常用的存储方式之一。这是最底层的硬件存储,在底层硬件基础之上再开辟PV(PersistentVolume),通过PV申请PVC(PersistentVolumeClaim)资源。实现方式分为两种:通过定义PV再定义PVC;直接动态申请PVC。2、卷访问模式ReadWriteOnce卷可以被一个节点以读写方式挂载;Rea
1、客户侧现象使用ackpod挂载pvc,使用的华为NAS系统,报错,但是pod所在宿主node节点是可以正常挂载所有卷。报错如下:flexvolume:drivercallfailed,status:Failure,reason:Nas,maybeusefastnas,butpathnotstartwith/share:Failedtoruncmd:mount-fnfs-overs=3,xxxx
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号