Commit Graph

183 Commits (c830d94dc497f896108fb37cf5563be123e06edd)

Author SHA1 Message Date
Paul Morie 05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
k8s-merge-robot e953f4a074 Merge pull request #19628 from mikedanese/dns-headless
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
Clayton Coleman 38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Mike Danese 69add2fb80 dns: don't die when a headless service declares no ports
Headless services are not required to declare ports.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
YuviPanda 12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda cd23dcee34 Use pflag instead of flag in kube2dns
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Marko Bonaći 5cbd461442 Fix dns readme (kubectl output: REASON -> STATUS) 2016-01-04 23:47:04 +01:00
gmarek 2d5c429f9d Add resource requests to addons 2015-12-17 10:13:15 +01:00
Abhishek Shah 5abfce45e1 update kube2sky version 2015-12-15 15:16:47 -08:00
Abhi Shah 9c0e777567 Merge pull request #17952 from upmc-enterprises/dns_fix 2015-12-14 20:42:53 -08:00
Lucas Käldström cff9c2f94c Don't restrict kube2sky to build only for amd64, make possible for arm too 2015-12-14 20:44:12 +02:00
Steve Sloka 034ecbd300 Gave pods their own cache store 2015-11-30 11:21:44 -05:00
k8s-merge-robot e95e3dec42 Merge pull request #17414 from timstclair/apiserver
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Tim St. Clair 20ead45af9 Move etcd_util.go to separate package 2015-11-23 11:32:50 -08:00
deads2k a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Abhishek Shah de44e4cbc6 update skydns config so that it does not rely on /etc/hosts 2015-10-20 11:19:08 -07:00
k8s-merge-robot bd1c26c152 Merge pull request #15765 from mqliang/importAlias-kSelector
Auto commit by PR queue bot
2015-10-19 08:03:15 -07:00
mqliang bea0fc7cb6 Del capatical local packagename for kSelector 2015-10-16 16:09:09 +08:00
combk8s 59b392c4fa Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
Abhishek Shah f2c8d1bdd5 New SkyDNS build (Oct 13, 2015, 8c72f8c). Set ns-rotate to false. rtimeout is now defaulting to 2 seconds. SkyDNS container includes its sources in /skydns_sources.tar.gz 2015-10-13 14:11:56 -07:00
Abhishek Shah d92d4124dd changed localhost to 127.0.0.1 for dns healthcheck 2015-10-08 09:34:07 -07:00
eulerzgy 71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Abhi Shah 29c3c23aa0 Merge pull request #14625 from ArtfulCoder/dnstest
adjust read timeout for skydns. default is too high. (changed 4 seconds-> 2seconds)
2015-09-29 22:04:09 -07:00
Abhishek Shah 5d2f3e6683 adjust read timeout for skydns. default is too high (2 seconds.) 2015-09-28 14:07:25 -07:00
Steve Sloka 717660aa35 Allow pods to have dns 2015-09-25 17:22:38 -04:00
Tony Hsu bab127e094 nslookup in different namespace
Since skydns is created in namespace 'kube-system' and kubernetes service is created in namespace 'default', if busybox is created in namespace 'kube-system' then nslookup will work with 'kubernetes.default'.
2015-09-16 17:44:02 +08:00
k8s-merge-robot 8491a6028b Merge pull request #13843 from thockin/dns-docs-cleanup
Auto commit by PR queue bot
2015-09-10 23:03:39 -07:00
Tim Hockin 248881d44f Update DNS docs to cover --resolv-conf 2015-09-10 22:12:28 -07:00
Daniel Smith b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith 15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Quinton Hoole 27c4041778 Merge pull request #13172 from parikhyash/kube-dns-ha
#11471 Readiness probe for kube-dns RC (HA)
2015-09-04 09:08:08 -07:00
Abhi Shah 9b24100c22 Merge pull request #13561 from yuvipanda/patch-1
Update kube2dns usage flags
2015-09-03 15:49:26 -07:00
Yuvi Panda e35d06fd17 Update kube2dns usage flags
Update some of the commandline flags for kube2sky
2015-09-03 18:57:45 +02:00
Yash Parikh 207dfe54f0 Fixes #11471 Readiness probe for kube-dns RC (HA) 2015-09-02 10:05:15 -07:00
qiaolei 59b6a6d2b8 Fix a typo `hostNet` to `hostNetwork`
Where `hostNet` should be `hostNetwork`
2015-09-02 20:21:10 +08:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Ed Costello 35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
David Walter 792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Mike Danese 17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Wojciech Tyczynski 3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Vish Kannan 6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Tim Hockin 4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -07:00
Piotr Szczesniak 06b3406cef Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
It's for autoscaling tests purposes and making the config consistent with
other flags like ENABLE_NODE_LOGGING
2015-07-23 10:25:06 +02:00
David Oppenheimer dec9adfe2e Replace ```shell with ```sh 2015-07-19 21:38:53 -07:00
Abhishek Shah bc99a57915 Assigned emptyDir for etcd data dir in skydns pod 2015-07-10 09:27:42 -07:00
Prashanth Balasubramanian 412467fe27 Use the exec-sidecar as a healthz probe for the syndns container 2015-07-09 15:13:46 -07:00
Dawn Chen c6a0fd1eaf Upgrade to v6 from v5 2015-07-07 16:29:27 -07:00
Dawn Chen 4f947ce8ed Disable liveness for dns due to #10659 2015-07-07 16:27:38 -07:00
Brendan Burns 988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Abhishek Shah 1edfc82d96 rebuilt kube2sky to use v1 api. new image ver is 1.11 2015-07-06 12:32:23 -07:00
Dawn Chen ce520dd6e8 Set resource limit for skydns containers based on data collected by #10335 2015-07-01 14:47:29 -07:00
Tim Hockin 6757a1ce94 Use the svc.cluster.local name for DNS health checks 2015-06-25 17:11:53 -07:00
Tim Hockin 07e75c1dec Use v1 API 2015-06-25 17:04:47 -07:00
Tim Hockin 1ce7f1b5be Stop using special tokens for DNS 2015-06-25 17:04:47 -07:00
Tim Hockin 2b4da35499 Make kube2sky fall back on service accounts
Service accounts are as yet unverified (no CA cert) but at least it will work.
2015-06-25 17:04:47 -07:00
Tim Hockin 88ce0ad8e9 Clean up Changelog
- sort newest-first
- add missing entry
- format consistently
2015-06-25 17:04:47 -07:00
Tim St. Clair f5830edbbc s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
Abhi Shah 30558d259d Merge pull request #9548 from brendandburns/docsfix3
Add instructions for validating the DNS server.
2015-06-11 10:53:45 -07:00
Brendan Burns ebe43fd5ca Add instructions for validating the DNS server. 2015-06-10 14:56:41 -07:00
Abhi Shah fdf2d6057f Merge pull request #9226 from erictune/makefile
Clarify where DNS resolution works.
2015-06-10 12:57:24 -07:00
Eric Tune 1c1272a3e4 Clarify where resolution works. 2015-06-10 12:55:49 -07:00
Robert Bailey 2feb658ed7 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Quinton Hoole 4384b57a27 Merge pull request #9327 from ArtfulCoder/srv_doc
README.md updated to explain SRV Record support.
2015-06-05 12:56:20 -07:00
Abhishek Shah bd36b0d315 README.md updated to explain SRV Record support. 2015-06-05 12:33:22 -07:00
Abhishek Shah 7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
Daniel Smith 5d6b8d7de6 doc updates 2015-06-03 15:41:09 -07:00
Brian Grant 36a4ece87a Merge pull request #9080 from thockin/dns-new-search-kubelet
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant aa2f0be626 Merge pull request #8718 from vishh/kube2sky
Avoid making connections to the apiserver insecure by default in kube2sky
2015-06-02 14:11:58 -07:00
Tim Hockin be4b700ccb Document the supported DNS schema 2015-06-01 17:02:17 -07:00
Vishnu Kannan 404558f29c New release of kube2sky v1.8 2015-06-01 16:59:53 -07:00
Tim Hockin 4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Vishnu Kannan 0ae4defc9d Avoid making connections to the apiserver insecure by default in kube2sky. 2015-05-28 11:04:09 -07:00
Vishnu Kannan d3c7edb78f New release of kube2sky (v1.7) 2015-05-25 19:43:57 -07:00
Vishnu Kannan f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Dawn Chen 9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Abhishek Shah dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
Tim Hockin 6b6b47a777 Merge pull request #8452 from satnam6502/skydns
Embed version number in kube-dns RC
2015-05-18 16:36:43 -07:00
Satnam Singh c7d5b4fa2f Document process for updating version of kube-dns 2015-05-18 15:41:08 -07:00
Satnam Singh fbf6d36e1c Embed version number in kube-dns RC 2015-05-18 15:18:44 -07:00
Paul Weil e565b20b37 fix gendocs 2015-05-18 13:32:55 -04:00
Victor Marmol d064e843ab Merge pull request #8287 from vishh/kube2sky
Adding unit tests for existing kube2sky logic
2015-05-18 08:40:19 -07:00
Victor Marmol 4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol d0e7040b94 Merge pull request #8367 from thockin/kube2sky
Add docs on making a release
2015-05-18 08:37:28 -07:00
Vishnu Kannan 684122f2a7 Adding unit tests for existing kube2sky logic. 2015-05-17 19:13:50 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Tim Hockin 284f87040c Add docs on making a release 2015-05-15 17:51:01 -07:00
Vishnu Kannan 50522a207b Revert kube2sky to use kubernetes-ro service until the dns-token is updated
to not use dns names.
2015-05-15 16:44:20 -07:00
Tim Hockin 850e0e682e Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Satnam Singh e8f55e81e5 Add a TAG Makefile variable for the kube2sky image 2015-05-14 10:57:45 -07:00
Tim Hockin 1b1010621f Fix spurious quote in DNS healthcheck 2015-05-14 09:39:02 -07:00
Abhishek Shah 71a10c2044 Use https 2015-05-13 17:03:29 -07:00
Tim Hockin ab30484a4f Fix DNS health check 2015-05-13 08:51:06 -07:00
Nikhil Jindal c2fecff3d5 Merge pull request #8067 from piosz/kubectl
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Tim Hockin e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
Daniel Smith caddcd8cd3 Merge pull request #7901 from vishh/kube2sky
Updated kube2sky to use the controller framework.
2015-05-11 13:49:20 -07:00
Piotr Szczesniak 12e44ff8a9 Added label kubernetes.io/name to cluster services
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Piotr Szczesniak 02aa97d695 Added name to kube-dns service
Fixes #7922
2015-05-11 12:42:22 +02:00
Vishnu Kannan e521b3f1af Updated kube2sky to use the controller framework.
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
Tim Hockin ec8ba4a62f Expose 53/TCP on DNS service 2015-05-07 00:40:39 -07:00