pegasystems / pega-helm-charts

Orchestrate a Pega Platform™ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
https://community.pega.com/knowledgebase/articles/cloud-choice
Apache License 2.0
125 stars 200 forks source link

Hardcoded default cluster domain (svc.cluster.local) #802

Closed sammich closed 3 weeks ago

sammich commented 1 month ago

Describe the bug

We use a non-default DNS domain name (i.e. not svc.cluster.local, our domains are in resolv.conf) and there are a couple of issues we're seeing:

  1. The templated Hazelcast service hostname hardcodes the default domain pega-environment-config.yaml#L178. Locally changed to remove the svc.cluster.local still resulted in DNS lookups to that domain. Adding our domain to the end worked.
  2. The Hazelcast pod is also doing lookups to the original service hostname (before change above, with svc.cluster.local) but we cannot find where it's getting this hostname. However the pod appears healthy, if polluting the logs.

To Reproduce

Expected behavior

  1. No lookup errors. Service resolves without assuming a FQDN with default k8s domain name
  2. No DNS lookup errors in the logs.

Chart version 3.24.1

No customisations beyond the change mentioned in item 1 above. Otherwise, only values changes.

Server (if applicable, please complete the following information):