Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog Issue: Save Your Stack: Build Cloud Native Apps with Spring, Kubernetes and Cassandra #2900

Open
the-localhost opened this issue Nov 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@the-localhost
Copy link

the-localhost commented Nov 11, 2023

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:

  1. Go to 'https://tanzu.vmware.com/developer/blog/save-your-stack-build-cloud-native-apps-with-spring-kubernetes-and-cassandra/'
  2. 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.
  3. 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.

Screenshots
image

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.

@the-localhost the-localhost added the bug Something isn't working label Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant