37 lines
816 B
YAML
37 lines
816 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: bandwidth-probing
|
|
namespace: bandwidth-probing
|
|
labels:
|
|
environment: live
|
|
app: bandwidth-probing
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: bandwidth-probing
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: bandwidth-probing
|
|
spec:
|
|
containers:
|
|
- envFrom:
|
|
- configMapRef:
|
|
name: app-config
|
|
image: '192.168.1.2:5000/brian/bandwidth_probing:v1.3.2'
|
|
imagePullPolicy: Always
|
|
name: bandwidth-probing
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi |