Closed bitsofinfo closed 3 years ago
Same but for kapsule of scaleway. Any workaround?
By removing the project
and zone
parts of the cluster
section I resolved it with AKS.
Could you show us your jx-requirements.yaml?
changing the provider to aks from gke in jx-requirements.yml fixed the issue. But new error "no azure registry subscription specified in 'jx-requirements.yml' at cluster.azure" is thrown
To get jx boot
working for AKS you need to either specify the pre-existing registry within jx-requirements.yml
i.e.
cluster:
registry: tfjxcharmingpiglet.azurecr.io
or you need to specify a subscription in which to jx boot
can create its own registry, i.e.
cluster:
azure:
registrySubscription: <<subscriptionGuid>>
The error you're receiving is because you have not specific a registry and when jx boot
is attempting to create a registry itself you have not specified a subscription under which to create this. I'm not sure why (like all the other Azure CLI commands) we aren't defaulting subscription to the subscription az
is currently logged in to. Perhaps we should open a PR to allow auto-creation of a registry under the current subscription. I'm not sure however, why this guard was put in in the first place, i.e. why we fail execution without an explicit subscription id.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Provide feedback via https://jenkins-x.io/community.
/close
@jenkins-x-bot: Closing this issue.
Summary
jx boot against AKS cluster results in:
error: : unable to parse [clustername] as <project id>_<zone>_<cluster name>
Steps to reproduce the behavior
Following the getting started install guide, run
jx boot
against an Azure AKS cluster with nothing on it.Expected behavior
It works
Actual behavior
Jx version
The output of
jx version
is:Kubernetes cluster
Azure AKS
Operating system / Environment
OSx