forked from AnupDudhe/deleteafterpractice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpod.yml
More file actions
26 lines (26 loc) · 633 Bytes
/
pod.yml
File metadata and controls
26 lines (26 loc) · 633 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
26
apiVersion: v1
kind: Pod
metadata:
name: new-app
spec:
containers:
- name: nginx
image: nginx:latest
resources:
requests:
cpu: "500m"
memory: "128Mi"
ports:
- containerPort: 80
name: http
protocol: TCP
- name: tomcat
image: tomcat:latest
resources:
requests:
cpu: "500m"
memory: "128Mi"
ports:
- containerPort: 8080
name: java
protocol: TCP