当前位置: 首页 > 知识库问答 >
问题:

在Mac OS上安装Fabric8遇到困难

公德明
2023-03-14

我正试着按照这里的入门说明:

http://fabric8.io/guide/getstarted/gofabric8.html

DeploymentConfigs all started so we can deploy fabric8


Deploying fabric8 to your OpenShift installation at https://192.168.64.2:8443 for domain 192.168.64.2.xip.io in namespace default

Loading fabric8 releases from maven repository:https://repo1.maven.org/maven2/
Creating new Project: default
Deploying package: platform version: 2.4.19

SecurityContextConstraints restricted.........................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope
Cannot create SecurityContextConstraints: User "admin" cannot create securitycontextconstraints at the cluster scope
Failed to create SecurityContextConstraints {{ } {fabric8      0 {0001-01-01 00:00:00 +0000 UTC} <nil> <nil> map[] map[] [] []} 0xc420604360 true [] [] [] [*] true true false false {RunAsAny <nil>} {RunAsAny <nil> <nil> <nil>} { []} { []} false [] [system:serviceaccount:openshift-infra:build-controller system:serviceaccount:default:default system:serviceaccount:default:fabric8 system:serviceaccount:default:gerrit system:serviceaccount:default:jenkins system:serviceaccount:default:router system:serviceaccount:default:registry system:serviceaccount:default:gogs system:serviceaccount:default:fluentd] [system:cluster-admins system:nodes]} in namespace default: User "admin" cannot create securitycontextconstraints at the cluster scope
SecurityContextConstraints fabric8............................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope
Cannot create SecurityContextConstraints: User "admin" cannot create securitycontextconstraints at the cluster scope
Failed to create SecurityContextConstraints {{ } {fabric8-sa-group      0 {0001-01-01 00:00:00 +0000 UTC} <nil> <nil> map[] map[] [] []} <nil> false [] [] [] [gitRepo configMap secret emptyDir] false false false false {RunAsAny <nil>} {RunAsAny <nil> <nil> <nil>} { []} { []} false [] [] [system:serviceaccounts]} in namespace default: User "admin" cannot create securitycontextconstraints at the cluster scope
SecurityContextConstraints fabric8-sa-group...................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope
addClusterRoleToUser cluster-admin system:serviceaccount:default:fabric8......✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToUser cluster-admin system:serviceaccount:default:jenkins......✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToUser cluster-admin system:serviceaccount:default:configmapcontroller✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToUser cluster-admin system:serviceaccount:default:exposecontroller✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToUser cluster-reader system:serviceaccount:default:metrics.....✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToUser cluster-reader system:serviceaccount:default:fluentd.....✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addClusterRoleToGroup cluster-reader system:serviceaccounts...................✘ User "admin" cannot get clusterpolicybindings at the cluster scope
addServiceAccount fluentd.....................................................✘ User "admin" cannot create serviceaccounts in project "default"
addServiceAccount registry....................................................✘ User "admin" cannot create serviceaccounts in project "default"
addServiceAccount router......................................................✘ User "admin" cannot create serviceaccounts in project "default"

共有1个答案

房泉
2023-03-14

用户名“admin”似乎已改为“system:admin”。我完全手动运行安装:

minishift start
oc login -u system:admin
oc project default
gofabric8 deploy -y
 类似资料:
  • 本小节我们将介绍如何在 MacOS 平台安装 Java 。 如果你想在其他平台安装 Java,请查看对应平台的安装教程: 在 Windows 上安装 Java 在 Linux 上安装 Java 1. 下载安装包 我们首先打开 Oracle 官网的 JDK 下载地址,找到 Java SE 14 版块,点击 JDK Download 按钮。 点击 JDK Download 按钮后我们会跳转到 JDK

  • 问题内容: 我正在尝试使用Homebrew在Mac OS 10.6上设置MySQL 。 一切顺利,我也成功了。 但是,当我尝试使用以下方法连接到服务器时: 我得到: 我也尝试过访问, 但是使用或不使用密码都无法使用。 这是全新计算机上的全新安装,据我所知,必须使用root用户密码才能访问新安装。我也尝试过: 但我也得到 问题答案: 我认为使用已安装的旧版本mysql可以最终胜任这一职位。我遇到了同

  • 本文向大家介绍ansible 在MacOS上安装Ansible,包括了ansible 在MacOS上安装Ansible的使用技巧和注意事项,需要的朋友参考一下 示例 有两种主要方法可以使用Homebrew或Pip软件包管理器在OS X上安装Ansible。 如果您有自制软件,则可以使用以下命令安装最新的Ansible: 要安装Ansible 1.9.X分支,请使用以下命令: 要安装Ansible

  • 在让rJava工作了许多恼人的尝试之后,我决定做一个Q 如何在我的MacOS系统上安装rJava?我使用macOS Catalina 10.15.6。 我经常收到以下类型的警告消息: 错误:rJava的包或命名空间加载失败:. onLoad在rJava的loadNamesspace()中失败,详细信息:调用:dyn.load(file, DLLpath=DLLpath,...)错误:无法加载共享对

  • 我能做什么来解决这个问题?我要尽快处理这件事。 谢谢

  • 我希望尝试在拉库的Cro图书馆:https://cro.services/docs 但是,当我尝试使用安装它时,我得到以下输出: 在Ubuntu(WSL2)和Kali linux上的结果相同。