可以离线运行oc cluster up吗?

问题描述

我正在尝试在离线环境中运行byte(Openshift 3.11开发环境)。

我以前是在线运行的,所以需要下载图像。

然后我修改了这些文件并进行设置

  • ./ openshift.local.clusterup / static-pod-manifests / apiserver.yaml
  • ./ openshift.local.clusterup / static-pod-manifests / etcd.yaml
  • ./ openshift.local.clusterup / static-pod-manifests / kube-controller-manager.yaml
  • ./ openshift.local.clusterup / static-pod-manifests / kube-scheduler.yaml

然后设置oc cluster up

但是,随后运行imagePullPolicy: IfNotPresent时,文件被覆盖,然后再次设置为oc cluster up

然后我尝试将上述文件设置为仅eadonly,但是imagePullPolicy: Always失败,出现权限错误

更新

我发现以下命令-oc cluster up-将创建包含oc cluster up --tag=v3.11的{​​{1}},但是.yaml在没有Internet访问的情况下仍然无法启动。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)