1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
node-feature-discovery/deployment/base/gc/gc.yaml
TessaIO d02414cf61 chore/deployment: add resources requests and limits for helm and Kustomize
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-03-22 14:27:44 +01:00

33 lines
707 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nfd
name: nfd-gc
spec:
selector:
matchLabels:
app: nfd-gc
template:
metadata:
labels:
app: nfd-gc
spec:
dnsPolicy: ClusterFirstWithHostNet
serviceAccount: nfd-gc
containers:
- name: nfd-gc
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
imagePullPolicy: Always
resources:
limits:
cpu: 20m
memory: 1Gi
requests:
cpu: 10m
memory: 128Mi
command:
- "nfd-gc"
ports:
- name: metrics
containerPort: 8081