Hi team, The <default-pod-template> does not add v...
# flyte-deployment
f
Hi team, The default-pod-template does not add volumeMounts to flyte containers. Can this be supported ? Here is my pod-template. The volumeMounts
scratch-volume
does not get added to the flyte containers.
Copy code
apiVersion: v1
kind: PodTemplate
metadata:
  name: flyte-pod-template
  namespace: flyte
template:
  metadata:
    labels:
      app: flyte
  spec:
    containers:
    - name: default
      image: <http://docker.io/rwgrim/docker-noop|docker.io/rwgrim/docker-noop>
      volumeMounts:
      - mountPath: /scratch
        name: scratch-volume
    volumes:
    - name: scratch-volume
      emptyDir: {}
d
This is very interesting. Can you confirm that the volumes are added to the Pod? Also what version of FlytePropeller are you running? Support for container level configuration has been a relatively recent development.
it looks like the 1.38 release is when this support landed.
f
ah okay, we are running
v1.1.8
i ll upgrade and see if it works
Yes the volumes are added to pod but not the volumeMounts for the containers
d
OK, so the PodTemplate functionality is working correct. I suspect the version upgrade will solve the problem. Please let me know how this works!
163 Views