国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:

這篇具有很好參考價值的文章主要介紹了helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

執(zhí)行helm install ui aliyun/weave-scope時報錯?

報錯情況如下:

[root@k8smaster ~]# helm install ui aliyun/weave-scope 
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "weave-scope-agent-ui" namespace: "" from "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "ui-weave-scope" namespace: "" from "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "weave-scope-agent-ui" namespace: "" from "": no matches for kind "DaemonSet" in version "extensions/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "weave-scope-frontend-ui" namespace: "" from "": no matches for kind "Deployment" in version "apps/v1beta1"
ensure CRDs are installed first]

原因:K8s中RBAC權(quán)限處理在Kubernetes的1.5版本中引入,在1.6版本時升級為Beta版本,在1.8版本時升級為GA……? ?weave版本低,k8s版本高,k8s版本和安裝的yaml文件中對應(yīng)的apiVersion版本不對,版本不兼容,根據(jù)報錯情況修改即可。

解決:

無法直接安裝,就先將包下載到當(dāng)前目錄.

[root@k8smaster ~]# helm pull aliyun/weave-scope 
[root@k8smaster ~]# ls | grep weave
weave-scope-0.9.2.tgz

解壓這個包【若提示xxx不可信的舊時間戳,無所謂的不用管它】

[root@k8smaster ~]# tar zxvf weave-scope-0.9.2.tgz 

進入解壓出來的文件夾,根據(jù)報錯內(nèi)容執(zhí)行

[root@k8smaster ~]# cd weave-scope
[root@k8smaster weave-scope]# grep -r v1beta1
charts/weave-scope-agent/templates/clusterrole.yaml:apiVersion: rbac.authorization.k8s.io/v1beta1
charts/weave-scope-agent/templates/clusterrolebinding.yaml:apiVersion: rbac.authorization.k8s.io/v1beta1
charts/weave-scope-agent/templates/daemonset.yaml:apiVersion: extensions/v1beta1
charts/weave-scope-frontend/templates/deployment.yaml:apiVersion: apps/v1beta1

helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:,ygggy,kubernetes,容器,云原生

將所有對應(yīng)yaml中的...v1beta1,更換成...v1即可

需要注意的是:daemonset.yaml文件中的extensions/v1beta1務(wù)必改成apps/v1

helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:,ygggy,kubernetes,容器,云原生

?【其它文件的修改,正常修改為...v1即可,不在此過多展示】

helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:,ygggy,kubernetes,容器,云原生

修改完成后,回到weave-scope文件夾的所在目錄,再進行安裝。

[root@k8smaster weave-scope]# cd ..
[root@k8smaster ~]# ls | grep weave-scope
weave-scope
[root@k8smaster ~]# helm install  ui  weave-scope
NAME: ui
LAST DEPLOYED: Wed Jul 26 09:16:49 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:

安裝成功

helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:,ygggy,kubernetes,容器,云原生文章來源地址http://www.zghlxwxcb.cn/news/detail-736766.html

到了這里,關(guān)于helm install報錯Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 運行Dockerfile報錯:ERROR: failed to solve: process “/bin/sh -c pip3 install flask“

    運行Dockerfile報錯:ERROR: failed to solve: process “/bin/sh -c pip3 install flask“

    運行Dockerfile時報錯,Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by \\\'ConnectTimeoutError(urllib3.connection.VerifiedHTTPSConnection object at 0x7f22bcb635f8, \\\'Connection to pypi.python.org timed out. (connect timeout=15)\\\')\\\': /simple/flask/ 出現(xiàn)該報錯是因為pip install flask時用的國外

    2024年02月16日
    瀏覽(33)
  • python安裝opencv報錯ERROR: Could not build wheels for opencv-python, which is required to install pyproj

    python安裝opencv報錯ERROR: Could not build wheels for opencv-python, which is required to install pyproj

    python3.6安裝opencv遇到報錯。如下所示: pip install opencv-python 報錯。 原因是使用 pip install opencv-python 命令安裝的是最新版本,python3.6不支持。所以找一個python3.6支持的版本。如 opencv-python==4.3.0.38 。

    2024年02月11日
    瀏覽(93)
  • pip install mpi4py報錯:ERROR: Could not build wheels for mpi4py, which is required to install pyprojec

    在 conda 環(huán)境下 pip install mpi4py 安裝 mpi4py 庫時出現(xiàn)編譯報錯,報錯信息為: 所以導(dǎo)致該錯誤的原因是 即沒有找到 x86_64-conda_cos6-linux-gnu-cc 。只需執(zhí)行以下命令安裝即可: 安裝完成后重新執(zhí)行 pip install mpi4py 即可完成安裝。

    2024年02月16日
    瀏覽(20)
  • linux開啟防火墻后,Docker容器啟動報錯:ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule 解決辦法

    目錄 1、錯誤場景和現(xiàn)象 2、原因分析 3、解決辦法 linux開啟或重啟防火墻后,創(chuàng)建docker自定義網(wǎng)絡(luò)時 報錯: [root@VM-16-5-centos home]# docker network create --driver bridge --subnet 192.168.0.0/16 --gateway 192.168.0.1 frayernet Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: ?(ipta

    2024年02月12日
    瀏覽(27)
  • 【Unity 踩坑系列】配置VScode環(huán)境Downloading the.NET Runtime Failed to download.NET 7.0.9installation timed out

    【Unity 踩坑系列】配置VScode環(huán)境Downloading the.NET Runtime Failed to download.NET 7.0.9installation timed out

    在最近使用Unity配置VScode開發(fā)環(huán)境時,總會出現(xiàn)以下的情況。(很多朋友其實本地已經(jīng)自己安裝好了.net環(huán)境 PS:可能各種版本.net 6.0 - .net 8.0都試過安裝了 但就是會自動下載最新版本的.net ) 其中的根本原因 就是我們的VScode C#擴展插件沒有檢測到本地的.net 環(huán)境從而導(dǎo)致自動下載

    2024年02月13日
    瀏覽(16)
  • npm install報錯unable to resolve dependency tree

    npm install報錯unable to resolve dependency tree

    一、問題背景 npm install安裝項目依賴時報錯 解決:npm install --legacy-peer-deps 其實提示上有:npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps 二、什么是peerDependency? 在日常使用命令 npm install / npm install XX 下載依賴的操作中,如果你使用的

    2023年04月26日
    瀏覽(30)
  • 解決安裝ENVI5.3報錯:the installation of MSVC_2010_SP1_x64_32bit has failed

    解決安裝ENVI5.3報錯:the installation of MSVC_2010_SP1_x64_32bit has failed

    前一陣子需要用到ENVI5.3軟件,一直裝不上老是報 the installation of MSVC_2010_SP1_x64_32bit has failed。setup will now exit的錯,在網(wǎng)上找了很多參考的解決方法還是沒能解決,最后自己瞎摸索著裝上了,希望對大家有所幫助。 問題說明: 安裝ENVI5.3時出現(xiàn)如下錯誤: 原因就是之前有安裝過

    2024年02月04日
    瀏覽(46)
  • pngquant failed to build, make sure that libpng-dev is installed 問題

    第一個參考方案失敗 :npm install -g windows-build-tools@4.0.0 安裝失敗,提示 依賴不在支持 第二個方案,降低node 版本 失敗 第三種方案,成功 先執(zhí)行,下面兩行代碼,再按照依賴 第4種方案修改 host文件沒有試 參考文檔 https://blog.csdn.net/qq_40206575/article/details/129088419 依賴按照好后,

    2024年02月05日
    瀏覽(20)
  • CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解決方案(親測有效)

    CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解決方案(親測有效)

    CMake編譯OpenCV4.6.0過程中一直出錯: CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. 解決方案如下: 將CMAKE_MAKE_PROGRAM項后面的路徑設(shè)置為Qt安裝路徑下的路徑。例如:D:/Qt/Qt5.12.12/Tools/mingw7

    2024年02月15日
    瀏覽(92)
  • pip install opencv-python出錯 Getting requirements to build wheel ... error (conda 環(huán)境)

    pip install opencv-python出錯 Getting requirements to build wheel ... error (conda 環(huán)境)

    目的:使用python2,安裝cv2 module 出現(xiàn)問題。 最近訓(xùn)練神經(jīng)網(wǎng)絡(luò)的代碼,遇到使用python2的源碼,自己改成python3的時候發(fā)現(xiàn)問題。還是改到python2。但是還遇到問題。特別是安裝cv2模塊的時候: 對于這類問題,最后發(fā)現(xiàn)是,在使用 pip install opencv-python的時候,默認(rèn)安裝較新的版本

    2024年02月13日
    瀏覽(32)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包