Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
2418a6b2
Commit
2418a6b2
authored
Apr 02, 2019
by
John Belamaric
Committed by
GitHub
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugin/kubernetes: Disable resync by default (#2752)
* Disable resync by default * Document default resync
parent
6f5b294d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
plugin/kubernetes/README.md
plugin/kubernetes/README.md
+2
-1
plugin/kubernetes/setup.go
plugin/kubernetes/setup.go
+1
-1
No files found.
plugin/kubernetes/README.md
View file @
2418a6b2
...
@@ -48,7 +48,8 @@ kubernetes [ZONES...] {
...
@@ -48,7 +48,8 @@ kubernetes [ZONES...] {
}
}
```
```
*
`resyncperiod`
specifies the Kubernetes data API
**DURATION**
period.
*
`resyncperiod`
specifies the Kubernetes data API
**DURATION**
period. By
default resync is disabled (DURATION is zero).
*
`endpoint`
specifies the
**URL**
for a remote k8s API endpoint.
*
`endpoint`
specifies the
**URL**
for a remote k8s API endpoint.
If omitted, it will connect to k8s in-cluster using the cluster service account.
If omitted, it will connect to k8s in-cluster using the cluster service account.
*
`tls`
**CERT**
**KEY**
**CACERT**
are the TLS cert, key and the CA cert file names for remote k8s connection.
*
`tls`
**CERT**
**KEY**
**CACERT**
are the TLS cert, key and the CA cert file names for remote k8s connection.
...
...
plugin/kubernetes/setup.go
View file @
2418a6b2
...
@@ -321,4 +321,4 @@ func searchFromResolvConf() []string {
...
@@ -321,4 +321,4 @@ func searchFromResolvConf() []string {
return
rc
.
Search
return
rc
.
Search
}
}
const
defaultResyncPeriod
=
5
*
time
.
Hour
const
defaultResyncPeriod
=
0
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