yugabyte / yugabyte-operator

Kubernetes Operator for YugabyteDB (legacy)
65 stars 29 forks source link

deploy: operatator.yaml -> "exec: \"yugabyte-operator\": executable file not found #12

Open mcuadros opened 4 years ago

mcuadros commented 4 years ago

The default Deployment describe in deploy/operator.yaml, try to execute the command yugabyte-oprtator.

This doesn't work:

OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"yugabyte-operator\": executable file not found in $PATH":  unknown
bhavin192 commented 4 years ago

Hey @mcuadros, thank you for reporting this issue and proposing a fix, appreciate your willingness to help! The image tagged with :latest on quay.io/repository/yugabyte/yugabytedb-operator was not update according to new changes. It has been fixed now, can you please try to deploy the operator again or just restart the deployment?

kubectl rollout restart deployment yugabyte-operator -nyb-operator
kubectl rollout status deployment yugabyte-operator -nyb-operator

Basically the old image had a binary with name yugabyte-k8s-operator instead of yugabyte-operator.

Edit: sorry for similar comment as of one on the PR.

mcuadros commented 4 years ago

https://github.com/yugabyte/yugabyte-operator/pull/13#issuecomment-618208106