Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 3b359fb675
Merge pull request #54773 from phsiao/dns_options_handling
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Support copying "options" in resolv.conf into pod sandbox when dnsPolicy is Default

**What this PR does / why we need it**:

This PR adds support for copying "options" from host's /etc/resolv.conf (or --resolv-conf) into pod's resolv.conf when dnsPolicy is Default.  Being able to customize options is important because it is common to leverage options to fine-tune the behavior of DNS client.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #42542

**Special notes for your reviewer**:

I originally wanted to also tackle the issue of copying options for when dnsPolicy is ClusterFirst, but with ability to "merge" with default options (ndots:5 more specifically) when it makes sense.  I decided to leave it off for now because the "merging" may need more discussions.   Happy to add that to this PR or create another PR for that if it makes sense and is clear what should be done.   I think even when dnsPolicy is ClusterFirst it is important to allow customization.

**Release note**:

```kubelet: add support for copying "options" from /etc/resolv.conf (or --resolv-conf if it is used) into pod's /etc/resolv.conf when dnsPolicy is Default.```
2017-11-08 22:08:24 -08:00
.github
api Merge pull request #55272 from janetkuo/ds-conditions 2017-11-08 17:13:19 -08:00
build Update generated files 2017-11-07 09:41:35 -05:00
cluster Merge pull request #55260 from yujuhong/no-live-restore 2017-11-08 18:31:15 -08:00
cmd Merge pull request #55348 from jpbetz/fix-testcrd-race 2017-11-08 21:18:19 -08:00
docs Merge pull request #55272 from janetkuo/ds-conditions 2017-11-08 17:13:19 -08:00
examples
Godeps Merge pull request #54786 from shiywang/bump-protobuf 2017-11-06 20:39:05 -08:00
hack Merge pull request #55322 from deads2k/demo-2 2017-11-08 20:23:31 -08:00
logo
pkg Merge pull request #54773 from phsiao/dns_options_handling 2017-11-08 22:08:24 -08:00
plugin Merge pull request #55311 from CaoShuFeng/scheduler-trivial 2017-11-08 19:31:15 -08:00
staging Merge pull request #55242 from sttts/sttts-stop-cache-deadlock 2017-11-08 17:13:31 -08:00
test Merge pull request #55352 from shyamjvs/remove-cluster-ip-range-hack 2017-11-08 21:18:30 -08:00
third_party
translations
vendor Merge pull request #54786 from shiywang/bump-protobuf 2017-11-06 20:39:05 -08:00
.bazelrc
.generated_files
.gitattributes Hide openapi-spec in diffs 2017-11-04 23:16:04 -07:00
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md Update CHANGELOG-1.7.md for v1.7.10. 2017-11-03 16:39:03 -04:00
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.3. 2017-11-08 12:42:45 -08:00
CHANGELOG-1.9.md
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SUPPORT.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics