Skip to content

Commit ef8861a

Browse files
committed
Update readme
1 parent 62d692c commit ef8861a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
11
# create-azure-machine-learning-deployment
2+
3+
Github Action to create an Azure Machine Learning Online Endpoint
4+
5+
Features:
6+
7+
* Create an Azure Machine Learning Online Endpoint deployment with the use of a deployment YAML file
8+
* Update an existing Azure Machine Learning Online Endpoint with use of a deployment YAML file
9+
* Blue/Green deployment through traffic splitting (Mirroring is also supported)
10+
* Will automatically scale up/down traffic of new and existing deployments
11+
* Checks if resource group, workspace and endpoint exist
12+
13+
For other Azure Machine Learning actions check out:
14+
15+
* [create-aml-online-endpoint](https://github.com/coding-kitties/create-azure-machine-learning-online-endpoint)
16+
17+
## Dependencies on other Github Actions
18+
19+
* Authenticate using [Azure Login](https://github.com/Azure/login)
20+
21+
## 🚀 Usage
22+
23+
### **1. Add to Your Workflow**
24+
25+
```yaml
26+
jobs:
27+
deploy:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v2.3.2
31+
32+
- uses: Azure/login@v1
33+
with:
34+
creds: ${{ secrets.AZURE_CREDENTIALS }}
35+
36+
- name: Create AML Online Endpoint
37+
uses: coding-kitties/create-aml-online-endpoint@v0.2.0
38+
with:
39+
deployment_file: "path/to/deployment.yml"
40+
resource_group: "my-resource-group"
41+
workspace_name: "my-aml-workspace"
42+
endpoint_name: "my-endpoint"
43+
traffic: '{ "blue": 80, "green": 20, mirror": {"green": 80} }'
44+
```

0 commit comments

Comments
 (0)