generated from Datawheel/template-tesseract-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from DataUSA/develop
Delaware Deployment
- Loading branch information
Showing
20 changed files
with
890 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
image: | ||
pullPolicy: Always | ||
|
||
imagePullSecrets: | ||
- name: github | ||
|
||
replicaCount: 1 | ||
|
||
autoscaling: | ||
enabled: false | ||
minReplicas: 1 | ||
maxReplicas: 4 | ||
targetCPUUtilizationPercentage: 80 | ||
targetMemoryUtilizationPercentage: 120 | ||
|
||
resources: {} | ||
# resources: | ||
# requests: | ||
# cpu: 500m | ||
# memory: 2Gi | ||
# limits: | ||
# cpu: 1000m | ||
# memory: 8Gi | ||
|
||
livenessProbe: | ||
failureThreshold: 3 | ||
httpGet: | ||
path: / | ||
port: 7777 | ||
scheme: HTTP | ||
initialDelaySeconds: 30 | ||
periodSeconds: 30 | ||
timeoutSeconds: 30 | ||
successThreshold: 1 | ||
|
||
readinessProbe: | ||
failureThreshold: 3 | ||
httpGet: | ||
path: / | ||
port: 7777 | ||
scheme: HTTP | ||
initialDelaySeconds: 30 | ||
periodSeconds: 30 | ||
timeoutSeconds: 30 | ||
successThreshold: 2 | ||
|
||
service: | ||
type: ClusterIP | ||
port: 7777 | ||
|
||
serviceAccount: | ||
# Specifies whether a service account should be created | ||
create: true | ||
# Annotations to add to the service account | ||
annotations: {} | ||
# The name of the service account to use. | ||
# If not set and create is true, a name is generated using the fullname template | ||
name: "" | ||
|
||
configMap: | ||
TESSERACT_DEBUG: "true" | ||
TESSERACT_SCHEMA: "schema" | ||
|
||
# secrets: | ||
# TESSERACT_BACKEND: <BASE64_VALUE> | ||
|
||
ingress: | ||
enabled: true | ||
annotations: | ||
cert-manager.io/cluster-issuer: "letsencrypt-prod" | ||
acme.cert-manager.io/http01-edit-in-place: "true" | ||
ingress.kubernetes.io/ssl-redirect: "true" | ||
nginx.org/proxy-connect-timeout: "480s" | ||
nginx.org/proxy-read-timeout: "480s" | ||
nginx.org/proxy-buffers: "8 16k" | ||
nginx.org/proxy-buffer-size: "16k" | ||
nginx.org/proxy-busy-buffers-size: "64k" | ||
nginx.org/location-snippets: | | ||
add_header Access-Control-Allow-Origin *; | ||
className: nginx | ||
customHosts: | ||
- host: delaware-api-ts.datausa.io | ||
paths: | ||
- path: / | ||
service: tesseract-api-delaware | ||
port: 7777 | ||
tls: | ||
- secretName: tesseract-api-delaware-ingress-tls | ||
hosts: | ||
- delaware-api-ts.datausa.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.