Commit Graph

52 Commits

Author SHA1 Message Date
k8s-merge-robot
4e4ad61260 Merge pull request #23366 from goltermann/vet
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
harry
f19d59cf35 Move flag into sub pkg 2016-03-14 21:30:38 +08:00
Abhishek Shah
a3c00aadd5 Specify hostname, subdomain via annotation on podspec.
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Prashanth Balasubramanian
8de2fbfa0a Kube2sky synchronously waits for the Kubernetes service. 2016-03-03 15:49:46 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
Jan Chaloupka
4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01: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
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
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
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
eulerzgy
71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Steve Sloka
717660aa35 Allow pods to have dns 2015-09-25 17:22:38 -04: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
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07: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
Tim Hockin
4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -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
Abhishek Shah
7d0adbcb1c SRV record support 2015-06-05 09:31: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
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
f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Abhishek Shah
dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
Vishnu Kannan
684122f2a7 Adding unit tests for existing kube2sky logic. 2015-05-17 19:13:50 -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
Abhishek Shah
71a10c2044 Use https 2015-05-13 17:03:29 -07:00
Tim Hockin
e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07: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
CJ Cullen
1ec0fb2e3d Make changes suggested in #7675 2015-05-04 21:58:13 -07:00
CJ Cullen
a21713a771 Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7 2015-05-04 13:01:35 -07:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
CJ Cullen
80af1c9e40 kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes. Override in clients that can't use DNS. 2015-04-23 18:13:16 -07:00
Fabio Yeon
0a0bd88db6 Revert "Change kube2sky to use token-system-dns secret, point at https endpoint ..." 2015-04-22 17:56:34 -07:00
CJ Cullen
e982ac5b55 Change kube2sky to use token-system-dns secret, point at https endpoint (instead of kubernetes-ro service). 2015-04-21 23:10:12 -07:00
Tim Hockin
eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Abhishek Gupta
b0c23c1046 Headless Services: Adding option to specify None for PortalIP 2015-03-20 12:10:03 -07:00
Salvatore Dario Minonne
31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Fabio Yeon
01f7d459d3 Add etcd server check at startup to kube2sky (with retry loop). 2015-03-05 11:43:16 -08:00