-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
49 lines (49 loc) · 1.1 KB
/
Copy pathdevfile.yaml
File metadata and controls
49 lines (49 loc) · 1.1 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
schemaVersion: 2.2.0
metadata:
name: go
displayName: Go Runtime for Sample Service
description: 'Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.'
language: Go
projectType: Go
tags:
- Go
version: 1.1.0
parent:
id: go
registryUrl: 'https://registry.devfile.io'
components:
- name: image-build
image:
imageName: cc-sample-service:latest
dockerfile:
uri: Dockerfile
buildContext: .
rootRequired: false
- name: kubernetes-deploy
attributes:
deployment/replicas: 1
deployment/cpuRequest: 10m
deployment/memoryRequest: 10Mi
deployment/container-port: 8088
kubernetes:
uri: deploy.yaml
endpoints:
- name: http-8088
targetPort: 8088
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