How to add custom domain to erpnext install using kubernetes and helm

i use this gitlab repo to install erpnext and custom apps on AWS EKS. Now all my pods are running perfectly and everything looks smooth. How can i access my application using ip address. Furthermore how to add custom domain to access it.

1 Like

You need to explore options available for Service. Check if NodePort works for you. Make sure you execute bench use {site-name} to serve only 1 site from bench. No multi-tenancy possible in this case. If you find a way to have NodePort based multi-tenancy do share.

thank you for your response ,
in the guide, i have applied this command
kubectl apply -f
and after installing cluster-issuer and certificate with route 53
i applied this yaml file for ingress

kind: Ingress
  namespace: erpnext
  annotations: letsencrypt-wildcard nginx
  - host:
      - backend:
            name: erpnext-v13
              number: 8080
        path: /
        pathType: ImplementationSpecific
  - hosts:
    - ''
    - '*'
    secretName: letsencrypt-wildcard

also , i bought this domain from godady site
and register the ip address of the vpc Elastic IP addresses in their site with A class and domain name with CNAMe

hi agian , i have solved the issue of the access from internet to cluster,
but the page return nginx error 404 not fount with https and http. also i can access the domain name only by typing www in front of domain name with no ssl secure connection ,
can any one help

if you’re using ingress nginx check redirect annotation ingress-nginx/ at main · kubernetes/ingress-nginx · GitHub

you can redirect any domain to www

thank you again for support the problem was in my ingress yaml file but all thing are working fine now , my question now is there any way i can make the erpnext internet access directly to root domain instead of subdomain

i have the following error building docker image when set --set jobs.configure.enabled=false
in helm install

Logs from




chown: changing ownership of ‘/home/frappe/frappe-bench/sites/.build’: Operation not permitted

chown: changing ownership of ‘/home/frappe/frappe-bench/sites/assets’: Operation not permitted

chown: changing ownership of ‘/home/frappe/frappe-bench/sites’: Operation not permitted

arguments is :
chown -R

how to change this in docker image