Description
Describe the bug
The command kubectl -n cass-operator apply -f deploy/cassandra-4.0.0-1node.yml
won't work. Shows this error:
error: resource mapping not found for name: "dc1" namespace: "" from "deploy/cassandra-4.0.0-1node.yml": no matches for kind "CassandraDatacenter" in version "cassandra.datastax.com/v1beta1"
ensure CRDs are installed first
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://tanzu.vmware.com/developer/blog/save-your-stack-build-cloud-native-apps-with-spring-kubernetes-and-cassandra/'
- Follow the steps to reach to "Start Cassandra" section and step 4. To reach to step 4, you would have to update the manifest with v1 api version and the syntax for latest. The provided yaml in step 3 is outdated.
- See the error on executing the step 4.
Expected behavior
The command kubectl -n cass-operator apply -f deploy/cassandra-4.0.0-1node.yml should run successfully and start a single cassandra node.
Desktop (please complete the following information):
- OS: MacOS Sonoma 14.1
- te
Smartphone (please complete the following information):
- Device: Macbook Air M1
- OS: MacOS Sonoma 14.1
- kubectl version
Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3
Additional context
You just need to follow the mentioned the blog: https://tanzu.vmware.com/developer/blog/save-your-stack-build-cloud-native-apps-with-spring-kubernetes-and-cassandra/ and execute the steps. If this works good for you, please let me know, or please let me know how to resolve this.