当前位置:网站首页>unable to recognize “*.yaml“: no matches for kind “ClusterRole“ in version “rbac.authoriz
unable to recognize “*.yaml“: no matches for kind “ClusterRole“ in version “rbac.authoriz
2022-06-12 20:00:00 【kainx】
reason
The cause of the problem is that the version definition of the resource file is out of date . It needs to be modified rbac.authorization.k8s.io/v1beta1
Replace with rbac.authorization.k8s.io/v1 that will do . DaemonSet from extensions/v1beta1 Turned into apps/v1, Added selector
for example :
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds
namespace: kube-system
labels:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
For more information
1. https://github.com/flannel-io/flannel/blob/master/Documentation/kube-flannel.yml
2. https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
3. https://www.cnblogs.com/liruilong/p/15681402.html
边栏推荐
- Explain
- 1. Getting to know R
- Installation and testing of open source deep learning framework plaidml
- 【splishsplash】自定义导出器
- MySQL installation and Application
- Microsoft Word tutorial, how to insert a header or footer in word?
- MySQL日志
- When will the index fail
- Axure RP 9 for MAC (interactive product prototyping tool) Chinese version
- Wechat e-book reading applet graduation design work (6) opening defense ppt
猜你喜欢

华尔街备忘单(Wall Street Cheat Sheet)

Process accounting, process time, daemon
![[games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)](/img/90/f23c3fd9386521ec9254943bff2a0d.png)
[games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)

Process creation fork (), demise wait()

在 Traefik Proxy 2.5 中使用/开发私有插件(Traefik 官方博客)

系统 日志

基于微信电子书阅读小程序毕业设计毕设作品(6)开题答辩PPT

Wechat e-book reading applet graduation design completion works (3) background function

Demand and business model innovation-5-process

Unsupported class file major version 60
随机推荐
Promise to solve hell function calls can be used infinitely
SPI one master and many slaves
Unsupported class file major version 60
Detailed explanation of search tree and hash table
进程会计、进程时间、守护进程
Detailed explanation of SQL exists usage
Torch network model is converted to onnx format and visualized
Macro definitions and functions
基于微信电子书阅读小程序毕业设计毕设作品(6)开题答辩PPT
Reading applet based on wechat e-book graduation design (2) applet function
Equipment management - borrowing / returning module interface code
基于微信电子书阅读小程序毕业设计毕设作品(2)小程序功能
开源深度学习框架PlaidML安装及测试
94. analyze the content in the web page
const
PostgreSQL数据库复制——后台一等公民进程WalReceiver pg_stat_wal_receiver视图
登录mysql
[leetcode] small thinking of optimal division
Negative remainder problem
WordPress optimization tutorial makes WordPress open faster