Orange-OpenSource / casskop

This Kubernetes operator automates the Cassandra operations such as deploying a new rack aware cluster, adding/removing nodes, configuring the C* and JVM parameters, upgrading JVM and C* versions, and many more...
https://orange-opensource.github.io/casskop/
Apache License 2.0
183 stars 54 forks source link

Invalid spec.container.image invalid image required #288

Closed jemantheiy closed 3 years ago

jemantheiy commented 3 years ago

Bug Report

Version 1.0.1 of chart Cassandra 3.11

Stood up the operator without a problem. Using hostPath storage class on the cluster that is Kubernetes 1.15 version.

Using the example v1 config map and the sample cluster except I define a topology with racks. I have labels on all my k8s nodes and specify the rack topology in my cluster config.

When I deploy the cluster, I get the statefulset generated but pods cannot generate due to the following exception:

invalid spec.container.image required exception.

Environment

N/A

Possible Solution Unknown, upgrade? I did have to generate the crds manually by using the sample directory Kubernetes manifest.

Additional context Add any other context about the problem here.

cscetbon commented 3 years ago

Hey @jemantheiy, please provide the complete list (GitHub links or gist) of the files you used. Showing what it creates in your kubernetes cluster would also help. (kubectl get cassandracluster xxx -o yaml, kubectl get statefulset xxx -o yaml, etc..)

jemantheiy commented 3 years ago

update: working on getting it, tried 1.0.2 and same results.

cscetbon commented 3 years ago

@jemantheiy any news ? I would vote to close this issue if you don't have a way to reproduce it.