question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support devfile with more than one Kubernetes tool

See original GitHub issue

Description

Devfile example:

specVersion: 0.0.1
name: fix-the-kube
projects:
  - name: nodejs-mongo-app
    source:
      type: git
      location: 'https://github.com/ijason/NodeJS-Sample-App.git'
tools:
  - name: theia-editor
    type: cheEditor
    id: org.eclipse.che.editor.theia:1.0.0
  - name: exec-plugin
    type: chePlugin
    id: che-machine-exec-plugin:0.0.1
  - name: mongodb
    type: kubernetes
    local: mongo-controller.yaml
  - name: nodejs
    type: kubernetes
    local: node-controller.yaml

Controllers yamls can be found at kubernetes example

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
skabashnyukcommented, Feb 27, 2019

@garagatyi @ibuziuk we are taking this issue to our sprint. @sleshchenko are going to work on it.

1reaction
garagatyicommented, Feb 27, 2019

Since OSIO-Che and Che platform teams are not yet sure who will work on this issue we discussed technical details of the implementation with @sleshchenko We decided that scope of this task would be:

  • devfile code should add tools content into recipe of type kubernetes list
  • devfile code should convert dockerimage tool to k8s deployment or pod and also add it to the kubernetes list
  • workspace start code should merge all the deployments/pods/os templates from this kubernetes list into a single deployment (since we don’t support multiple deployments yet)
  • won’t implement export (was just confirmed by Mario)
  • but add tool meta info into k8s objects to be able to implement export of them to devfile tools later (if needed)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to Devfile - GitHub Pages
There are currently four types of components supported. There is two simpler types, such as cheEditor and chePlugin and two more complex -...
Read more >
Building a custom devfile registry
To package any external devfile stacks or samples in your devfile registry, go to the root of your repository and create an extraDevfileEntries.yaml...
Read more >
Chapter 4. Authoring devfiles - Red Hat Customer Portal
A devfiles is a YAML file that CodeReady Workspaces consumes and transforms into a cloud workspace composed of multiple containers. It is possible...
Read more >
Support Devfile format to generate a workspace #11549
The goal of this epic is to support the devfile format in Eclipse Che on all ... Support devfile with more than one...
Read more >
Devfile v2 and IDE plug-ins in Eclipse Che - Medium
Milestone 1 introduced the first support of devfile v2 (start a basic ... 3 is the next target, including Kubernetes support and more....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found