Comments (8)
Hi @javaHelper!
To setup the cluster, did you follow https://github.com/microsoft/azure-spring-cloud-training/blob/master/01-create-an-azure-spring-cloud-instance/README.md ? This is step 1, "01 - Create an Azure Spring Cloud instance".
from azure-spring-cloud-training.
Yes I followed steps mentioned here - "01 - Create an Azure Spring Cloud instance". If you see the readme, I specifically dont see any instructions to create the cluster. Does cluster word refers to kubernates cluster?
<I'm fairly new to Azure>
from azure-spring-cloud-training.
The cluster is a Spring Cloud cluster - to answer your other question, it's indeed a Kubernetes cluster underneath, but you don't have direct access to it.
You create it at the end of step 1, when you run the az spring-cloud create
command line near the end. You then configure it to be the default cluster, that's why you won't need to refer to it in the next steps.
from azure-spring-cloud-training.
Thanks for the details, this is what I've tried and still no luck
C:\Users\pc\simple-microservice>set AZ_RESOURCE_GROUP=spring-cloud-lab
C:\Users\pc\simple-microservice>set AZ_SPRING_CLOUD_NAME=azure-spring-cloud-lab-prateek
C:\Users\pc\simple-microservice>az spring-cloud create -g "$AZ_RESOURCE_GROUP" -n "$AZ_SPRING_CLOUD_NAME" --sku standard
Parameter 'resource_group_name' must conform to the following pattern: '^[-\\w\\._\\(\\)]+$'.
C:\Users\pc\simple-microservice>az spring-cloud create -g spring-cloud-lab -n azure-spring-cloud-lab-prateek --sku standard
- Creating Service ..
from azure-spring-cloud-training.
It seems you're not using Git Bash (which is in the prerequisites at https://github.com/microsoft/azure-spring-cloud-training/blob/master/00-setup-your-environment/README.md ), so your "$AZ_RESOURCE_GROUP" isn't being extrapolated. That would explain why you have the error Parameter 'resource_group_name' must conform to the following pattern: '^[-\\w\\._\\(\\)]+$'
(as you now have $
in the name of your resource group.
As the resource group isn't correct, then the cluster isn't created.
from azure-spring-cloud-training.
I can't guarantee that the rest of the training will work if you don't use Git Bash, it hasn't been tested with another shell and there is quite a lot of commands in the next units.
Anyway, it still seems that the way you configure your resource group isn't good, as the name should have a length that is greater than 1. I'm not sure how to do this outside of Bash, I believe you need to use something like %AZ_RESOURCE_GROUP%, but I haven't done this for something like 15 years so again I can't guarantee it will work.
from azure-spring-cloud-training.
Thanks, great help, things are working fine. I had to create the Resource Group manually and now things have worked via command line - git bash
from azure-spring-cloud-training.
Awesome! And congrats :-)
from azure-spring-cloud-training.
Related Issues (20)
- Issue in Exercise - 5 HOT 3
- How to deploy Spring Batch App to Azure and how to manage multiple instances and scheduling through config? HOT 5
- When I deployed spring-cloud-microservice to Azure Spring Cloud ,but failed HOT 2
- Suggestion: Getting the Test Endpoint through Azure CLI
- Bug: Config Server label needs noted HOT 1
- Issue in creating microservice using Git Bash Command HOT 1
- why spring cloud config service & discovery service projects not created? HOT 2
- Azure Spring Apps rebranding HOT 2
- Issue in curl commands while downloading files from spring Instalizer HOT 2
- Getting error HOT 1
- Get latest value after config value change
- Don't configure default values as it may lead to a messy situation
- Mention all contributors next to the creator to encourage community contribution
- Add a .devcontainer
- Create a module to integrate an ai service HOT 2
- Create a module to add a native app HOT 2
- Update to dedicated consumption plan
- update outdated screenshots for github token in spring config
- Create doc for local Spring Config Server to not skip tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-spring-cloud-training.