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

AtlasSchema and tolerations on kubernetes #3247

Open
perpective2410 opened this issue Dec 9, 2024 · 4 comments
Open

AtlasSchema and tolerations on kubernetes #3247

perpective2410 opened this issue Dec 9, 2024 · 4 comments
Assignees

Comments

@perpective2410
Copy link

Hi guys,

I have a simple AtlasSchema on Kubernetes and a deployment for my app.
My deployment is running ok (sql-migration-sample-service) as I have added the right tolerations. However, "sql-migration-sample-service-atlas-dev-db" which is created by your controller is in pending state as it does not have the necessary tolerations.

image

Can we add the tolerations to the AtlasSchema, so the "-atlas-dev-db' pod gets created with the right tolerations?

@giautm
Copy link
Member

giautm commented Dec 9, 2024

Hello @florentvaldelievre, can you share what tolerations you have apply on the AtlasSchema resource?

@perpective2410
Copy link
Author

perpective2410 commented Dec 9, 2024

Actually @giautm , I dont specify the tolerations in the AtlasSchema resource as I could not find it in the CRD definition.
Could you please share an example?

Note that the I was expecting that the 'sql-migration-sample-service-atlas-dev-db' pod would be created with the same tolerations as 'sql-migration-sample-service'

  tolerations:
    - key: "kubernetes.azure.com/scalesetpriority"
      operator: "Equal"
      value: "spot"
      effect: "NoSchedule"
    - key: "dev"
      operator: "Equal"
      value: "true"
      effect: "NoSchedule"

@perpective2410
Copy link
Author

@giautm As you mentioned in another post, we can deploy our own SQL server (dev) instance instead of letting AtlasSchema generate the 'atlas-dev-db' pod as it does not seem that we can specify the tolerations.
Do you have a timeline for this?

@giautm
Copy link
Member

giautm commented Dec 12, 2024

Do you have a timeline for this?

Not yet, but maybe next few weeks. We're rolling more features in the atlas-operator like support custom atlas.hcl. So, custom DevDB spec must be after that.

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