Macos 在Mac OS上设置Fabric8时遇到问题

Macos 在Mac OS上设置Fabric8时遇到问题,macos,openshift,kubernetes,fabric8,Macos,Openshift,Kubernetes,Fabric8,我正在尝试按照此处的入门说明进行操作: 我最初遇到了一个问题,无法下载并运行oc和minishift,但通过这个问题解决了这个问题: 现在我遇到了设置安全性和挂起的问题: 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

我正在尝试按照此处的入门说明进行操作:

我最初遇到了一个问题,无法下载并运行oc和minishift,但通过这个问题解决了这个问题:

现在我遇到了设置安全性和挂起的问题:

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"
deployment配置所有已启动,以便我们可以部署fabric8
将fabric8部署到位于的OpenShift安装https://192.168.64.2:8443 对于命名空间默认值中的域192.168.64.2.xip.io
从maven存储库加载fabric8版本:https://repo1.maven.org/maven2/
创建新项目:默认值
部署包:平台版本:2.4.19
SecurityContextConstraints受限。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在群集范围内创建securitycontextconstraints
无法创建SecurityContextConstraints:用户“admin”无法在群集范围内创建SecurityContextConstraints
无法创建SecurityContextConstraints{{{}{fabric8 0{0001-01-01 00:00:00+0000 UTC}map[][]]}0xc420604360 true[][][*]true false{RunAsAny}{RunAsAny}{[]}{[]}false[][系统:serviceaccount:openshift infra:构建控制器系统:serviceaccount:默认:默认系统:serviceaccount:默认:fabric8系统:serviceaccount:默认:gerrit系统:serviceaccount:默认:jenkins系统:serviceaccount:默认:路由器系统:serviceaccount:默认:注册表系统:serviceaccount:默认:gogs系统:serviceaccount:默认:f命名空间中的luentd][system:cluster admins system:nodes]}默认值:用户“admin”无法在群集作用域中创建securitycontextconstraints
SecurityContextConstraints fabric8。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在群集范围内创建securitycontextconstraints
无法创建SecurityContextConstraints:用户“admin”无法在群集范围内创建SecurityContextConstraints
未能在命名空间默认值:用户“admin”中创建SecurityContextConstraints{{{}{fabric8 sa组0{0001-01-01 00:00:00+0000 UTC}map[][][]]map[]]false[][][[gitRepo configMap secret emptyDir]false false{RunAsAny}{[]}{RunAsAny}{[]}false[]][[system:serviceaccounts]}无法在群集作用域中创建securitycontextconstraints
SecurityContextConstraints fabric8 sa组。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在群集范围内创建securitycontextconstraints
addClusterRoleToUser群集管理系统:服务帐户:默认值:fabric8。。。。。。✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToUser群集管理系统:服务帐户:默认值:jenkins。。。。。。✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToUser群集管理系统:服务帐户:默认值:configmapcontroller✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToUser群集管理系统:服务帐户:默认值:exposecontroller✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToUser群集读取器系统:服务帐户:默认值:度量。。。。。✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToUser群集读取器系统:服务帐户:默认值:fluentd。。。。。✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addClusterRoleToGroup群集读取器系统:服务帐户。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在群集作用域中获取clusterpolicybindings
addServiceAccount fluentd。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在项目“default”中创建serviceaccounts
addServiceAccount注册表。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在项目“default”中创建serviceaccounts
addServiceAccount路由器。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。✘ 用户“admin”无法在项目“default”中创建serviceaccounts
感谢任何帮助

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

minishift start
oc login -u system:admin
oc project default
gofabric8 deploy -y