You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Kubernetes Prow Robot cefee85aaf
Merge pull request #380 from jchauncey/update-base-image
2 months ago
build Revert "Set version variable in build script, if not set." 3 months ago
cmd Declare all substitution strings as constants. 3 months ago
docs Kubernetes DNS specification IPv6 support 7 months ago
images chore(Makefile): update base image 2 months ago
pkg Added check for invalid (zeroed) metric values before adding to metric. 6 months ago
test Forward PTR record lookup from kubedns to upstream server 2 years ago
vendor Include template plugin in vendor. 3 months ago
.gitignore Build files 3 years ago
.travis.yml Update travis to use go1.11 1 year ago
CONTRIBUTING.md Fix Broken link (#144) 2 years ago
Dockerfile.dnsmasq-nanny Fix dnsmasq-nanny dockerfile 3 years ago
Dockerfile.kube-dns Add Dockerfiles for kube-dns and sidecar-e2e 3 years ago
Dockerfile.node-cache Use debian-base-$(ARCH):v2.0.0 as base image 3 months ago
Dockerfile.sidecar Debian base uses `nogroup` as the group 5 months ago
Gopkg.lock Include template plugin in vendor. 3 months ago
Gopkg.toml upgrade coredns to 1.6.7 5 months ago
LICENSE Add boilerplate files to the project 3 years ago
Makefile Added cloudbuild.yaml to push dns images. 4 months ago
OWNERS Adding myself to OWNERS 1 year ago
README.md Added cloudbuild.yaml to push dns images. 4 months ago
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC 1 year ago
Vagrantfile add vagrantfile for local development 3 years ago
cloudbuild.yaml Add a VERSION env var in cloudbuild. 3 months ago
code-of-conduct.md Update code-of-conduct.md 2 years ago
image-checks.sh Added a simple script to sanity check dns images. 4 months ago
rules.mk chore(Makefile): update base image 2 months ago

README.md

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.
  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.