Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhatthaiquang-agilityio/harness
Example: deploy web api to Azure App Services via Harness
https://github.com/nhatthaiquang-agilityio/harness
azure-app-service harness harness-delegate webapi
Last synced: 19 days ago
JSON representation
Example: deploy web api to Azure App Services via Harness
- Host: GitHub
- URL: https://github.com/nhatthaiquang-agilityio/harness
- Owner: nhatthaiquang-agilityio
- Created: 2023-04-17T08:54:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-28T02:10:54.000Z (5 months ago)
- Last Synced: 2024-08-28T03:26:36.765Z (5 months ago)
- Topics: azure-app-service, harness, harness-delegate, webapi
- Homepage:
- Size: 1.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Harness Deployments
Example: setup a deployment pipeline in Harness
+ Deploy webapi to Azure Service Apps
+ Deploy webapi to Azure Kubernetes Service
### Setup
+ Create a Harness Account
+ Create a Project
![Overview](./images/harness-overview.png)+ Install a Harness Delegates
Run a command in Command line(I am using my Machine as docker delegate)
```
docker run --cpus=1 --memory=2g \
-e DELEGATE_NAME=docker-delegate \
-e NEXT_GEN="true" \
-e DELEGATE_TYPE="DOCKER" \
-e ACCOUNT_ID=0bKPVrNUQ2uni0e728NSgw \
-e DELEGATE_TOKEN=MjJkM2JlMTcxNjMxYTZiYjQ5NmNiNWMwM2YwOGM1YTQ= \
-e LOG_STREAMING_SERVICE_URL=https://app.harness.io/gratis/log-service/ \
-e MANAGER_HOST_AND_PORT=https://app.harness.io/gratis harness/delegate:23.03.78904
```![Docker Delegate](./images/docker-delegate.png)
![Harness Delegate](./images/harness-delegate.png)
+ Add Role in Azure
![Add Roles](./images/Add-Roles.png)+ Create Harness Key
![Harness Key](./images/creating-harness-key.png)+ Create a connector to Azure
![Harness Connector](./images/azure-harness-cloud.png)+ Create a Harness Service
![Harness Service](./images/harness-service.png)+ Create a Harness Pipeline
![Harness Swap Lost](./images/harness-swap-lots.png)+ Create a Harness Pipelines
![Harness Pipelines](./images/harness-pipelines.png)### Setup Deployment with AKS
+ Create a Project+ Install Harness Delegate with Helm in AKS
![Harness Delegate](./images/harness-aks-install-delegate.png)+ Create a Service
![Harness Service](./images/harness-aks-service-config.png)+ Create Deployment
![Harness Deployment](./images/harness-aks-deployment.png)+ Create Deployment Detail
![Harness Deployment Detail](./images/harness-aks-deployment-detail.png)+ Overview Project
![Harness Overview Project](./images/harness-aks-overview.png)+ AKS Pods Detail
![AKS Pods](./images/aks-pods.png)### Result
+ Web API
![Web API](./images/webapi.png)