Skip to content

Commit

Permalink
Release/784xx (#77)
Browse files Browse the repository at this point in the history
* Update README.md

* Update values.yaml

* Update docker-compose.yml

* Update docker-compose/harness/README.md

Co-authored-by: OP (ompragash) <[email protected]>

* Update docker-compose/harness/README.md

Co-authored-by: OP (ompragash) <[email protected]>

* Update helm/README.md

Co-authored-by: OP (ompragash) <[email protected]>

---------

Co-authored-by: OP (ompragash) <[email protected]>
  • Loading branch information
rkapoor10 and Ompragash authored Mar 27, 2023
1 parent 6460508 commit 8734275
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Harness CD is also available as a fully-managed SaaS solution in three different

1. Install Harness CD Community Edition: [using docker-compose](./docker-compose/harness/README.md) or [using helm chart](./helm/README.md).
2. Create a [Kubernetes CD pipeline](https://ngdocs.harness.io/article/ltvkgcwpum-harness-community-edition-quickstart#step_2_create_pipeline) and deploy a sample nginx microservice into your local minikube or external Kubernetes cluster.
3. Explore core features, such as [canary rollout](https://ngdocs.harness.io/article/i5p4feil89-create-a-kubernetes-canary-deployment), [automated infrastructure/Terraform provisioning](https://ngdocs.harness.io/article/boug6e884h-terraform-provisioning-with-harness), [pipeline-as-code](https://ngdocs.harness.io/article/1eishcolt3-harness-yaml-quickstart), [Git Experience](https://ngdocs.harness.io/article/dm69dkv34g-harness-git-experience-quickstart) and [built-in approvals](https://ngdocs.harness.io/article/43pzzhrcbv-using-harness-approval-steps-in-cd-stages).
3. Explore core features, such as [canary rollout](https://ngdocs.harness.io/article/i5p4feil89-create-a-kubernetes-canary-deployment), [automated infrastructure/Terraform provisioning](https://ngdocs.harness.io/article/boug6e884h-terraform-provisioning-with-harness), [pipeline-as-code](https://ngdocs.harness.io/article/1eishcolt3-harness-yaml-quickstart), [Git Experience](https://developer.harness.io/docs/platform/git-experience/configure-git-experience-for-harness-entities/) and [built-in approvals](https://ngdocs.harness.io/article/43pzzhrcbv-using-harness-approval-steps-in-cd-stages).

## Get Started with Harness CD SaaS Plans

Expand Down
19 changes: 11 additions & 8 deletions docker-compose/harness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ This page contains the instructions to run Harness CD Community Edition using Do
* 20GB of free disk space
* Internet connection

## Start Harness CD
> Note: Extra memory is required for delegate being setup using minikube which uses a docker driver. We recommend using 6g memory and 4 CPUS
[![Harness Community CD - Docker Installer](https://i.ytimg.com/vi/9geWy17iyrE/hqdefault.jpg)](https://youtu.be/9geWy17iyrE)

[![Harness Community CD - Docker Compose Installer](../../../static/docker-compose-thumbnail.jpg)](https://youtu.be/9geWy17iyrE "Harness Community CD - Docker Compose Installer")
## Start Harness CD

1) If you are running on Windows or Mac, increase Docker Desktop memory and CPU by the numbers listed above. See [Docker for Mac](https://docs.docker.com/docker-for-mac/#resources) or [Docker for Windows](https://docs.docker.com/docker-for-windows/#resources) for details on increasing resources.
2) Clone this repo.
Expand All @@ -26,16 +28,15 @@ This page contains the instructions to run Harness CD Community Edition using Do
docker-compose up -d
```
If this is your first time running the above command, then the docker images used in the docker-compose.yml file will now be pulled from DockerHub.
5) Wait for startup to complete.
```shell
docker-compose run --rm proxy wait-for-it.sh ng-manager:7090 -t 180
```

6) Check if all the processes are up and in running state -
5) Check status of all the processes using the command given below. Make sure all the services are up and healthy -
```shell
docker-compose ps
```

6) Wait for startup to complete.
```shell
docker-compose run --rm proxy wait-for-it.sh ng-manager:7090 -t 180
```

## Use Harness CD
1) Open http://localhost/#/signup and complete the registration form. Now your Harness CD account along with the first (admin) user is created. If you have already completed this step, then login to Harness CD at http://localhost/#/signin
Expand All @@ -56,6 +57,8 @@ For example,
docker-compose logs -f manager
```

> Note : For 504 Gateway timeout -> make sure the ng-manager service is healthy.

## Support
[Join the Harness Community Slack](https://join.slack.com/t/harnesscommunity/shared_invite/zt-y4hdqh7p-RVuEQyIl5Hcx4Ck8VCvzBw)
Expand Down
16 changes: 8 additions & 8 deletions docker-compose/harness/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
ng-ui:
image: harness/nextgenui-signed:0.336.3
image: harness/nextgenui-signed:0.339.20
deploy:
resources:
limits:
Expand All @@ -17,7 +17,7 @@ services:
harness-network:

ng-auth-ui:
image: harness/ng-auth-ui-signed:0.45.0
image: harness/ng-auth-ui-signed:1.3.3
deploy:
resources:
limits:
Expand All @@ -32,7 +32,7 @@ services:
harness-network:

manager:
image: harness/manager-signed:78109
image: harness/manager-signed:78425
deploy:
resources:
limits:
Expand All @@ -54,7 +54,7 @@ services:
harness-network:

ng-manager:
image: harness/ng-manager-signed:78109
image: harness/ng-manager-signed:78425
deploy:
resources:
limits:
Expand All @@ -70,7 +70,7 @@ services:
harness-network:

pipeline-service:
image: harness/pipeline-service-signed:1.19.3
image: harness/pipeline-service-signed:1.21.13
deploy:
resources:
limits:
Expand All @@ -87,7 +87,7 @@ services:
harness-network:

platform-service:
image: harness/platform-service-signed:77901
image: harness/platform-service-signed:78202
deploy:
resources:
limits:
Expand Down Expand Up @@ -117,7 +117,7 @@ services:
harness-network:

scm:
image: harness/ci-scm-signed:release-88-ubi
image: harness/ci-scm-signed:release-114-ubi
deploy:
resources:
limits:
Expand All @@ -130,7 +130,7 @@ services:
harness-network:

delegate-proxy:
image: harness/delegate-proxy-signed:78106
image: harness/delegate-proxy-signed:78111
deploy:
resources:
limits:
Expand Down
12 changes: 9 additions & 3 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ This page contains the instructions necessary to install and manage Harness CD C
* 20GB of free disk space
* Internet connection


> Note: Extra resources would be required if minikube is running which is using the docker driver. We recommend using 6g memory and 4 CPUS

[![Harness Community CD - Helm Installer](https://i.ytimg.com/vi/o2Xz8A3RqO8/hqdefault.jpg)](https://youtu.be/o2Xz8A3RqO8)


## Start Harness CD

[![Harness Community CD - Helm Installer](../../../static/helm-thumbnail.jpg)](https://youtu.be/o2Xz8A3RqO8 "Harness Community CD - Helm Installer")

1) Start by cloning this repo.
```shell
Expand All @@ -24,7 +30,7 @@ This page contains the instructions necessary to install and manage Harness CD C
```
1) Start minikube with slightly higher memory and cpu so that you can also deploy a workload into the same Kubernetes cluster.
```shell
minikube start --memory 4g --cpus 4
minikube start --memory 6g --cpus 4
```
1) If you are running Docker Desktop on Windows or Mac skip this step. If you are running on Linux or wish to run a production install then please see [Advanced Configuration](#advanced-configuration) to set the hostname of your machine.
1) Start Harness CD using the helm-chart
Expand All @@ -43,7 +49,7 @@ You can also use the following commands to check status.
kubectl get pods -n harness
kubectl get services -n harness
```
2) Open the link which is displayed and complete the registration form at `<URL>/signup`. Now your Harness CD account along with the first (admin) user is created. If you have already completed this step, then login to Harness CD at `<URL>/signin`.
2) Open the link which is displayed and complete the registration form at `http://<ip-address>:7143/#/signup`. Now your Harness CD account along with the first (admin) user is created. If you have already completed this step, then login to Harness CD at `http://<ip-address>:7143/#/signin`.
3) Follow the Harness CD Community Edition [quickstart](https://ngdocs.harness.io/article/ltvkgcwpum-harness-community-edition-quickstart)

## Troubleshooting
Expand Down
14 changes: 7 additions & 7 deletions helm/harness/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ secret:
versions:
busybox: 1.35.0
log_service: release-18
manager: 78109
manager: 78425
mongo: 4.2.19
ng_auth_ui: 0.45.0
ng_ui: 0.336.3
ng_auth_ui: 1.3.3
ng_ui: 0.339.20
nginx: 1.21.4
redis: 6.2.7-alpine
scm: release-88-ubi
platform_service: 77901
delegate_proxy: 78106
pipeline_service: 1.19.3
scm: release-114-ubi
platform_service: 78202
delegate_proxy: 78111
pipeline_service: 1.21.13

# Resource request & limit configuration per application
ng_ui:
Expand Down

0 comments on commit 8734275

Please sign in to comment.