Laura Lin
11/01/2022, 6:51 PMKetan (kumare3)
11/01/2022, 8:29 PMKevin Su
11/01/2022, 8:49 PMLaura Lin
11/01/2022, 9:01 PMkubectl apply -f - <<EOF
apiVersion: v1
kind: PodTemplate
metadata:
name: flyte-template
namespace: flyte
template:
spec:
containers:
- name: default
image: <http://docker.io/rwgrim/docker-noop|docker.io/rwgrim/docker-noop>
imagePullPolicy: Always
EOF
something like this is on the per container level right? so I have to add one for each possible container I want to use?Kevin Su
11/01/2022, 9:05 PMLaura Lin
11/01/2022, 11:16 PMflyte-template
under the namespace flyte
. And then added it to the helm chart.
kubectl get ConfigMap -n flyte flyte-propeller-config -o yaml
returns
k8s.yaml: |
plugins:
k8s:
default-cpus: 100m
default-env-vars: []
default-memory: 100Mi
default-pod-template-name: flyte-template
but new task pods still have IfNotPresent when I view in kubectl edit pod aflvhfnpb4hjb4rtxnnz-fzmlagaq-0 -n flytetester-development -o yaml
verified that the image in the task yaml is one that was specified as Always in the pod templateKetan (kumare3)
11/02/2022, 5:45 PMDan Rammer (hamersaw)
11/02/2022, 6:04 PMLaura Lin
11/02/2022, 6:04 PMDan Rammer (hamersaw)
11/02/2022, 6:05 PMLaura Lin
11/02/2022, 6:06 PM"App [flytepropeller], Version [unknown], BuildSHA [unknown], BuildTS [2022-11-02 18:05:16.617334666 +0000 UTC m=+0.030357149]"
Dan Rammer (hamersaw)
11/02/2022, 6:13 PMLaura Lin
11/02/2022, 6:13 PMContainer image "<http://cr.flyte.org/flyteorg/flytepropeller-release:v1.2.0|cr.flyte.org/flyteorg/flytepropeller-release:v1.2.0>" already present on machine
Dan Rammer (hamersaw)
11/02/2022, 6:14 PMLaura Lin
11/02/2022, 6:14 PM<http://helm.sh/chart|helm.sh/chart> flyte-core-v1.2.0
Dan Rammer (hamersaw)
11/02/2022, 6:14 PMflytetester-development
.Laura Lin
11/02/2022, 6:16 PMDan Rammer (hamersaw)
11/02/2022, 6:52 PMLaura Lin
11/02/2022, 6:54 PM