因为“Tolerations:node.kubernetes.io/not-ready:NoExecute for 300s”处于“Pending”状态,报错
warning failedscheduling 2m42s (x221 over 5h3m) default-scheduler 0/1 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn’t tolerate.

查看pod的具体状态描述:



解决:
1.在nginx-deployment.yaml中加以下代码:

2.使用下面的命令使Master Node参与工作负载:
k8s是master节点的hostname
允许master节点部署pod,使用命令如下:

kubectl taint nodes --all node-role.kubernetes.io/master-

查看pod状态变为running

pod状态为pending,报错 warning failedscheduling 2m42s (x221 over 5h3m) default-scheduler相关推荐

  1. Ubuntu 报错 WARNING:`gateway4` has been deprecated, use default routes instead... 解决方案

    在 /etc/netplan/50-cloud-init.yaml 下配置静态网络: network:ethernets:eth0:dhcp4: falseaddresses: [192.168.1. ...

  2. vagrant up报错 Warning: Authentication failure. Retrying...解决方案

    vagrant up报错 Warning: Authentication failure. Retrying...解决方案 参考文章: (1)vagrant up报错 Warning: Authent ...

  3. ionic4 背景设置动态图片报错WARNING: sanitizing unsafe style value background-image:url

    ionic4 背景设置动态图片报错WARNING: sanitizing unsafe style value background-image:url WARNING: sanitizing uns ...

  4. python报错warning: install_lib: 'build\lib' does not exist -- no Python modules to install

    先哭一会儿,差点搞自闭 python 离线安装python-docx模块 离线包 https://files.pythonhosted.org/packages/e4/83/c66a1934ed5ed ...

  5. 使用Umi SSR 报错 Warning: Did not expect server HTML to contain a <div> in <div>.

    问题描述: 使用umi进行服务端渲染报错  Warning: Did not expect server HTML to contain a <div> in <div>. 解 ...

  6. docker部署禅道报错 WARNING: IPv4 forwarding is disabled. Networking will not work.

    docker部署禅道 报错 WARNING: IPv4 forwarding is disabled. Networking will not work. 通过 #创建网络后启动禅道服务器 docke ...

  7. 树莓派重启DHCP报错Warning: The unit file, source configuration file or drop-ins of docker.service changed

    问题 树莓派重启DHCP报错Warning: The unit file, source configuration file or drop-ins of docker.service change ...

  8. MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法

    MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file '/etc/my.cnf' is ignored的解决方法 问题分析 ...

  9. Linux启动进入紧急模式报错Warning: Intel Processor - this hardware has not undergone upstream testing.

    我在vmware中删除了一个虚拟机的某一块硬盘,导致开机直接进入紧急模式,并报错Warning: Intel Processor - this hardware has not undergone u ...

最新文章

  1. 作业12图的着色问题
  2. 巧用组策略技术禁用办公室QQ聊天
  3. virtualbox 使用
  4. [Leetcode][第679题][JAVA][24点游戏][回溯][暴力]
  5. linux下mysql连接_Linux下MySQL C++连接操作
  6. “敏捷开发”怎么就“敏捷”了
  7. oracle分析函数汇总
  8. VBS/BAT使用/恶搞(操作+图示)
  9. cad vba 打开文件对话框_CADvba开发手册.doc
  10. MySQL性能调优的10个方法
  11. SEO工具:免费快速排名软件大全!
  12. hugepage oracle 12c,Huge page使用的一些问题
  13. ipq wifi校准
  14. Android APK文件反编译 查看appid等信息
  15. HZNU Training 4 for Zhejiang Provincial Collegiate Programming Contest 2019
  16. [计算机组成原理]计算机发展历程篇
  17. 软件测试面试题(带答案)
  18. LeetCode数据结构基础---2021/8/18
  19. [JZOJ4058]【JSOI2015】子集选取
  20. 《瞳孔:一个开放源码平台,用于普遍的眼球追踪和基于移动凝视的交互》论文阅读

热门文章

  1. 2014年12月2日更新完英雄联盟一直显示无法连接服务器,【致想玩韩服LOL的Mac用户】macOS Sierra[10.12.4可用]下安装英雄联盟新客户端并连接到韩服服务器...
  2. 一加9pro 鸿蒙系统,一加9Pro对比小米11U,谁才是真正的安卓机皇,硬汉对决
  3. ARM体系结构常用术语解释
  4. 红色巨人的崛起和衰弱
  5. 未经检视的人生不值得活
  6. 手机服务器无响应的截图,手机和电脑无数据线即时共享手机屏幕截图文件的方法...
  7. mysql 指定位置添加列_给MySQL表增加指定位置的列_MySQL
  8. 笔记本触摸板没反应怎么办?处理方法看这些
  9. 3d模型 vv5_WEY VV5正面对战现代ix35!网友:胜负已分
  10. 在命令行修改MySQL的编码方式