We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74c2ef commit 9e92666Copy full SHA for 9e92666
2 files changed
devfile.yaml
@@ -53,6 +53,10 @@ components:
53
deployment/container-port: 8081
54
kubernetes:
55
uri: kubernetes/deployment.yaml
56
+ endpoints:
57
+ - name: http-8081
58
+ targetPort: 8081
59
+ path: /
60
- name: kubernetes-service
61
attributes:
62
deployment/replicas: 1
kubernetes/deployment.yaml
@@ -14,7 +14,14 @@ spec:
14
spec:
15
containers:
16
- name: main
17
- image: "{{CONTAINER_IMAGE}}"
+ image: "dotnet-image:latest"
18
imagePullPolicy: Always
19
- resources: {}
+ ports:
20
+ - name: http
21
+ containerPort: 8081
22
+ protocol: TCP
23
+ resources:
24
+ limits:
25
+ memory: "1024Mi"
26
+ cpu: "500m"
27
0 commit comments