Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/kafka/kafka_connect_run.sh": stat /opt/kafka/kafka_connect_run.sh: no such file or directory: unknown
image name k3d-registry.localhost:5000/kafka-connect-debezium-postgresql:1.0.0
CodePudding user response:
Kafka doesn't come with kafka_connect_run.sh
script.
connect-distributed.sh
is the existing entrypoint for Kafka Connect images from Confluent, for example.
If you want to run Connectors in k8s, then look at using Strimzi KafkaConnect resources.
CodePudding user response:
i am getting this in kubectl kafka connector pod which can pull image successfully but not able to start because "unable to start container process: exec: "/opt/kafka/kafka_connect_run.sh": stat /opt/kafka/kafka_connect_run.sh: no such file or directory: unknown" and image name "k3d-registry.localhost:5000/kafka-connect-debezium-postgresql:1.0.0"