Closed cbmckni closed 4 years ago
@cbmckni Can you add helm variables for the name and hostname in helm/values.yaml
. Ideally those things shouldn't be hardcoded to a particular namespace.
Also can we go ahead and bump the resource request/limit up to 1 CPU and 4GB of memory for the web server pod?
@bentsherman I increased the resource requests.
As for your other points:
# Ingress control settings
Ingress:
# If true, use ingress control.
# Otherwise, generic LoadBalancer networking will be used,
# and the other settings in this section will be ignored.
Enabled: true
# The subdomain to associate with this service.
# This will result in a FQDN like {subdomain}.{cluster}.slateci.net
Host: nf-api-teach-compbio.nautilus.optiputer.net
# The class of the ingress controller to use.
# For SLATE this should be 'slate'.
Class: traefik
helm install <name> <helm-folder>
In the docs it is helm install nf .
In this example, nf
is the name of the helm deployment, while the deployment is named 'nf-[GUID]'
The GUID is generated to separate different nf-api instances in the name namespace. I suppose the user could just name them differently.
Ah I see, all of the hard-coded values I saw were in the values.yaml. Looks good to me then.
Removed old deployment files and updated helm files and docs. Works on PRP and GCP.