intel-device-plugins-for-ku.../deployments/fpga_admissionwebhook/manager/manager.yaml
2020-07-01 11:57:45 +03:00

35 lines
782 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook
namespace: system
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- image: intel/intel-fpga-admissionwebhook:devel
imagePullPolicy: IfNotPresent
name: manager
securityContext:
runAsNonRoot: true
runAsUser: 3210
runAsGroup: 3210
readOnlyRootFilesystem: true
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10