Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (37 sloc) 681 Bytes
apiVersion: apps/v1
kind: Deployment
metadata:
name: cpu-ram-api
spec:
replicas: 6
selector:
matchLabels:
app: cpu-ram-api
template:
metadata:
labels:
app: cpu-ram-api
spec:
containers:
- name: myapp
image: vplauzon/cpu-ram-request-api:4
ports:
- containerPort: 80
resources:
requests:
memory: "64M"
cpu: "250m"
limits:
memory: "128M"
cpu: "2"
---
apiVersion: v1
kind: Service
metadata:
name: web-service
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: cpu-ram-api
You can’t perform that action at this time.