Hi Team, Trying to use custom docker image with fl...
# troubleshooting
j
Hi Team, Trying to use custom docker image with flink installation through docker file. Ending up with below error even though tried to use args and command in podtemplate for jobmanager and taskmanager in FlinkDeployment spec
Copy code
Warning  Failed     3s (x3 over 21s)  kubelet            Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/docker-entrypoint.sh": stat /docker-entrypoint.sh: no such file or directory: unknown
Copy code
jobManager:
    resource:
      memory: "1048m"
      cpu: 0.5
    podTemplate:
        spec:
          containers:
          - args:
            - -n
            - -c
            - /etc/supervisor/supervisord.conf
            command:
            - /usr/bin/supervisord
          tolerations:
           - key: "env"
             operator: "Equal"
             value: "dev"
             effect: NoSchedule      
  taskManager:
    resource:
      memory: "1048m"
      cpu: 0.5
    podTemplate:
        spec:
          containers:
          - args:
            - -n
            - -c
            - /etc/supervisor/supervisord.conf
            command:
            - /usr/bin/supervisord
          tolerations:
           - key: "env"
             operator: "Equal"
             value: "dev"
             effect: NoSchedule
b
If I am not wrong, you need to mention the first container as flink-main-container always. refer https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/pod-template/#pod-template