OpenShift

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(安装)
(安装)
第23行: 第23行:
 
*[https://github.com/minishift/minishift Minishift] Run OpenShift locally
 
*[https://github.com/minishift/minishift Minishift] Run OpenShift locally
  
使用[https://docs.openshift.org/latest/minishift Minishift]快速部署。
+
使用[https://docs.openshift.org/latest/minishift Minishift]快速部署,使用[https://github.com/mist64/xhyve xhyve] hypervisor启动本地OpenShift集群。
 
  $ brew install --HEAD xhyve
 
  $ brew install --HEAD xhyve
 
  $ brew cask install minishift
 
  $ brew cask install minishift

2018年1月19日 (五) 02:27的版本

OpenShift 是 Red Hat 推出的 Platform as a Service (PaaS) 开源云平台。

OpenShift 3 使用 DockerKubernetes 帮助用户构建、部署和管理他们的应用。

目录

版本

产品

标准

Openshift-docker.png Openshift-kubernetes.png Openshift-atomic.png

安装

使用Minishift快速部署,使用xhyve hypervisor启动本地OpenShift集群。

$ brew install --HEAD xhyve
$ brew cask install minishift
$ brew install docker-machine-driver-xhyve
$ sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
$ sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
$ minishift start
$ minishift oc-env
$ oc new-app https://github.com/openshift/nodejs-ex -l name=myapp
$ oc logs -f bc/nodejs-ex
$ oc expose svc/nodejs-ex
$ minishift openshift service nodejs-ex --in-browser
$ minishift stop

OpenShift Origin Virtual Machine Deployment Guide

在一个空目录下:

$ vagrant init openshift/origin-all-in-one
$ vagrant up --provider=virtualbox

升级

$ vagrant up
$ vagrant box update --box openshift/origin-all-in-one
$ vagrant destroy --force 
$ vagrant up --provider=virtualbox 

卸载

$ vagrant halt
$ vagrant destroy --force
$ vagrant box remove --force openshift/origin-all-in-one

下载oc,并加入path

oc version

之前版本安装步骤:

下载OpenShift Vagrant VirtualBox VM快速体验,可从百度云盘下载2.8G的镜像文件

vagrant box add openshift3 openshift-bootstrap-1.1.box
vagrant up
vagrant ssh
passwd 
输入新密码,如:huihoo.io
oc version 
oc get svc
NAME              CLUSTER_IP       EXTERNAL_IP   PORT(S)                 SELECTOR                  AGE
docker-registry   172.30.236.154   <none>        5000/TCP                docker-registry=default   67d
kubernetes        172.30.0.1       <none>        443/TCP,53/UDP,53/TCP   <none>                    67d
router            172.30.233.69    <none>        80/TCP                  router=router             67d
https://localhost:8443/console
system/admin
test/test

Using OpenShift 3 on your local environment

主要有以下三种安装方法

  • 运行一个Docker容器
  • 下载二进制包
  • 编译源代码

Install OpenShift Today!

语言支持

Python

Go

Java

Web Console

网络

存储

OpenShift的存储应该是其一大亮点。

Openshift-storage.png

OpenShift 支持以下的 PersistentVolume 插件

区块链

IoT

OpenShift PEPs

Application

Application Gallery

Source-To-Image(S2I)

Marketplace

OpenShift Online Marketplace

Commons

OpenShift Commons

Kubernetes

OpenShift-Kubernetes.png

Prometheus

系统监控、告警、pull metrics and push alters、时序数据库。

OpenStack

CI/CD/Jenkins

更多有关 OpenShift with Jenkins的文章>>>

Akka

Apache Spark

Spark on OpenShift

Apache Kafka

Casandra

Ansible

API/Nginx

Jupyter

用户

开发者

OpenShift开发者

文档

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱