Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix workload template specs: - update node affinity in "demo-pod-with-discovery.cloverleaf" - fix broken "demo-pod-without-discovery" Fix runner scripts to be runnable from anywhere gqYour current working dir shouldn't matter. Also make the scripts exit on any error. Also remove trailing whitespace. Minor fixes in README.
- Loading branch information
Showing
7 changed files
with
74 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 10 additions & 26 deletions
36
demo/helper-scripts/demo-pod-with-discovery.yaml.cloverleaf.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,14 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: demo-cloverleaf-NUM | ||
annotations: | ||
scheduler.alpha.kubernetes.io/affinity: | | ||
{ | ||
"nodeAffinity": { | ||
"requiredDuringSchedulingIgnoredDuringExecution": { | ||
"nodeSelectorTerms": [ | ||
{ | ||
"matchExpressions": [ | ||
{ | ||
"key": "feature.node.kubernetes.io/cpu-pstate.turbo", | ||
"operator": "DoesNotExist" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
name: demo-cloverleaf-NUM | ||
spec: | ||
containers: | ||
- name: demo-container-cloverleaf-NUM | ||
image: quay.io/kubernetes_incubator/node-feature-discovery-APP | ||
ports: | ||
- containerPort: 3551 | ||
hostPort: 10001 | ||
restartPolicy: Never | ||
containers: | ||
- name: demo-container-cloverleaf-NUM | ||
image: quay.io/kubernetes_incubator/node-feature-discovery-APP | ||
ports: | ||
- containerPort: 3551 | ||
hostPort: 10001 | ||
nodeSelector: | ||
feature.node.kubernetes.io/cpu-pstate.turbo: 'false' | ||
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters