diff --git a/README.md b/README.md index 0c61788..64bdcc5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker-compose/harness/README.md b/docker-compose/harness/README.md index 1d2f400..87e1e31 100644 --- a/docker-compose/harness/README.md +++ b/docker-compose/harness/README.md @@ -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. @@ -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 @@ -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) diff --git a/docker-compose/harness/docker-compose.yml b/docker-compose/harness/docker-compose.yml index a606dfa..833d27a 100644 --- a/docker-compose/harness/docker-compose.yml +++ b/docker-compose/harness/docker-compose.yml @@ -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: @@ -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: @@ -32,7 +32,7 @@ services: harness-network: manager: - image: harness/manager-signed:78109 + image: harness/manager-signed:78425 deploy: resources: limits: @@ -54,7 +54,7 @@ services: harness-network: ng-manager: - image: harness/ng-manager-signed:78109 + image: harness/ng-manager-signed:78425 deploy: resources: limits: @@ -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: @@ -87,7 +87,7 @@ services: harness-network: platform-service: - image: harness/platform-service-signed:77901 + image: harness/platform-service-signed:78202 deploy: resources: limits: @@ -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: @@ -130,7 +130,7 @@ services: harness-network: delegate-proxy: - image: harness/delegate-proxy-signed:78106 + image: harness/delegate-proxy-signed:78111 deploy: resources: limits: diff --git a/helm/README.md b/helm/README.md index f240dac..53b1858 100644 --- a/helm/README.md +++ b/helm/README.md @@ -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 @@ -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 @@ -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 `/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 `/signin`. +2) Open the link which is displayed and complete the registration form at `http://: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://:7143/#/signin`. 3) Follow the Harness CD Community Edition [quickstart](https://ngdocs.harness.io/article/ltvkgcwpum-harness-community-edition-quickstart) ## Troubleshooting diff --git a/helm/harness/values.yaml b/helm/harness/values.yaml index 63d1a8b..1a02907 100644 --- a/helm/harness/values.yaml +++ b/helm/harness/values.yaml @@ -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: