X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcloudtaf.git;a=blobdiff_plain;f=resources%2Ftest_charts%2Fcpu-pooling-exclusive1%2Ftemplates%2Fcpupooling-deployment1.yaml;fp=resources%2Ftest_charts%2Fcpu-pooling-exclusive1%2Ftemplates%2Fcpupooling-deployment1.yaml;h=875ca7bf5d3454f18bf6feb594ee34e2f8c77c83;hp=0000000000000000000000000000000000000000;hb=af5eb3ff36b92ab1d9c156ffa0391eadc73eb6ba;hpb=025a45508d009db84c34076fb4a668f712628d6d diff --git a/resources/test_charts/cpu-pooling-exclusive1/templates/cpupooling-deployment1.yaml b/resources/test_charts/cpu-pooling-exclusive1/templates/cpupooling-deployment1.yaml new file mode 100644 index 0000000..875ca7b --- /dev/null +++ b/resources/test_charts/cpu-pooling-exclusive1/templates/cpupooling-deployment1.yaml @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cpu-pooling-1 + namespace: default +spec: + selector: + matchLabels: + app: cpu-pooling + template: + metadata: + labels: + app: cpu-pooling + spec: + containers: + - name: cpu-pooling + image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest + imagePullPolicy: IfNotPresent + command: ["/usr/bin/dumb-init", "-c", "--"] + args: ["sleep", "1000"] + resources: + requests: + nokia.k8s.io/exclusive_caas: {{ .Values.pool_req }} + limits: + nokia.k8s.io/exclusive_caas: {{ .Values.pool_req }} + nodeSelector: + nodename: {{ .Values.nodename }}