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

error deploying #222

Open
caceresabelanibal opened this issue Sep 16, 2024 · 1 comment
Open

error deploying #222

caceresabelanibal opened this issue Sep 16, 2024 · 1 comment

Comments

@caceresabelanibal
Copy link

Hi all , I have an error trying to deploy using Kardinal,

https://kardinal.dev/docs/getting-started/own-app

in step 2

I added the annotations in my manifest:

apiVersion: v1
kind: Service
metadata:
name: wordpress-mysql
labels:
app: wordpress
annotations:
kardinal.dev.service/ingress: "true" # Example annotation
kardinal.dev.service/host: "main.app.localhost" # Replace with actual host
spec:
ports:
- port: 3306
selector:
app: wordpress
tier: mysql
clusterIP: None

but ca´nt run:

kardinal deploy -k ex2.yml
INFO[0000] Using tenant UUID 1ba2c730-71a9-4532-b3e6-974781651d6b
Could not create flow, error An error occured generating the cluster topology from the service configs
--- at kardinal.kontrol-service/engine/docker.go:25 (GenerateProdOnlyCluster) ---
Caused by: At least one service is required in addition to the ingress service(s)
--- at kardinal.kontrol-service/engine/docker.go:208 (generateClusterTopology) ---: 0xc0005de130

@lostbean
Copy link
Contributor

@caceresabelanibal if you can share the entire manifest file, I can try to test it myself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants