Comments (7)
from api.
@johnmcollier will provide another example using a component of type Kubernetes
from api.
Does it duplicate #16 ?
There is another interesting option to think about - add an ability to specify PVC name for volume eclipse-che/che#15652
from api.
@sleshchenko Yeah it's the same, since there's already some discussion here, I'll close out my issue in favour of this one.
from api.
Sample with Kubernetes component:
---
projects:
- name: "my-project"
components:
- container:
image: "busybox"
name: "mycontainer"
memoryLimit: "128M"
mountSources: true
volumeMount:
- name: my-data-volume
path: /some/folder
- kubernetes:
referenceContent: |
kind: Pod
metadata:
name: sample-pod
spec:
containers:
image: docker.io/my-sample-image:latest
volumeMounts:
- mountPath: /some/path
name: my-data-volume
- volume:
name: my-data-volume
size: 5Gi
In this scenario, the Kubernetes component references the my-data-volume
defined in the volume
section under components, rather than having to define one via a persistent volume claim in the pod spec.
from api.
Reviewed and approved the version provided on this comment.
We also agreed that the name
field should be mandatory for volume
components.
from api.
implemented
from api.
Related Issues (20)
- Create PyTorch starter project and source repository
- Create FastAI starter project and source repository HOT 1
- Create Python AI stack entry HOT 1
- Registry testing should skip deprecated stacks HOT 1
- Create child dependent check for odo v3
- Library test case produces different error than expected in CI HOT 10
- Parent stack should use same schema version as Node.js Runtime parent stack HOT 3
- Fix schema version incompatibility with `nodejs-basic` sample parent HOT 3
- Create contributing guide template document
- library generator should generate containers with commands defined in devfile HOT 3
- support devfile 2.3.0 in devfile library HOT 5
- Update Registry .ci Scripts for CI Operator HOT 5
- [Spike] Investigate open api configuration issue with `x-go-types-import` on index/server
- Add test devfile registry deployment to devfile library testing workflow
- Add test devfile registry deployment to index generator testing workflow
- Fix external references in test sample entries
- devfile special envs cannot be defined last in the env list HOT 3
- Devfile Registry nightly run fails for `ollama` stack HOT 2
- for a single minor version, library should support all previous patches with latest schema
- Copy odo-devfile starter projects to devfile-samples org HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.