OpenShift Container Platform 3.11 开始使用the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The 参考来快速开始进行应用程序开发。Quickstart 模板提供了编程语言支持,它利用 构建器(builder)镜 像。 语 语言 言 实 实施及指南 施及指南 Ruby Rails Python Django Node.js Node.js PHP CakePHP Perl Dancer Java OpenShift Container Platform 提供的其他镜像包括: MySQL MongoDB PostgreSQL 和 HTTPS 不需要数据库,或使用 MongoDB、PostgreSQL 或 MySQL。 如果需要,可以与 A-MQ 集成 为了帮助演示这些应用程序,以下小节引导您创建一个包含示例 Node.js 应用程序的项目,该应用程序将 提供欢迎页面和当前点击计数(存储在数据库中)。 注意 注意 本节讨论 Quickstart 和 Instant App 模板及应用程序。Quickstarts0 码力 | 24 页 | 290.05 KB | 1 年前3
OpenShift Dedicated 4 入门the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Catalog 页面中,从菜单中选择 Languages → JavaScript。 11. 点 Node.js,然后点 Create 以打开 Create Source-to-Image 应 应用程序 用程序 页面。 注意 注意 您可能需要点 Clear All Filters 以显示 Node.js 选项。 12. 在 Git 部分中,点 Try sample。 13. 在 Name 字段 字段中添加一个唯一名称。该值将用于命名关联的资源。 14. 确认选择了 Deployment 和 Create a route。 15. 点 Create 以部署应用。部署 pod 需要几分钟时间。 16. 可选:选择 Node.js 应用程序并查看其边栏来检查 Topology 窗格中的 pod 状态。您必须等待 nodejs 构建完成,并且 nodejs Pod 处于 Running 状态,然后继续。 17. 部署完成后,点应用程序的路由0 码力 | 15 页 | 199.19 KB | 1 年前3
OpenShift Container Platform 4.7 镜像the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Container Platform 提供了很多默认的即时应用程序和快速启动模板,以便您轻松开始为不同 语言创建新应用程序。提供了适用于 Rails (Ruby)、Django (Python)、Node.js、CakePHP (PHP) 和 Dancer (Perl) 的模板。您的集群管理员必须在默认的全局 openshift 项目中创建这些模板,以便您访问。 默认情况下,模板会使用 GitHub 默认:false NODEJS_SLAVE_IMAGE 设置此值将覆盖用于 Node.js 代理 Pod 默认配置的镜像。项目中有一 个名为 jenkins-agent-nodejs 的相关镜像流标签。该变量必须在 Jenkins 首次启动前进行设置,以 便其生效。 Jenkins 服务器中的默认 Node.js 代理镜像:image- registry.openshift-image- registry0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.2 镜像the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Platform 提供很多默认的 Instant App 和 Quickstart 模板,有助于快速开始为不同 语言创建新应用程序。提供了适用于 Rails (Ruby)、Django (Python)、Node.js、CakePHP (PHP) 和 Dancer (Perl) 的模板。您的集群管理员应已在默认的全局 openshift 项目中创建了这些模板,以便您访 问。 默认情况下,模板会使用 GitHub 代理。 为了使用 Kubernetes 插件,OpenShift Container Platform 提供了适合用作 Jenkins 代理的镜 像:Base、Maven 和 Node.js 镜像。 Maven 和 Node.js 代理镜像均会在 OpenShift Container Platform Jenkins 镜像的 Kubernetes 插件配置 中自动配置为 Kubernetes Pod0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.2
Service Mesh 的安装、使用和发行注记信息the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The action" 结构。告诉用户要做什么前先告诉用户到什么地方。 正确的示例 正确的示例: In the node.js deployment, hover over the icon. 不正确的示例 不正确的示例: Hover over the icon in the node.js deployment. OpenShift Container Platform 4.8 Web 控制台0 码力 | 44 页 | 651.51 KB | 1 年前3
OpenShift Container Platform 4.10 关于the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Kubernetes)应用程序中最基本 的构建块。通过定义镜像流,在继续开发镜像时,可让您在一个位置保存镜像的多个版本。S2I 容器允许您将源代码插入到基本容器中,该容器被设置为运行特定类型的代码,如 Ruby、 Node.js 或 Python。 创 创建部署 建部署 :使用 Deployment 和 DeploymentConfig 对象对应用程序进行精细管理。使用 Workloads 也或 OpenShift0 码力 | 12 页 | 223.26 KB | 1 年前3
OpenShift Container Platform 4.13 关于the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Kubernetes)应用程序中最基本 的构建块。通过定义镜像流,您可以在继续开发镜像流时在一个位置收集镜像的多个版本。通过 S2I 容器,您可以将源代码插入到基础容器中。基本容器配置为运行一个特定类型的代码,如 Ruby、Node.js 或 Python。 创 创建部署 建部署 :使用 Deployment 和 DeploymentConfig 对象对应用程序进行精细管理。使用 Workloads 页面或 OpenShift0 码力 | 13 页 | 235.76 KB | 1 年前3
OpenShift Container Platform 4.14 镜像the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Non-S2I 镜像流和模板的支持。 Cluster Samples Operator 将继续支持 S2I 构建器镜像和模板,并接受更新。S2I 镜像流和模板包括: Ruby Python Node.js Perl PHP HTTPD Nginx EAP Java Webserver .NET Go 从 OpenShift Container Platform 4.16 开始,Cluster Container Platform 提供了很多默认的即时应用程序和快速启动模板,以便您轻松开始为不同 语言创建新应用程序。提供了适用于 Rails (Ruby)、Django (Python)、Node.js、CakePHP (PHP) 和 Dancer (Perl) 的模板。您的集群管理员必须在默认的全局 openshift 项目中创建这些模板,以便您访问。 默认情况下,模板会使用 GitHub0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.4 构建(build)the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The 处理期间的性能。 5.4.4. Pipeline 构建教程 本例演示如何创建 OpenShift Pipeline,以使用 nodejs-mongodb.json 模板构建、部署和验证 Node.js/MongoDB 应用程序。 jenkinsPipelineStrategy: ... env: - name: "FOO" value: "BAR" 第 第 5 章 使用以下内容,创建名为 nodejs-sample-pipeline.yaml 的文件: 注意 注意 这将创建一个 BuildConfig,它将使用 Jenkins Pipeline 策略来构建、部署和扩展 Node.js/MongoDB 示例应用程序。 3. 使用 jenkinsPipelineStrategy 创建 BuildConfig 后,请通过使用内联 jenkinsfile 告知管道接下 来做什么:0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CI/CDthe European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The Management 系统中。 本例演示如何创建 OpenShift Container Platform Pipeline,以使用 nodejs-mongodb.json 模板构建、 部署和验证 Node.js/MongoDB 应用程序。 流程 流程 1. 创建 Jenkins master: 选择要使用的项目,或使用 oc new-project创建一个新项目。 nodejs-sample-pipeline.yaml 的文件: 注意 注意 这将创建一个 BuildConfig 对象,它将使用 Jenkins Pipeline 策略来构建、部署和 扩展 Node.js/MongoDB 示例应用程序。 3. 使用 jenkinsPipelineStrategy 创建 BuildConfig 对象后,通过使用内联 jenkinsfile 告知管道做 什么: 0 码力 | 129 页 | 1.37 MB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













