Clayton Coleman
e67786b2f0
Shorten kubecfg test by adding private variable for duration
2015-01-09 13:16:30 -05:00
Clayton Coleman
e355f54eda
Update references from Path() to the appropriate segment use
2014-12-29 15:38:52 -05:00
Daniel Smith
7f46d420dd
add existence func and unit test
2014-12-23 14:05:26 -08:00
Daniel Smith
16c624b2e6
improve error reporting for bad templates
2014-12-23 11:21:38 -08:00
Clayton Coleman
88715cc6ef
Rename Event.Status to Event.Condition to match v1beta3 agreement
...
Question - should this be a phase? Seems like no, since phase implies
defined lifecycle and this field is explicitly not defined.
2014-12-16 09:43:10 -05:00
Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Brendan Burns
c29f5db81c
Revert "Revert "Add optional validation to kubecfg/kubectl.""
...
This reverts commit 6590c66dd4
.
2014-12-09 12:37:48 -08:00
Sam Ghods
6399854240
Remove unused YAML tags and GetYAML/SetYAML methods
...
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Sam Ghods
9a9a1e0939
Move from go-yaml/yaml to ghodss/yaml
2014-12-02 16:24:05 -08:00
Joe Beda
6590c66dd4
Revert "Add optional validation to kubecfg/kubectl."
...
This reverts commit acf6d82800
.
2014-11-25 14:45:00 -08:00
Clayton Coleman
a67912f937
Merge pull request #2517 from brendandburns/kubecfg
...
Add client side validation to kubecfg and kubectl.
2014-11-25 13:46:52 -06:00
Brendan Burns
acf6d82800
Add optional validation to kubecfg/kubectl.
2014-11-24 22:25:22 -08:00
Deyuan Deng
6a42b66369
Display node label
2014-11-22 11:33:02 -05:00
markturansky
8159c8fd25
Refactor PodCondition to PodPhase
2014-11-21 15:28:38 -05:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
markturansky
8af4ccb111
v1beta3 Pod refactor
2014-11-18 09:25:42 -05:00
Eric Tune
0727219c83
New package defines .kubernetes_auth format.
...
Refactored common code to that package.
Subsequent PRs will load and emit these files.
2014-11-14 10:36:25 -08:00
Clayton Coleman
94c873e7a4
Remaining refactor for PodTemplateSpec and fixing test cases
2014-11-11 17:03:20 -05:00
Daniel Smith
66d62229f6
Fix kubecfg -template to be versioned
2014-11-07 16:47:21 -08:00
markturansky
bd7643c033
refactor services to v1beta3
2014-11-04 14:23:53 -05:00
Brendan Burns
455471d77d
Further fixes.
2014-10-27 14:48:42 -07:00
Brendan Burns
df3dd288f2
Fix the e2e tests and kubecfg given recent additional validation.
2014-10-27 13:39:21 -07:00
derekwaynecarr
c6eb371c93
Fixup unit tests
2014-10-24 11:49:04 -04:00
derekwaynecarr
580cb5ea4f
Rework client.Interface
2014-10-24 11:47:30 -04:00
Clayton Coleman
644eb70085
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Clayton Coleman
7550c146dc
Replace struct initializers for TypeMeta with ObjectMeta
2014-10-24 11:22:21 -04:00
Daniel Smith
6ef6ff5bc5
Merge pull request #1893 from crhym3/fix-1149-req-body
...
Replace custom ProxyServer (kubecfg/kubectl -proxy) with httputil.ReverseProxy
2014-10-22 15:29:59 -07:00
Clayton Coleman
91d9a90e4e
Replace use of "id" in strings with "name"
2014-10-22 15:59:12 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
alex
fb2b15a797
Replace custom proxy with httputil.ReverseProxy for kubecfg/kubectl.
...
Fixes #1149 - kubecfg proxy "411 Length Required" error on POST/PUT.
2014-10-21 18:52:18 +01:00
Eric Tune
21dae01005
Handle auth files with BearerToken sections.
2014-10-20 17:02:03 -07:00
derekwaynecarr
085ca40291
Enforce unique constraint at namespace boundary in etcd, make client and server namespace aware
2014-10-16 13:02:52 -04:00
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Daniel Smith
68a784439b
Add event listing and printing to kubecfg
2014-10-15 11:42:06 -07:00
Clayton Coleman
d3e51a0f24
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
Deyuan Deng
1454d5d174
Improve replication controller errro handling.
2014-10-06 21:02:51 -04:00
Tim Hockin
372aa07b58
Better handling of unbound pods.
...
A small collection of tweaks to better handle pods when they are not currently
bound to a host.
2014-10-06 12:27:18 -07:00
Deyuan Deng
7640280284
Ignore empty pod port spec.
2014-10-03 21:38:29 -04:00
bgrant0607
41daef6a00
Merge pull request #1524 from brendandburns/ux
...
Add an initial UX prototype for Kubernetes
2014-10-02 15:05:43 -07:00
erictune
0a2e208e8f
Merge pull request #1538 from smarterclayton/allow_skip_tls_verify
...
Allow clients to skip TLS verification
2014-10-02 11:49:40 -07:00
derekwaynecarr
d5ec260db8
Fixup tests
2014-10-02 12:52:01 -04:00
derekwaynecarr
fc67d822c6
Add context as parameter to client interface functions
2014-10-02 12:51:36 -04:00
Clayton Coleman
7af3c7d75e
Allow clients to skip TLS verification
...
Adds -skip_tls_verify to any API server client. Also store in auth
2014-10-02 12:08:58 -04:00
Brendan Burns
c3d2517371
Re-add the ability to load certs from the config file.
2014-10-01 17:10:07 -07:00
Brendan Burns
77196403dc
Add support for fields.
2014-10-01 16:49:50 -07:00
Clayton Coleman
ff2eca97d9
Refactor the client (again) to better support auth
...
* Allows consumers to provide their own transports for common cases.
* Supports KUBE_API_VERSION on test cases for controlling which
api version they test against
* Provides a common flag registration method for CLIs that need
to connect to an API server (to avoid duplicating flags)
* Ensures errors are properly returned by the server
* Add a Context field to client.Config
2014-10-01 15:23:37 -04:00
Brendan Burns
f630104538
Update the proxy server so that it passes labels along too.
2014-09-30 09:27:20 -07:00
Tim Hockin
cf86d66076
rename labels in kubcfg logic
2014-09-22 15:34:13 -07:00
Tim Hockin
bb3900f447
Make "kubecfg -s <port> run ..." select correctly
...
kubecfg run creates a replication controller which sets all pods with a
replicationController= label, but then sets up a service selecting on name=
instead. This fixes that. kubecfg -s <port> run ... can now actually work.
2014-09-22 15:17:47 -07:00
Tim Hockin
2c5693b0ad
Don't force a host port through kubecfg
2014-09-22 12:31:37 -07:00