1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00

Merge pull request #579 from kubernetes-sigs/master

release-0.9: sync with master
This commit is contained in:
Kubernetes Prow Robot 2021-08-19 13:43:25 -07:00 committed by GitHub
commit c87b06eb0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 12 deletions

View file

@ -19,17 +19,17 @@ spec:
- name: nfd-master
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
imagePullPolicy: Always
livenessProbe:
exec:
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
exec:
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 10
livenessProbe:
exec:
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
exec:
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 10
command:
- "nfd-master"
- name: nfd-worker

View file

@ -97,9 +97,10 @@ if [ -z "$assets_only" ]; then
# Patch deployment templates
echo Patching kustomize templates to use $container_image
find deployment/base deployment/overlays deployment/components -name '*.yaml' | xargs -I '{}' \
sed -E -e s",^([[:space:]]+)image:.+$,\1image: $container_image," \
-e s",^([[:space:]]+)imagePullPolicy:.+$,\1imagePullPolicy: IfNotPresent," \
-i deployment/base/*/*yaml
-i '{}'
# Patch Helm chart
echo "Patching Helm chart"