dns

module
v0.0.0-...-7186d26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2020 License: Apache-2.0

README

Kubernetes DNS

Build Status Coverage Status Go Report Card

This is the repository for Kubernetes DNS.

Images

Building

make targets:

target description
all, build build all binaries
test run unit tests
containers build the containers
images-clean clear image build artifacts from workdir
push push containers to the registry
help this help message
version show package version
{build,containers,push}-ARCH do action for specific ARCH
all-{build,containers,push} do action for all ARCH
only-push-BINARY push just BINARY
  • Setting VERBOSE=1 will show additional build logging.
  • Setting VERSION will override the container version tag.

Analytics

Release process

  1. Build and test (make images-clean; make build; make containers; make test)
  2. Update go dependencies if needed.
  3. Update the release tag. We use semantic versioning to name releases.
  4. Wait for container images to be pushed via cloudbuild yaml. This will be done automatically by k8s.io/test-infra/.../k8s-staging-dns.yaml. A manual cloud build can be submitted via gcloud builds submit --config cloudbuild.yaml, but this requires owner permissions in k8s-staging-dns project. The automated job pushes images for all architectures and makes them available in gcr.io/k8s-staging-dns. Status for build jobs can be checked at - https://k8s-testgrid.appspot.com/sig-network-dns#dns-push-images
  5. Promote the images to gcr.io/k8s-artifacts-prod using the process described in this link. The image SHAs should be added to images/k8s-staging-dns/images.yaml.
  6. Submit a PR for the kubernetes/kubernetes repository to switch to the new version of the containers.
  7. Images will be available in the repo k8s.gcr.io/dns/. The node-cache image with tag 1.15.14 can be found at k8s.gcr.io/dns/k8s-dns-node-cache:1.15.14. Older versions are at k8s.gcr.io/k8s-dns-node-cache:

Directories

Path Synopsis
cmd
dnsmasq-nanny command
e2e command
kube-dns command
kube-dns/app/options
Package options contains flags for initializing a proxy.
Package options contains flags for initializing a proxy.
node-cache command
sidecar command
sidecar-e2e command
pkg
dns
Package DNS provides a backend for the skydns DNS server started by the kubedns cluster addon.
Package DNS provides a backend for the skydns DNS server started by the kubedns cluster addon.
dns/federation
Fed contains federation specific DNS code.
Fed contains federation specific DNS code.
e2e
Package e2e contains end-to-end test for the DNS daemons.
Package e2e contains end-to-end test for the DNS daemons.
test
e2e
Package e2e contain the e2e test cases.
Package e2e contain the e2e test cases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL