-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error while creating deployment #9
Comments
Thanks for reporting the issue! These manifests are a bit outdated as the |
I fixed it , thanks @font . Would you mind telling which mongo db version this app expects ? I installed the latest one and the app is complaining about. |
Great question! The YAML manifests should really have specified the exact mongo version by tagging the image. At the time it wasn't an issue because any mongo version worked since it didn't rely on any unique mongo features. It was mongo 3.4 at the time. In any case, make sure to align the MongoDB NodeJS driver version used in pacman with a MongoDB version that is compatible. |
I am trying to install 3.4 but it wont install at all, because exact versions of other components are not know, then i tried 3.2 by following the link https://www.mongodb.com/docs/v3.2/tutorial/install-mongodb-on-ubuntu/ and it again failed due do dependencies. Is there a possibility to upgrade the mongo used in the game along with the drivers ? |
To solve the version problem I ran the following commands to change the apiVersion and add the selector in the deployments
|
Thanks , i was able to this as well. I am not sure if i am able to see any changes in the mongodb version !! |
kubectl create -f deployments/mongo-deployment.yaml
error: resource mapping not found for name: "mongo" namespace: "" from "deployments/mongo-deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
ensure CRDs are installed first
The text was updated successfully, but these errors were encountered: