Module
- Harness Continuous Delivery
Environment
- Personal laptop(Windows, MacOS or Linux ), bare metal, containers,
Issue
I was testing the Harness CD-community edition and got an issue with the delegate deployment. I tried replacing the URL values of http://host.docker.internal:7143 with https://my.internal.instance/ but now the readiness probe is failing for some reason.
Can I know the correct settings for the following values? (these are the defaults it spits out):
- name: MANAGER_HOST_AND_PORT
value: http://host.docker.internal:7143
- name: WATCHER_STORAGE_URL
value: http://host.docker.internal:7143/storage/wingswatchers
- name: WATCHER_CHECK_LOCATION
value: watcherprod.txt
- name: DELEGATE_STORAGE_URL
value: http://host.docker.internal:7143/storage/wingsdelegates
- name: DELEGATE_CHECK_LOCATION
value: delegateprod.txt
Resolution
You should set the harness_host
variable to https://my.internal.instance/ before you install Harness, to generate the correct delegate config. You can refer to the Advanced Configuration section of the install readme file for docker-compose and Helm.