Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
82213cbf
Commit
82213cbf
authored
Aug 28, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add helm deployments and a Makefile for the ExternalName example/test.
parent
6951ff96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
115 additions
and
0 deletions
+115
-0
values.yaml
examples/externalname/values.yaml
+115
-0
No files found.
examples/externalname/values.yaml
0 → 100644
View file @
82213cbf
apps
:
coffee-external
:
externalName
:
coffee-svc.default.svc.cluster.local
config
:
# For requests routed to coffee-external-svc:
# - The first byte timeout is three seconds.
# - The between bytes timeout is two seconds.
first-byte-timeout
:
3s
between-bytes-timeout
:
2s
probe
:
# Health probe for coffee-external-svc:
# - Requests are send as shown in the request array.
# - Timeout three seconds.
# - Three of four good probes are required for the Endpoint to
# count as healthy.
request
:
-
GET /coffee/healthz HTTP/1.1
-
"
Host:
cafe.example.com"
-
"
Connection:
close"
timeout
:
3s
interval
:
3s
window
:
4
threshold
:
3
initial
:
3
# Configuration specific to ExternalName Services
dnsRetryDelay
:
25s
domainUsageTimeout
:
3h
firstLookupTimeout
:
20s
resolverTimeout
:
1m
resolverIdleTimeout
:
10m
maxDNSQueries
:
200
tea-external
:
externalName
:
tea-svc.default.svc.cluster.local
servicePort
:
81
targetPort
:
80
config
:
# For requests routed to tea-external-svc:
# - The Host header is set to cafe.example.com if it is missing from
# the request.
# - The connect timeout (for opening new connections to an Endpoint)
# is one second.
# - The first byte timeout (until the first byte of a backend response
# header is received) is two seconds.
# - The between bytes timeout (while a response is being received)
# is one second.
# - No more than 200 connections to an Endpoint may be opened.
host-header
:
cafe.example.com
connect-timeout
:
1s
first-byte-timeout
:
2s
between-bytes-timeout
:
1s
max-connections
:
200
probe
:
# Health probe requests for Endpoints of tea-external-svc:
# - Request URL path is /tea/healthz
# - Health probes are good when the response code is 200.
# - Five second timeout to receive responses.
# - Probes are sent every five seconds.
# - Two of three probes must be good for the Endpoint to count as
# healthy.
# - At startup, one probe is implicitly assumed to be good.
url
:
/tea/healthz
expected-response
:
200
timeout
:
5s
interval
:
5s
initial
:
2
window
:
3
threshold
:
2
# Configuration specific to ExternalName Services:
# - dnsRetryDelay (VCL duration): delay until a DNS lookup is retried
# after a lookup gets negative results. Default 30s
# - domainUsageTimeout (VCL duration): delay until an unused domain
# and its backends are removed. Default 2h
# - firstLookupTimeout (VCL duration): delay until a lookup is failed
# when a domain is requested the first time and there is no response
# from the name service. Default 10s
# - resolverTimeout (VCL duration): timeout for DNS lookups
# - resolverIdleTimeout (VCL duration): timeout for idle DNS connections
# (no outstanding responses and no pending queries)
# - maxDNSQueries (integer >= 0 and <= 65535): maximum number of
# outstanding DNS queries. Queries above the limit are queued.
# - followDNSRedirects (boolean): whether DNS queries follow redirects
# (CNAME and DNAME). Default true
dnsRetryDelay
:
20s
domainUsageTimeout
:
1h
firstLookupTimeout
:
15s
resolverTimeout
:
45s
resolverIdleTimeout
:
5m
maxDNSQueries
:
100
followDNSRedirects
:
true
coffee
:
image
:
nginxdemos/hello:plain-text
replicas
:
2
labels
:
app
:
coffee
example
:
externalname
tea
:
image
:
nginxdemos/hello:plain-text
replicas
:
3
labels
:
app
:
tea
example
:
externalname
ingress
:
name
:
cafe-ingress
rules
:
-
host
:
cafe.example.com
paths
:
-
path
:
/tea
app
:
tea-external
servicePort
:
81
-
path
:
/coffee
app
:
coffee-external
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment