-
Notifications
You must be signed in to change notification settings - Fork 65
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
Deploying Hubs to Azure cluster for CarbonPlan #838
Deploying Hubs to Azure cluster for CarbonPlan #838
Conversation
infrastructure/eksctl/carbonplan.jsonnet Line 54 in e37d160
Not sure what the equivalent for Azure would be. |
Is that basically read/write to some kind of storage? |
Yep, read-write access to object storage! |
Nice! I have a rough idea what we could use here - will do some Googling tomorrow :) |
Noting that the service account feature is going to be super nice but is not strictly required for an MVP deployment. If you want to set it aside for now, I think that would be fine for us. |
Wonderful, cheers @jhamman! |
I get this error when trying to use the deployer on kubeconfig type hubs, is that normal?
|
oh, apparently @damianavila removed support for kubeconfig in 3759763. |
Ok, I'll revert that commit for now just to get this hub up |
This reverts commit 3759763.
Ok, we're rolling! |
The
This is a bit of config I pilfered from JIL to correctly setup the subdirs for the Azure File storage |
I guess that means this extra config isn't being applied infrastructure/hub-templates/daskhub/values.yaml Lines 36 to 69 in bf7ce60
|
Seems like the above config is being applied but maybe hits some errors?
|
Solved this by moving the extraConfig for dynamic subpaths to the correct part of the hub config! |
Now we have a problem with scheduling dask workers though
|
I think this is due to a bug in the azure terraform code that means we didn't actually create the dask pools - I will open a separate PR |
Ok, we now have a service running at https://staging.azure.carbonplan.2i2c.cloud! 🎉 If all looks good with this PR, I will deploy the prod hub and merge ✨ |
For whatever reason, I can't get https://azure.carbonplan.2i2c.cloud to work - so I'm going to call it https://prod.azure.carbonplan.2i2c.cloud for now and come back to it |
Prod is alive! ✨ https://prod.azure.carbonplan.2i2c.cloud |
This is a first pass at hub config for CarbonPlan's Azure setup. It's a mish-mash of the Justice Innovation Lab config for Azure stuff, and the AWS CarbonPlan deployment for CarbonPlan stuff. I would appreciate early eyes on this to see if I've missed anything major.
I am particularly thinking about a couple of cases ofThis isn't critical yet and can be addressed in other issues/PRs.serviceAccountName: cloud-user-sa
that I missed out from from the original AWS CarbonPlan config. Mostly because I'm not sure what it is or what the Azure equivalent is.Note: This PR also reverts a commit that removed support for
kubeconfig
in the deployer as part of the work on AWS