Kouhei Ueno
e268e4bb7a
Add comments to pkg/scheduler/ to pass golint
2014-07-11 22:01:12 +09:00
Kouhei Ueno
93def86a9e
fix go lint errors in util
2014-07-11 21:04:34 +09:00
Burcu Dogan
1816a63d55
proxy: lock should be above the fields it protects.
2014-07-11 00:23:43 -07:00
Burcu Dogan
6a2703627b
scheduler: use New rather than Make for construction helpers.
2014-07-10 22:56:14 -07:00
Burcu Dogan
e4d966744d
proxy: fixing linting errors.
2014-07-10 22:36:06 -07:00
Burcu Dogan
f4d989ae92
labels: Fixing linting errors.
2014-07-10 22:08:12 -07:00
Tim Hockin
c134a16c36
fix go lint errors in util
2014-07-10 17:32:42 -07:00
Andrew Gerrand
a9fdf1f6b5
rename client.ClientInterface to client.Interface
2014-07-11 09:51:34 +10:00
Clayton Coleman
5896ac14da
Ensure pod and manifest always have a UUID
...
* Fixes implication #2 in docs/identifiers.md
* Replication controller lets the apiserver set the pod ID
2014-07-10 18:03:48 -04:00
brendandburns
e6ee45d38e
Merge pull request #395 from thockin/cleanups
...
IntOrString for use in JSON/YAML
2014-07-10 12:46:05 -07:00
Tim Hockin
32bcdbeb53
Merge pull request #396 from brendandburns/hostname
...
Add Hostname to the docker run command.
2014-07-10 12:28:30 -07:00
Brendan Burns
dc61547b95
Add Hostname to the docker run command.
2014-07-10 12:25:57 -07:00
Tim Hockin
06ac51e6e5
Merge pull request #389 from brendandburns/podip
...
Add PodIP to the info returned for a pod.
2014-07-10 11:18:05 -07:00
Tim Hockin
85effbbc3f
IntOrString for use in JSON/YAML
...
Specifying an API type as IntOrString will allow JSON and YAML to accept
either ints or strings with the same name. For example, port names or
numbers.
2014-07-10 11:09:47 -07:00
Brendan Burns
5a4621f451
Try to grab live data if the cache has errors.
2014-07-10 10:26:40 -07:00
Brendan Burns
b4811abbd6
Address Clayton's comment.
2014-07-10 09:24:49 -07:00
Yuki Sonoda (Yugui)
45b48e1668
Fixes golint errors in pkg/kubelet
2014-07-10 21:57:26 +09:00
Yuki Sonoda (Yugui)
2d888539dc
Fixes golint errors in pkg/kubecfg
2014-07-10 21:27:05 +09:00
Yuki Sonoda (Yugui)
056f871bed
Fixes golint errors in pkg/controller
2014-07-10 21:27:01 +09:00
Yuki Sonoda (Yugui)
820b67e41f
Fixes golint errors in pkg/cloudprovider
2014-07-10 20:46:56 +09:00
Yuki Sonoda (Yugui)
6914681ed0
Fixes golint errors in pkg/api
2014-07-10 20:46:35 +09:00
brendandburns
0748ac39e8
Merge pull request #374 from yugui/feature/show-progress
...
Periodically shows message while waiting for completion of REST operations
2014-07-09 23:15:05 -07:00
Yuki Yugui Sonoda
602f7d8112
Use glog instead of printing to stderr.
2014-07-10 14:59:56 +09:00
Brendan Burns
d5b7c4eb6d
Fix integration tests with a check for nil
...
Add a unit test to validate behavior
2014-07-09 22:31:17 -07:00
Brendan Burns
7b11cbd622
Add PodIP to the info returned for a pod.
2014-07-09 22:13:07 -07:00
Tim Hockin
b0b9606aea
Merge pull request #365 from brendandburns/health
...
add http health checks.
2014-07-09 16:14:30 -07:00
brendandburns
4c309862e3
Merge pull request #371 from thockin/valid3
...
Accumulate errors during validation
2014-07-09 13:36:37 -07:00
Tim Hockin
95fb7bc1ae
Merge pull request #379 from brendandburns/host
...
Add support for host up binding to the API (and kubelet)
2014-07-09 12:54:32 -07:00
Brendan Burns
41c6680943
add http health checks.
2014-07-09 12:01:43 -07:00
Dan Mace
00df67b0bf
Namespace "local" volume mounts by ContainerManifest ID on disk
...
Local volume mounts in a pod should result in host mounted directories
which are namespaced by the ContainerManifest ID.
2014-07-09 14:45:22 -04:00
Brendan Burns
4b22f7a462
Add support for host ip binding to the API (and kubelet)
2014-07-09 11:13:38 -07:00
Tim Hockin
4ecefd1ba3
Define an errorList type and use it to accumulate
2014-07-09 07:56:27 -07:00
Tim Hockin
54790080b3
Accumulate validation errors
...
Rather than report the first error, accumulate all errors and report them all
at once.
2014-07-09 07:55:15 -07:00
brendandburns
242627eaf0
Merge pull request #358 from thockin/valid2
...
Add validation of VolumeMounts
2014-07-08 21:58:32 -07:00
brendandburns
2ea8a68001
Merge pull request #375 from thockin/valid/dns_lengths
...
Simplify DNS validation checks
2014-07-08 21:48:46 -07:00
Dawn Chen
a0f94757a4
Instantiate cAdvisor client for kubelet to query both machine and container
...
information.
2014-07-08 16:37:43 -07:00
Tim Hockin
2eb2784725
Validation of HostPorts and Manifest IDs
...
Check that HostPorts are unique across the whole host and that Manifest IDs
are unique.
2014-07-08 15:22:47 -07:00
Tim Hockin
ad88fa48a5
Add validation of Ports
...
Also do caseless compares for "enum" strings.
2014-07-08 15:22:44 -07:00
Tim Hockin
dd6b209617
Add validation of VolumeMounts
2014-07-08 15:21:27 -07:00
Tim Hockin
8d6e832b8e
Simplify DNS validation checks
...
Move DNS length checks to util/validation.go. Make the max subdomain be 253,
which is what the RFC actually says.
2014-07-08 15:14:17 -07:00
brendandburns
40c71e8292
Merge pull request #372 from yugui/feature/golint
...
Fixes Go lint errors.
2014-07-08 12:55:41 -07:00
Tim Hockin
92cf6662ed
Merge pull request #351 from discordianfish/use-api-for-pull
...
Use api for pulling images instead of shelling out
2014-07-08 09:08:12 -07:00
Johannes 'fish' Ziemke
3fa6c9671d
Use docker client lib instead of binary for pulls
2014-07-08 12:21:39 +02:00
Yuki Yugui Sonoda
325c5cd47e
Fixes golint errors in pkg/client
2014-07-08 16:15:41 +09:00
Yuki Yugui Sonoda
5cfbed4453
Fixes golint errors in pkg/apiserver
2014-07-08 16:10:11 +09:00
Yuki Yugui Sonoda
780c441d19
Fixes golint errors in pkg/api
2014-07-08 16:08:58 +09:00
Brendan Burns
e3838e1153
Make poll period and timeout configurable.
...
Make poll period short for integration testing.
2014-07-07 10:13:27 -07:00
Brendan Burns
2f5eeee1f6
Make sync false by default. Works around timeout/retry issues.
2014-07-03 21:23:21 -07:00
Nan Deng
b351578ddd
fix data race in config.go. This is a hard one.
2014-07-02 23:23:14 -07:00
Nan Deng
aa808a6505
fix data race introduced by 1798e0f
2014-07-02 23:23:14 -07:00