Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Red Hat CodeReady Workspaces at OpenShift Meetup Tokyo#2

Debf5c5633f5a9713351dfff1d501031?s=47 Nobuhiro Sue
February 28, 2019

Red Hat CodeReady Workspaces at OpenShift Meetup Tokyo#2

Debf5c5633f5a9713351dfff1d501031?s=128

Nobuhiro Sue

February 28, 2019
Tweet

Transcript

  1. Red Hat CodeReady Workspaces Kubernetes-Based Developer Workspaces and IDE 2019/2/28

    Nobuhiro Sue (@nobusue) [OpenShift Meetup Tokyo #2]
  2. コンテナベースのアプリケーション開発を容易に 1. プロジェクトの迅速化: 開発者が直ちに開発に取り掛かれる 2. 環境の整合性: 「自分のマシンでは動くんだよ・・・」 3. ソースコードの保護: 開発者のラップトップにソースコードを残さない

    ECLIPSE CHE
  3. デスクトップは環境の統一やセキュリティ確保が困難 Desktop IDE Manages... IDE Runtime (Local process or container)

    複製が困難、共有も困難 Project Files Developer Manages...
  4. ECLIPSE CHEによるソリューション Browser IDE Container Runtime Project Files 集中管理された個々の開発者のワークスペース(Pod) 容易な共有

    + 容易な管理 + セキュア
  5. CodeReady Workspaces • コンテナ内でブラウザベースの Web IDEと開発環境を提供 • Eclipse Che6ベース(Red Hatが

    サポートを提供) • OCP/OSDのSKUにバンドル • OCPとOSD上で利用可能 • Operatorによる導入と管理 • RHEL 8ベースのスタック (ツールとランタイム) 2019/2/5 GA
  6. CODEREADY WORKSPACES ARCHITECTURE 6 Private Openshift Install Behind Your Firewall

    ...Virtual Private Cloud ...Public Cloud ...Datacenter SOURCE REPOSITORY ARTIFACT REPOSITORY AD / LDAP DIRECTORY DEVELOPER CLIENTS IMAGE REGISTRY Workspace Pod CodeReady Workspaces Server Workspace Pod Workspace Pod 1..n containers
  7. CODEREADY WORKSPACES TEAMS SPEND MORE TIME CODING 7 33.2 5.8

    2.4 25.7 5.8 9.9 ENVIRONMENT MANAGEMENT + BUILD / TEST WAITING ADMINISTRATIVE TASKS BRAINSTORMING, DESIGN AND CODING AFTER BEFORE 39% MORE TIME FOR CODING.
  8. Developers / QA / Docs - Bulk of the team

    - Work off issues in a backlog - Need guidance from leads/experts Success defined by steady progress: effective and efficient. “Help me burn down the backlog faster.” DIFFERENT NEEDS, DIFFERENT GOALS 8 Experts / Architects - Small number in a team - Likely “float” or run complex tasks - Provide guidance and coaching Success defined by leaps in progress: innovation and outperformance. “Help the team run faster, with fewer stumbles.” Uses CodeReady Workspaces Builds CodeReady Workspace Stacks and Factories
  9. Stack

  10. Web IDE

  11. Factory: 既存Workspaceを共有

  12. Visual Studio Code Plugins Red HatがVSCodeのプラグイン を提供しIDEを強化: Java, Kubernetes YAML,

    Fuse XML OpenShiftプラグインによって ローカル/リモートのOpenShiftイ ンスタンスへの容易な接続やデプ ロイが可能に Dependency Analyticsによって ライセンスやCVEパッケージア ラートをチェック可能 (*)VSCode Pluginを利用する場合はChe7 IDEを含むStackを構成する必要あり https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces_for_openshift/1.0.0/html/administration_guide/proc_u sing-the-che-7-ide-in-codeready-workspaces
  13. CodeReady Workspaces 1.0 詳細 • 製品構成コンポーネント ◦ Eclipse Che 6

    ◦ Red Hat SSO (Keycloak) ◦ PostgreSQL • 製品ページ ◦ https://developers.redhat.com/products/codeready-workspaces/overview/ • インストール手順 ◦ https://access.redhat.com/documentation/en-us/red_hat_codeready_work spaces_for_openshift/1.0.0/html/administration_guide/installing_coderead y-workspaces/
  14. Eclipse Che入門方法いろいろ • SaaS (Che on OpenShift Online) ◦ https://www.eclipse.org/che/

    • Minishift ◦ Che addonを使うのが簡単です ◦ https://www.eclipse.org/che/docs/che-6/quick-start.html#openshift • Docker ◦ https://www.eclipse.org/che/docs/che-6/quick-start.html#docker
  15. CodeReady Workspaces 1.0 チュートリアル • Streamline your JBoss EAP dev

    environment with Red Hat CodeReady Workspaces =>Stackをカスタマイズし、WorkspaceからFactoryを生成するまで ◦ Part1 ▪ https://developers.redhat.com/blog/2019/01/21/codeready-worksp aces-streamline-jboss-eap-development/ ◦ Part2 ▪ https://developers.redhat.com/blog/2019/01/28/codeready-worksp aces-streamline-jboss-eap-development-part2/
  16. ECLIPSE CHE CONCEPTUAL ARCHITECTURE - Users can have more than

    one workspace (admin setting) - One Che server per Kubernetes cluster - Che server manages the lifecycle and authentication of all workspaces in the cluster - Traffic to browser is minimal - Majority of calls are inside the Che workspace, giving a “localhost” experience
  17. THANK YOU