[JUJU-1225] Fixed broken AKS bootstrap. #14124
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AKS has changed the name of their provisioner used in new clusters.
Because of this Juju is unable to bootstrap to newly created AKS
clusters with the error message 'preferred storage "kubernetes.io/azure-disk" not available'.
What this change does is introduce a quick flag for AKS and the other
cloud clusters telling Juju that it is ok to use the default storage
provider. We have done the fix this way in 2.9 because of several bugs
found in the storage processing logic for Juju.
A proper and greater fix will land in 3.0 to address the short comings
of storage.
Fixes lp1976434
Checklist
QA steps
juju deploy -n3 postgresql-k8s
Bug reference
https://bugs.launchpad.net/juju/+bug/1976434