forked from devfile-samples/devfile-sample-python-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathouterloop-deploy.yaml
More file actions
25 lines (25 loc) · 492 Bytes
/
Copy pathouterloop-deploy.yaml
File metadata and controls
25 lines (25 loc) · 492 Bytes
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
kind: Deployment
apiVersion: apps/v1
metadata:
name: my-python
spec:
replicas: 1
selector:
matchLabels:
app: python-app
template:
metadata:
labels:
app: python-app
spec:
containers:
- name: my-python
image: python-image:latest
ports:
- name: http
containerPort: 8081
protocol: TCP
resources:
limits:
memory: "128Mi"
cpu: "500m"