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: 1.0.1 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' components: - name: image-build image: imageName: python-image:latest dockerfile: uri: docker/Dockerfile buildContext: . rootRequired: false - name: kubernetes-deploy attributes: deployment/replicas: 1 deployment/cpuRequest: 10m deployment/memoryRequest: 50Mi deployment/container-port: 8081 kubernetes: uri: deploy.yaml endpoints: - name: http-8081 targetPort: 8081 path: / secure: true commands: - id: build-image apply: component: image-build - id: deployk8s apply: component: kubernetes-deploy - id: deploy composite: commands: - build-image - deployk8s group: kind: deploy isDefault: true