我是靠谱客的博主 过时百合,最近开发中收集的这篇文章主要介绍rook ceph的安装与配置务必特别小心,任何一个小错误都会带来大麻烦,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

[root@docker rook]# helm install --tls --namespace rook --name rook-ceph rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: release rook-ceph failed: Internal error occurred: admission webhook "trust.hooks.securityenforcement.admission.cloud.ibm.com" denied the request: 
Deny "docker.io/rook/ceph:v0.8.3", no matching repositories in ClusterImagePolicy and no ImagePolicies in the "rook" namespace
[root@docker rook]# cd ..
[root@docker software]# ls
cloudctl  docker  helmctl  kubectl  os  rook
[root@docker software]# mkdir policy
[root@docker software]# cd policy
[root@docker policy]# vi clusterImagePolicy.yaml
[root@docker policy]# kubectl apply -f clusterImagePolicy.yaml
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterimagepolicy.securityenforcement.admission.cloud.ibm.com/ibmcloud-default-cluster-image-policy configured
[root@docker policy]# cd ..
[root@docker software]# ls
cloudctl  docker  helmctl  kubectl  os  policy  rook
[root@docker software]# cd rook
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: a release named rook-ceph already exists.
Run: helm ls --all rook-ceph; to check the status of the release
Or run: helm del --purge rook-ceph; to delete it
[root@docker rook]# helm ls --all rook-ceph
Error: transport is closing
[root@docker rook]# helm del --purge rook-ceph
Error: transport is closing
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph2 rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: release rook-ceph2 failed: podsecuritypolicies.extensions "00-rook-ceph-operator" already exists
[root@docker rook]# kubectl del 00-rook-ceph-operator
Error: unknown command "del" for "kubectl"

Did you mean this?
    set
    get
    delete

Run 'kubectl --help' for usage.
unknown command "del" for "kubectl"

Did you mean this?
    set
    get
    delete

[root@docker rook]# kubectl delete 00-rook-ceph-operator
error: resource(s) were provided, but no name, label selector, or --all flag specified
[root@docker rook]# kubectl delete 00-rook-ceph-operator -n rook
error: resource(s) were provided, but no name, label selector, or --all flag specified
[root@docker rook]# kubectl delete podpolicy 00-rook-ceph-operator -n rook
error: the server doesn't have a resource type "podpolicy"
[root@docker rook]# kubectl delete ?
error: resource(s) were provided, but no name, label selector, or --all flag specified
[root@docker rook]# kubectl delete PodSecurityPolicy 00-rook-ceph-operator
podsecuritypolicy.extensions "00-rook-ceph-operator" deleted
[root@docker rook]# ls
rook-clusterrolebinding.yaml  rook-priviledged-psp-user.yaml  rook-values.yaml
rook-pre-validation.yaml      rook-priviledged-psp.yaml
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph2 rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: a release named rook-ceph2 already exists.
Run: helm ls --all rook-ceph2; to check the status of the release
Or run: helm del --purge rook-ceph2; to delete it
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph3 rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: release rook-ceph3 failed: serviceaccounts "rook-ceph-system" already exists
[root@docker rook]# kubectl delete serviceaccount rook-ceph-system -n rook
serviceaccount "rook-ceph-system" deleted
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph4 rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: release rook-ceph4 failed: podsecuritypolicies.extensions "00-rook-ceph-operator" already exists
[root@docker rook]# kubectl delete PodSecurityPolicy 00-rook-ceph-operator
podsecuritypolicy.extensions "00-rook-ceph-operator" deleted
[root@docker rook]# helm install --tls --namespace rook --name rook-ceph5 rook-beta/rook-ceph --version v0.8.3 -f rook-values.yaml
Error: release rook-ceph5 failed: customresourcedefinitions.apiextensions.k8s.io "filesystems.ceph.rook.io" already exists
[root@docker rook]# 
 

最后

以上就是过时百合为你收集整理的rook ceph的安装与配置务必特别小心,任何一个小错误都会带来大麻烦的全部内容,希望文章能够帮你解决rook ceph的安装与配置务必特别小心,任何一个小错误都会带来大麻烦所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部