Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kubectl create Service report no matches versio

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Failure phenomenon: execute kubectl create-f filebeat.yml to report an error as follows: error: unable to recognize "filebeat.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1" solution:

Modify the api interface in the yml configuration file to apps/v1, because the version of kubernetes used between them is version 1.14.x, and version 1.16.x gives up some API support!

Reference address: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removalsAPIThe following APIs are no longer served by default:All resources under apps/v1beta1 and apps/v1beta2-use apps/v1 insteaddaemonsets, deployments, replicasets resources under extensions/v1beta1-use apps/v1 insteadnetworkpolicies resources under extensions/v1beta1-use networking.k8s.io/v1 insteadpodsecuritypolicies resources under extensions/v1beta1-use policy/v1beta1 insteadServing these resources can be temporarily re-enabled using the-- runtime-config apiserver flag.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report