forked from devfile-samples/devfile-sample-python-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevfile.yaml
37 lines (36 loc) · 1.15 KB
/
devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
schemaVersion: 2.2.0
metadata:
name: python
projectType: Python
displayName: Python
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/python.svg
description:
'Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.'
language: Python
version: 2.0.0
provider: Red Hat
tags:
- Python
- Pip
- Flask
supportUrl: https://github.com/devfile-samples/devfile-support#support-information
attributes:
alpha.dockerimage-port: 8081
parent:
id: python
registryUrl: 'https://registry.devfile.io'
version: 3.0.0
components:
- name: deploy
attributes:
deployment/replicas: 1
deployment/cpuRequest: 10m
deployment/memoryRequest: 50Mi
deployment/container-port: 8080
kubernetes:
uri: kubernetes/deploy.yaml
endpoints:
- name: http-8080
targetPort: 8080
path: /