Dawn Chen
85bb2911a3
Apply oom_score_adj (0) to PID of user containers by default.
...
(cherry picked from commit f6f9372d1a
)
2015-06-15 20:33:45 -07:00
Brendan Burns
6eda9c4976
Fix a bug where the network container could be torn down before other pods.
...
This can break PreStop that hits localhost in the pod.
(cherry picked from commit aac696d44c
)
2015-06-15 20:32:31 -07:00
Brendan Burns
a6652a0e98
Merge pull request #9834 from cjcullen/fwfix
...
Fix crashes in ssh-tunnel code.
2015-06-15 20:25:32 -07:00
Fabio Yeon
bcf5cffa1a
Merge pull request #9768 from timstclair/proxy-rel
...
Don't rewrite relative URLs when proxying HTTP content.
2015-06-15 19:54:18 -07:00
Fabio Yeon
72082624e5
Merge pull request #9522 from brendandburns/friction
...
Add a better message if the user doesn't specify a resource type.
2015-06-15 19:53:54 -07:00
Fabio Yeon
0453f9ea9d
Merge pull request #9705 from hurf/label4describe
...
Add label support for kubectl describe
2015-06-15 19:33:09 -07:00
CJ Cullen
66fb8ccb02
Add ssh tunnel-open metrics
2015-06-15 17:28:54 -07:00
Dawn Chen
80c48aedb2
Merge pull request #9824 from dchen1107/clean
...
explicitly applying oom_score_adj(0) to processes of user containers
2015-06-15 17:06:48 -07:00
nikhiljindal
3d63c71cbc
Removing legacyBehavior param from pkg/client
2015-06-15 16:49:11 -07:00
Chao Xu
d9e8939ae4
remove pkg/api/validation/testdata/v1beta1/*
2015-06-15 16:20:14 -07:00
Dawn Chen
14f78b74cc
Fix the unittests cause by applying oom_score_adj (0) to the user containers.
2015-06-15 16:16:34 -07:00
Dawn Chen
f6f9372d1a
Apply oom_score_adj (0) to PID of user containers by default.
2015-06-15 16:16:34 -07:00
BC Broussard
90b0b5c895
Add NodePort and Loadbalancer to services web ui
...
Remove PublicIPs
2015-06-15 16:09:10 -07:00
Brendan Burns
07b5930a70
Remove the redirect verb.
2015-06-15 15:39:06 -07:00
Fabio Yeon
4fdcbc3096
Merge pull request #9799 from jhadvig/err_msg
...
Making error msg for updating resource version more clear
2015-06-15 15:20:00 -07:00
Fabio Yeon
bb5d2101a1
Merge pull request #9765 from brendandburns/fix-kubelet
...
Fix a bug where the network container could be torn down before other pods
2015-06-15 15:09:01 -07:00
Chao Xu
3815b4c985
remove PodContainerInfo from api/types.go
2015-06-15 15:04:37 -07:00
Tim Hockin
29d4d7a16d
Remove dead code
2015-06-15 14:40:36 -07:00
CJ Cullen
faa9313eea
Fix several potential crashes in sshtunnel open/close code.
2015-06-15 14:38:37 -07:00
Fabio Yeon
5f361c17af
Merge pull request #9759 from mikedanese/actually-fix-logging
...
Fix excessively verbose logging in master's kubelet
2015-06-15 13:35:33 -07:00
Fabio Yeon
4e6bd63256
Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
...
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Fabio Yeon
86815516ba
Merge pull request #9584 from smarterclayton/rest_client_metrics_unbounded
...
Memory leak: REST client metrics capture grows unbounded
2015-06-15 13:03:36 -07:00
Prashanth Balasubramanian
d761b1d4d7
Use runtime cache to serve container /stats requests
2015-06-15 12:39:25 -07:00
Rohit Jnagal
6849b381dc
Update cadvisor dependency.
...
Godep also decided to remove unused appengine dependency.
2015-06-15 19:11:55 +00:00
Fabio Yeon
b65c321a87
Merge pull request #9772 from feihujiang/noKindErrorMessage
...
make the kind not registered in versions error message more precise
2015-06-15 10:26:58 -07:00
Fabio Yeon
26e7d8b60c
Merge pull request #9679 from BenTheElder/export_iptables_getversion
...
Export GetIptablesVersion utility in pkg/util/iptables
2015-06-15 10:05:08 -07:00
Fabio Yeon
18a3932585
Merge pull request #9265 from mesosphere/upstream-k8sm-cm-and-km
...
Upstream Kubernetes Mesos controller manager and km binary
2015-06-15 09:28:12 -07:00
Marek Biskup
dcc4034d57
e2e test for addon update
2015-06-15 17:37:24 +02:00
jhadvig
ad36f5d2f1
Making error msg for updating resource version more clear
2015-06-15 17:05:08 +02:00
Clayton Coleman
bdbf477207
REST Client metrics capture grows unbounded
...
The URLs were unique by namespace and query parameter value, which means
an infinite number of metrics counters could be created.
2015-06-15 11:03:20 -04:00
Filip Grzadkowski
cdc5034ce4
Fix error message for missing imagePullPolicy
2015-06-15 16:02:32 +02:00
hurf
d58768b351
Shorten container ID in events
...
Log only first 12 characters of container ID in events.
2015-06-15 17:01:27 +08:00
feihujiang
ad4f22bf6a
improve kubectl error message when an object with kind not registered in versions
2015-06-15 09:18:28 +08:00
Tim St. Clair
fd7d46e9da
Don't rewrite relative URLs when proxying HTTP content.
2015-06-12 21:30:29 -07:00
Brendan Burns
aac696d44c
Fix a bug where the network container could be torn down before other pods.
...
This can break PreStop that hits localhost in the pod.
2015-06-12 21:18:40 -07:00
Quinton Hoole
85ade1db0a
Merge pull request #9592 from lavalamp/logSpam
...
Restore service latency test & fix bugs
2015-06-12 19:20:17 -07:00
Mike Danese
64482907ab
cover more codepaths that hit GetNode in standalone, as well as create better error message when we actually do hit GetNode() which is likely a programmer/config error
2015-06-12 17:45:17 -07:00
Abhi Shah
cdef8ae844
Merge pull request #9749 from dchen1107/podstatus
...
Add logging at RunInContainer for future debugging docker exec issues.
2015-06-12 17:10:12 -07:00
Abhi Shah
3e8690c28b
Merge pull request #9515 from markturansky/scrub_thread_leak
...
Fixes thread leak from discarded watch
2015-06-12 16:52:21 -07:00
Dawn Chen
c1d1a01087
Add logging at RunInContainer for future debugging docker exec issues.
2015-06-12 16:38:24 -07:00
Dawn Chen
b1bbf653ab
Merge pull request #9680 from mikedanese/fix-readiness-probe
...
Fix ReadinessProbe: seperate readiness and liveness in the code
2015-06-12 16:10:21 -07:00
Brendan Burns
c6a910c0b8
Merge pull request #9650 from hurf/podns_describe_node
...
display pod namespace while describe node
2015-06-12 15:59:46 -07:00
Abhi Shah
3ce7fe8310
Merge pull request #9722 from mikedanese/host-ip-spam
...
Fix spammy GetHostIP error log in kubelet
2015-06-12 15:26:54 -07:00
BenTheElder
c5baf1f284
Export GetIptablesVersion utility in util/iptables
...
For kube-proxy to determine whether to use pure iptables as in
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760
Related WIP PR:
https://github.com/GoogleCloudPlatform/kubernetes/pull/9210
2015-06-12 17:13:40 -04:00
Daniel Smith
9423f80d20
fix test bug & conversion bug
2015-06-12 13:55:10 -07:00
Abhi Shah
86b6150fb0
Merge pull request #9287 from brendandburns/kubectl
...
Add some XSRF protection to kubectl proxy.
2015-06-12 13:51:08 -07:00
Abhi Shah
928971cea4
Merge pull request #9710 from mesosphere/public-get-phase
...
export kubelet.GetPhase
2015-06-12 13:46:35 -07:00
Mike Danese
5896ac9e07
skip GetHostIP call on standalone mode kubelet to fix spammy log statement
2015-06-12 11:37:53 -07:00
derekwaynecarr
d40ff87bdc
Its bad to spawn a gofunc per quota with large number of quotas
2015-06-12 11:40:14 -04:00
James DeFelice
022ff5196d
fix broken file refs
2015-06-12 14:03:01 +00:00
James DeFelice
1820114a2d
Upstream controller manager and km binary
...
Closes mesosphere/kubernetes-mesos#310
Depends on GoogleCloudPlatform/kubernetes#8882
- fix https://github.com/mesosphere/kubernetes-mesos/issues/336
- Fix comment typo
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11559038
- Add warning to k8s modules to also update mesos copies
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558864
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558855
- Add comments and TODO that hypercube and controllermanager need refactoring
2015-06-12 14:03:00 +00:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
James DeFelice
3cf7739b42
export kubelet.GetPhase
2015-06-12 11:11:53 +00:00
Jerzy Szczepkowski
cd3299307d
Merge pull request #9549 from bprashanth/generate_fix
...
Avoid trying to generate the pod status of a new pod
2015-06-12 10:54:13 +02:00
Victor HU
eb473676ce
display pod namespace while describe node
2015-06-12 15:30:11 +08:00
hurf
fa0efe3927
Add label support for kubectl describe
...
Add -l option to kubectl describe command, allow it return
multiple results filtered by label selector.
2015-06-12 15:08:28 +08:00
Daniel Smith
47294dd326
Revert "Revert "Test Service creation -> endpoint generation latency""
...
This reverts commit 654857114e
.
2015-06-11 18:34:31 -07:00
Prashanth Balasubramanian
b5ed0e9b13
Dont generatePodStatus twice for new pods
2015-06-11 17:18:16 -07:00
Mike Danese
35771acdfa
seperate readiness and liveness in the code
2015-06-11 15:09:27 -07:00
markturansky
4210a5dfd8
Scrub pod closes watch channel
2015-06-11 14:25:44 -04:00
Abhi Shah
87d0208d83
Merge pull request #9504 from derekwaynecarr/describe_ns
...
Add namespace describer
2015-06-11 10:26:03 -07:00
Brendan Burns
4aeee94603
Add some XSRF protection to kubectl proxy.
2015-06-10 20:55:33 -07:00
Abhi Shah
b556285661
Merge pull request #9550 from feihujiang/validationFailure
...
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Abhi Shah
07f8d58010
Merge pull request #9500 from andronat/make_CheckErr_testable
...
Make check err testable
2015-06-10 14:42:56 -07:00
James DeFelice
7d66559725
added comments at the top of native k8s files which, if changed, might affect some of the k8sm code
2015-06-10 20:31:22 +00:00
Abhi Shah
f5b6597492
Revert "Make error msg for updating resource version more clear"
2015-06-10 12:54:52 -07:00
Abhi Shah
d477fe6b1c
Merge pull request #9569 from jhadvig/unclear_error
...
Make error msg for updating resource version more clear
2015-06-10 12:51:57 -07:00
Mike Danese
2bbb78d50a
actually return validation errors instead of just creating them
2015-06-10 12:45:10 -07:00
Brendan Burns
0cb58606b7
Kubernetes version v0.19.0-dev
2015-06-10 09:26:55 -07:00
Brendan Burns
6b0d4ffed3
Kubernetes version v0.19.0
2015-06-10 09:25:31 -07:00
Martin Nagy
ff2b5b78fa
Quote integers correctly
2015-06-10 17:50:58 +02:00
Anastasis Andronidis
62c766d58d
Add tests
2015-06-10 16:09:43 +02:00
Anastasis Andronidis
b7c485ee9a
make CheckErr testable
2015-06-10 16:09:42 +02:00
Jakub Hadvig
90dcd347ac
Make error msg for updating resource version more clear
2015-06-10 14:03:06 +02:00
Brendan Burns
99bf48dc2f
Merge pull request #9542 from brendandburns/validate
...
Change the way we test if a disk is already attached.
2015-06-09 22:00:06 -07:00
Brendan Burns
654857114e
Revert "Test Service creation -> endpoint generation latency"
2015-06-09 21:24:00 -07:00
feihujiang
5867b5ce6b
remove useless glog.Infof
2015-06-10 11:02:28 +08:00
Brendan Burns
3350eecedf
Change the way we test if a disk is already attached.
...
Validated by manual introspection on a running GCE cluster.
2015-06-09 17:50:52 -07:00
krousey
f62a2a1bb6
Merge pull request #9451 from cjcullen/mig
...
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-09 15:52:12 -07:00
krousey
1c58d2a766
Merge pull request #9354 from lavalamp/logSpam
...
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey
e36aa77018
Merge pull request #9505 from mikedanese/remove-flags
...
remove kubectl flags from usage examples that no longer exist
2015-06-09 15:15:59 -07:00
Brendan Burns
b259c873b7
Add a better message if the user doesn't specify a resource type.
2015-06-09 15:04:56 -07:00
krousey
f413f30bea
Merge pull request #9424 from mesosphere/export-generate-pod-status
...
add GetRuntime() to Kubelet for easier integration with 3rd party kubele…
2015-06-09 14:17:30 -07:00
krousey
934a5382ec
Merge pull request #9496 from caesarxuchao/event_test-v1
...
update fieldPath in event_test.go to v1
2015-06-09 13:41:36 -07:00
krousey
3e7bcd1ecc
Merge pull request #9182 from jdef/abspath_drops_config_prefix
...
ServerAPIVersions incorrectly squashes config.Prefix
2015-06-09 13:00:58 -07:00
Mike Danese
401d3c43fd
remove removed flags from usage examples
2015-06-09 12:56:58 -07:00
derekwaynecarr
5b005fa30b
Add namespace describer
2015-06-09 15:52:44 -04:00
krousey
43a423f6fc
Merge pull request #9440 from brendandburns/ssh
...
Add an initial test for SSH.
2015-06-09 12:08:26 -07:00
krousey
dd1f4f392f
Merge pull request #9425 from mesosphere/update-testify-dep
...
Update github.com/stretchr/testify rev to 7e4a149
2015-06-09 11:59:00 -07:00
krousey
687e866d80
Merge pull request #9418 from mikedanese/kubectl-version-err
...
kubectl should error if versionless yaml is passed to resource builder
2015-06-09 11:55:48 -07:00
krousey
3d803ab7b2
Merge pull request #9410 from cjcullen/ratelimit
...
Add a RateLimiter for the gce altTokenSource.
2015-06-09 11:11:48 -07:00
krousey
044d4868ca
Merge pull request #9408 from bcbroussard/v1api
...
Update web ui to v1 api
2015-06-09 11:00:06 -07:00
krousey
0487c65fab
Merge pull request #9389 from nikhiljindal/swaggerDup
...
Adding subresource to swagger route docs
2015-06-09 10:51:38 -07:00
Chao Xu
030099a5bd
update fieldPath in event_test.go to v1
2015-06-09 10:45:55 -07:00
krousey
9740105a99
Merge pull request #8837 from mbforbes/rollingTest
...
E2E test node upgrade (to same version)
2015-06-09 10:42:17 -07:00
krousey
fa94d88599
Merge pull request #9370 from justinsb/fix_9318
...
Actually pass down ServiceNodePortRange so it is used
2015-06-09 10:39:45 -07:00
James DeFelice
b5583db1d2
add UnversionedPath() to fix ServerAPIVersions()
2015-06-09 17:30:48 +00:00
nikhiljindal
784e408ab4
Adding subresource to swagger route docs
2015-06-09 10:20:45 -07:00
krousey
d7f7d84a5e
Merge pull request #9387 from jsdir/9340-signature
...
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
krousey
ff474e5d7e
Merge pull request #9376 from feihujiang/createValidateCrash
...
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 09:59:42 -07:00
James DeFelice
257bc9b1a3
add GetRuntime() to simplify integration with 3rd party kubelet extensions like kubernetes-mesos
2015-06-09 13:27:34 +00:00
Brendan Burns
b68ddbaf75
Don't pretty-print by default. Saves an allocation (or more) and a copy.
2015-06-08 21:31:58 -07:00
Brendan Burns
2240486110
Add an initial test for SSH.
2015-06-08 20:53:05 -07:00
feihujiang
37abe11f8a
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 10:38:43 +08:00
CJ Cullen
2d85e4a094
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
...
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).
Include internalIP in gce NodeAddresses.
2015-06-08 16:58:00 -07:00
krousey
afb9a7e362
Merge pull request #9373 from justinsb/aws_lb_cleanup
...
Make deletion of an AWS load balancer clean
2015-06-08 16:49:21 -07:00
Daniel Smith
aa9bdcbc4a
add missing endpoints field label conversion function
2015-06-08 16:23:21 -07:00
krousey
ab4c725975
Merge pull request #9328 from liggitt/token_controller_process_new
...
Generate tokens for service accounts with no secrets
2015-06-08 15:15:44 -07:00
Jason Sommer
aa892b7143
Replace meta with new
2015-06-08 17:06:56 -05:00
Justin Santa Barbara
6f3879e3bb
Actually pass down ServiceNodePortRange so it is used
...
Also fix default range to match what we've documented (off-by-one)
Fix #9318
2015-06-08 18:03:42 -04:00
krousey
5aa0219ada
Merge pull request #9292 from cjcullen/test_pull_8946
...
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Brendan Burns
4546cbbb56
Revert "Cut release 0.18.2 with the fix for Docker + memory limits"
2015-06-08 13:49:48 -07:00
Brendan Burns
cfcc6553a5
Merge pull request #9426 from brendandburns/release-0.18
...
Cut release 0.18.2 with the fix for Docker + memory limits
2015-06-08 13:40:07 -07:00
Brendan Burns
56134d57e4
Kubernetes version v0.18.2-dev
2015-06-08 13:08:53 -07:00
Brendan Burns
1f12b89387
Kubernetes version v0.18.2
2015-06-08 13:08:10 -07:00
Dawn Chen
a90d47da60
Passing memory swap limit -1 by default. Docker remote API never check if memory
...
swap is enabled by kernel or not, instead by default to set the limit to
memory * 2, and return API error 500 if swap is not enabled.
(cherry picked from commit f714020a7a
)
2015-06-08 13:06:32 -07:00
Tomás Senart
2a3ffe4038
kubelet: Use assert.EqualValues instead of assert.Equal
...
The last update to github.com/stretchr/testify makes `assert.Equal`
consider the type of its arguments. This commit makes this test pass
again by only testing for value equality using `assert.EqualValues`.
2015-06-08 22:01:48 +02:00
Mike Danese
627b2f9a24
kubectl should use UnstructuredJSONScheme to decode version and kind, as it throws errors if either are missing]
2015-06-08 11:51:37 -07:00
krousey
8ce921ed33
Merge pull request #9357 from mikedanese/kubectl-kind-err
...
improve kubectl error message when an object with no kind is passed to the resource builder
2015-06-08 11:34:43 -07:00
CJ Cullen
be0d24824d
Add a RateLimiter for the gce altTokenSource.
2015-06-08 11:16:52 -07:00
BC Broussard
4efa564c7b
Update web ui to v1 api
2015-06-08 10:49:29 -07:00
krousey
66d2e1cb92
Merge pull request #9358 from dchen1107/podstatus
...
Passing memory swap limit -1 by default. Docker remote API never chec…
2015-06-08 10:19:28 -07:00
krousey
49a6b629f8
Merge pull request #9171 from jdef/parse_prefix_from_server
...
parse apiserver prefix from client config host spec
2015-06-08 10:17:41 -07:00
krousey
a7edbedcb9
Merge pull request #9262 from bprashanth/minion_proxy
...
Apiserver can proxy to nodes
2015-06-08 10:17:06 -07:00
Anastasis Andronidis
bf87f0ec68
Print multiple validation errors
2015-06-08 14:06:20 +02:00
Jason Sommer
d59a8ff7f8
Improve signature consistency for ValidateObjectMetaUpdate
...
Fixes #9340
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Justin Santa Barbara
c2caa3f1da
AWS: Fix cleanup of security group
...
The most reliable way seems to be to deauthorize the LB security group from
other groups, then delete the LB itself, then repeatedly retry to delete the LB
security group.
We can't delete the LB security group until the LB is actually completely
deleted, but the LB is hidden from the API during deletion. So our only real
option is to retry deletion of the LB security group until the expected error
goes away when the LB is fully deleted.
2015-06-06 23:20:34 -04:00
Mike Danese
7b7d8ccb77
print various errors which is useful when ContinueOnError is set on the Resource struct
2015-06-06 15:47:01 -07:00
Justin Santa Barbara
1700259508
AWS: Ignore the UserId when determining whether we can skip revoking a security group
...
Otherwise we weren't correctly de-authorizing the AWS LB SG from the Node SG
2015-06-06 12:37:01 -04:00
Justin Santa Barbara
8fafefd728
Fix doc for edge-case return from removeSecurityGroupIngress
2015-06-06 12:25:50 -04:00
Justin Santa Barbara
e32c66c6f4
Fix typo: Ingess -> Ingress
2015-06-06 12:22:50 -04:00
Jordan Liggitt
1a3d093d99
Generate tokens for new service accounts without checking secret store
2015-06-06 00:05:36 -04:00
Dawn Chen
f714020a7a
Passing memory swap limit -1 by default. Docker remote API never check if memory
...
swap is enabled by kernel or not, instead by default to set the limit to
memory * 2, and return API error 500 if swap is not enabled.
2015-06-05 18:12:05 -07:00
CJ Cullen
9ab329827a
Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist).
2015-06-05 15:24:17 -07:00
Quinton Hoole
6ff203e9da
Merge pull request #9280 from caesarxuchao/make-v1-preferred
...
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Mike Danese
c9bd90a5df
Merge pull request #9032 from andronat/fix_7843
...
Decrease columns and refactor get pods layout
2015-06-05 15:06:53 -07:00
CJ Cullen
04cd9b3c75
Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
...
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
Quinton Hoole
1d50e97305
Merge pull request #9333 from krousey/v1_docs
...
Updating docs/ to v1
2015-06-05 14:58:28 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387
Fix transport creation logic.
...
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns
7ea533d871
Add the SSHTunnel transport to the kubelet client.
2015-06-05 14:55:15 -07:00
CJ Cullen
de9a5f43bc
Specify sshUser, sshKeyfile in kube-apiserver manifest.
...
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
Brendan Burns
5115fd5703
Add key generation.
2015-06-05 14:55:15 -07:00
Brendan Burns
30a89968a4
Initial proxy tunnelling.
2015-06-05 14:54:20 -07:00
Brendan Burns
631cf34d40
Add tunnelling to the proxy API handler.
2015-06-05 14:54:20 -07:00
Kris Rousey
6e83eb2636
Updating docs/ to v1
2015-06-05 14:09:49 -07:00
Prashanth Balasubramanian
50eb9ad598
Use https only for the kubelet port
2015-06-05 14:06:38 -07:00
Chao Xu
e6ffa5bf67
make the meaning of a test in get_test.go clearer
2015-06-05 13:59:30 -07:00
Anastasis Andronidis
68d9313d69
Refactor get pods layout
2015-06-05 22:28:17 +02:00
Justin Santa Barbara
48e8a8b0ec
AWS: Set up security groups, to mirror GCE firewalling
...
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara
33a3d884f2
AWS: Filter by Cluster tag, rationalize EC2 abstraction
...
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.
Also, rationalize all the DescribeX calls:
* They all take a request object (so that we can pass filters)
* They do paging if that is required (and return the underlying resources)
* They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Prashanth Balasubramanian
99f8ddf304
Enable profiling endpoints for kubelet
2015-06-05 12:50:57 -07:00
Prashanth Balasubramanian
b678e2ff9e
Nodes returns transport and scheme in spite of port requirements
2015-06-05 12:50:57 -07:00
Quinton Hoole
2c54be808e
Merge pull request #9302 from brendandburns/fix
...
Add messages to indicate that opening an external firewall may be necessary.
2015-06-05 12:37:19 -07:00
Quinton Hoole
f048d0dff7
Merge pull request #9105 from anguslees/openstack-provider
...
Openstack LB improvements
2015-06-05 12:06:12 -07:00
Quinton Hoole
a715fdef95
Merge pull request #9291 from dchen1107/podstatus
...
Filtered out unfriendly error from docker when registry is not reachable.
2015-06-05 12:01:51 -07:00
Quinton Hoole
bc59e69ff0
Merge pull request #9159 from csrwng/remove_cors_headers
...
Remove CORS headers from pod proxy responses
2015-06-05 11:40:09 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Dawn Chen
636b40ffa1
Filtered out unfriendly error from docker when registry is not reachable(code: 502, 503, 504)
2015-06-05 11:29:35 -07:00
Quinton Hoole
988a413acf
Merge pull request #9058 from deads2k/serialize-with-auth
...
serialize dockercfg with matching auth field
2015-06-05 11:26:14 -07:00
Quinton Hoole
8f55d9e619
Merge pull request #9317 from nikhiljindal/podnodeName
...
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
Quinton Hoole
b40ecc4fbc
Merge pull request #9282 from markturansky/pv_index_fix
...
Add available volumes to binder index when not present
2015-06-05 11:06:48 -07:00
deads2k
ac2c43fc87
serialize dockercfg with matching auth field
2015-06-05 11:14:10 -04:00
nikhiljindal
7cc50448e3
Updating StatusDetails.ID to Name in internal API
2015-06-05 07:17:02 -07:00
Angus Lees
75f49b331a
Ignore "unspecified" externalIP during LB create
...
Previously we always passed `Address: externalIP.String()` while
creating a loadbalancer VIP. This passed "0.0.0.0" when externalIP was
unspecified, effectively making it mandatory to specify an externalIP.
This change correctly leaves `Address` unspecified when externalIP is
unspecified (has a zero value).
(Thanks to @justinsb for the report)
2015-06-05 16:27:45 +10:00
Brendan Burns
380790a8e2
Add messages to indicate that opening an external firewall may be necessary.
2015-06-04 22:31:52 -07:00
Quinton Hoole
d6004a1ced
Merge pull request #9279 from yifan-gu/refactor
...
kubelet: Minor refactors.
2015-06-04 21:47:04 -07:00
Quinton Hoole
502a8d75cc
Merge pull request #9000 from jackgr/ui_build_js
...
Javascript only UI build cleanup
2015-06-04 21:40:03 -07:00
Chao Xu
8a4dffdcee
fix
2015-06-04 17:19:41 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00
Quinton Hoole
fc80fd6860
Merge pull request #9233 from lavalamp/no-ro-nonbreaking
...
Allow kubectl proxy to proxy everything
2015-06-04 16:22:07 -07:00
Yifan Gu
f197a9db4e
kubelet: Minor refactors.
...
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
markturansky
627dd86b95
Added available volumes to volumeIndex in binder when not present
2015-06-04 18:29:14 -04:00
Chao Xu
1605fc7347
fix unit tests
2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883
make v1 the preferred api version
2015-06-04 15:08:56 -07:00
jackgr
cff5bed70d
Clean up ui build and generated files.
2015-06-04 14:54:15 -07:00
Cesar Wong
e8af67c180
Remove CORS headers from pod proxy responses
...
The API server sends its own CORS headers in its response, and if the
proxied pod response also includes its own headers, it confuses clients.
2015-06-04 16:49:04 -04:00
Quinton Hoole
521446503a
Merge pull request #9269 from caesarxuchao/make-v1-enabled-by-default
...
Make v1 enabled by default
2015-06-04 13:29:48 -07:00
James DeFelice
4b8995f009
parse apiserver prefix from client config host spec, with unit test
2015-06-04 20:20:19 +00:00
Quinton Hoole
44f2c8f003
Merge pull request #9263 from caesarxuchao/add-v1-tests-fix
...
Fix some v1 tests issues
2015-06-04 13:15:43 -07:00
Quinton Hoole
b5251de193
Merge pull request #9261 from justinsb/aws_d2_instance_types
...
AWS: Add d2 instance types
2015-06-04 13:11:43 -07:00
markturansky
deec5f26cd
Recycler controller
2015-06-04 15:47:36 -04:00
markturansky
986cbb56d4
Recycling HostPath and NFS impls
2015-06-04 15:46:03 -04:00
markturansky
cb547f4b5c
RecyclableVolumePlugin interfaces
2015-06-04 15:40:52 -04:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Quinton Hoole
70f78aa5bf
Merge pull request #9266 from yujuhong/err_msg
...
Kubelet: fix the warning message
2015-06-04 11:55:46 -07:00
Quinton Hoole
ce2b46d0ae
Merge pull request #9240 from tpounds/update-aws-sdk-go
...
Update AWS Go SDK (v0.6.0)
2015-06-04 11:54:42 -07:00
Chao Xu
ef61b031f5
make v1 enabled by default
2015-06-04 11:37:44 -07:00
Yu-Ju Hong
46e29cfb70
Kubelet: fix the warning message
2015-06-04 11:07:08 -07:00
Brendan Burns
02f3142f41
Merge pull request #9196 from brendandburns/merge-release-0.18-to-master
...
Merge release 0.18 to master
2015-06-04 10:50:26 -07:00
Chao Xu
080da97e1c
fix a comment
2015-06-04 10:35:10 -07:00
Trevor Pounds
6eea271656
Guard against non AWS errors.
2015-06-04 10:33:36 -07:00
Chao Xu
854b8034ab
use testapi.Codec() in etcd_test.go
2015-06-04 10:23:15 -07:00
Chao Xu
0a7dc87b05
address nikhiljindal's comments in #9225
2015-06-04 10:20:29 -07:00
Justin Santa Barbara
41f52546bc
AWS: Add d2 instance types
...
Another family of instance types, I think the next-gen of hs1
2015-06-04 12:57:33 -04:00
Chao Xu
c2e21fe5d7
use c.EtcdHelper in master.go
2015-06-04 09:39:05 -07:00
Chao Xu
c1ba3f21d5
remove outdated test from latest_test.go
2015-06-04 09:39:05 -07:00
Quinton Hoole
64d361fb74
Merge pull request #9249 from bcbroussard/remove-v1beta2
...
Remove deprecated v1beta2 api from the web ui
2015-06-04 09:36:44 -07:00
Quinton Hoole
d97199c091
Merge pull request #9245 from bcbroussard/cadvisor-update
...
cAdvisor updates for v1beta3
2015-06-04 08:25:50 -07:00
Quinton Hoole
da2267914a
Merge pull request #9200 from rhcarvalho/patch-2
...
Fix typo
2015-06-04 08:21:41 -07:00
Rodolfo Carvalho
b216d09a8d
Fix typo
2015-06-04 11:44:10 +02:00
BC Broussard
0ec8b9b665
Remove unused v1beta2 references from web ui
2015-06-04 00:19:06 -07:00
BC Broussard
1590403949
cAdvisor updates for v1beta3
2015-06-03 23:31:15 -07:00
Trevor Pounds
7cdf573015
Update aws-sdk-go dependency from awslabs to aws.
2015-06-03 23:07:42 -07:00
Brian Grant
a161edb396
Merge pull request #9235 from derekwaynecarr/fix_namespace_delete_race
...
Fix namespace controller on delete to not care if item not found
2015-06-03 22:18:34 -07:00
Brian Grant
656fa7bea1
Merge pull request #9225 from caesarxuchao/add-v1-tests-general
...
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
c92b4255b3
Merge pull request #9217 from caesarxuchao/add-v1-tests-to-pkg/kubectl/cmd
...
add v1 tests to kubectl/cmd/*
2015-06-03 22:16:44 -07:00
Brian Grant
ab1e3cc789
Merge pull request #9215 from RichieEscarez/8977_restartpolicy
...
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" …
2015-06-03 22:16:11 -07:00
Brian Grant
d3aed0cd18
Merge pull request #9195 from caesarxuchao/serialization_test
...
add v1 to serialization_test.go
2015-06-03 22:15:23 -07:00
Brian Grant
a5959d7b6f
Merge pull request #8155 from lavalamp/no-ro
...
Remove ro service
2015-06-03 21:15:28 -07:00
Brian Grant
e7788771d6
Merge pull request #9030 from brendandburns/kubectl
...
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Chao Xu
ca72165b20
remove most references to api.PreV1Beta3
2015-06-03 20:09:03 -07:00
derekwaynecarr
14d2128238
Fix namespace controller on delete to not care if item not found
2015-06-03 22:59:07 -04:00
Daniel Smith
1bab36f772
Fix 'kubectl proxy' to allow the /metrics page to be proxied, without breaking the previous proxy behavior
2015-06-03 18:31:45 -07:00
Brian Grant
f72fa67924
Revert "Use Node IP Address instead of Node.Name in minion.ResourceLocation."
2015-06-03 18:19:22 -07:00
Chao Xu
6b81c064ed
change v1beta3 to v1 in test cases
2015-06-03 17:50:22 -07:00
Max Forbes
a6c47a07de
E2E test node upgrade (to same version)
2015-06-03 17:05:45 -07:00
Chao Xu
2ee8eb67a9
remove import of v1beta3 package in api/conversion_test.go
2015-06-03 16:50:40 -07:00
Chao Xu
cb123dc957
in api/testapi/testapt_test.go, remove tests for v1beta1, add tests for v1
2015-06-03 16:48:05 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Chao Xu
97b29c7fe6
in pkg/kubelet/config/commont_test.go, remove check for v1beta1, add test cases for all registered version
2015-06-03 16:07:00 -07:00
Chao Xu
b61658d064
add v1 item in pkg/runtime/helper_test.go
2015-06-03 16:05:40 -07:00
Daniel Smith
3f454b7599
remove ro refs from more places
2015-06-03 15:41:09 -07:00
Chao Xu
0d81f5901b
add v1 items to runtime/unstructured_test.go
2015-06-03 15:09:49 -07:00
Chao Xu
8885025d25
add v1 tests to tests in kubectl/cmd/*
2015-06-03 13:57:54 -07:00
RichieEscarez
91907f66a7
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never"
2015-06-03 13:35:35 -07:00
Chao Xu
115823ff1b
add v1 to serialization_test.go
2015-06-03 13:22:01 -07:00
Brian Grant
be4a501e25
Merge pull request #9099 from derekwaynecarr/improve_quota_describe_output
...
Fix bug in quota describe output
2015-06-03 13:14:30 -07:00
Daniel Smith
67f53d2eff
Make kubectl work inside a container in k8s
2015-06-03 12:48:07 -07:00
Brian Grant
d6d52b41c6
Merge pull request #9189 from justinsb/fix_9123
...
Avoid nil-pointer dereference panics in AWS
2015-06-03 12:34:34 -07:00
derekwaynecarr
6968a4e0df
Improve quota describe output
2015-06-03 15:16:24 -04:00
Tim Hockin
1aa9b0b86a
Don't allow link-local Endpoints
2015-06-03 11:40:04 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Brian Grant
895ad68422
Merge pull request #9145 from caesarxuchao/hack/test-integration
...
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Brendan Burns
75fe41b622
Manually fix up 0.18.1 (not sure what went wrong)
2015-06-03 10:46:08 -07:00
Chao Xu
d52cef11a4
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-03 09:50:41 -07:00
Brian Grant
9740c7c3ad
Merge pull request #9163 from mikedanese/ui-path
...
redirect /ui to the ui dashboard
2015-06-03 09:49:41 -07:00
Brian Grant
3d4d38d378
Merge pull request #9177 from feihujiang/eventToLog
...
get Events to be logged
2015-06-03 09:32:42 -07:00
Brian Grant
2742469874
Merge pull request #9104 from liggitt/token_cleanup
...
Clean up token on service account update failure
2015-06-03 09:32:07 -07:00
Brian Grant
4e2d295046
Merge pull request #8964 from bprashanth/apiserver_cmd
...
Extend read/write connection timeout of apiserver
2015-06-03 09:31:37 -07:00
Eric Tune
6e3ff01fa7
Merge pull request #9092 from lavalamp/no-ro-nonbreaking
...
Nonbreaking changes working towards removing the RO port
2015-06-03 09:25:46 -07:00
Justin Santa Barbara
e3eb23f464
Avoid nil-pointer dereference panics in AWS
...
These were introduced because the new official AWS SDK uses *string
where the old library used strings. We now use the helpers much
more (orEmpty and isNilOrEmpty).
Fixes #9123
2015-06-03 12:24:23 -04:00
Prashanth Balasubramanian
0162529ea5
Default minRequestTimeout to 1800s
2015-06-03 08:47:45 -07:00
Prashanth Balasubramanian
448867073d
Pipe minRequestTimeout as an arg to the apiserver
2015-06-03 08:44:14 -07:00
Angus Lees
9394635cc0
Make EnsureTCPLoadBalancerDeleted idempotent
...
This change allows EnsureTCPLoadBalancerDeleted to be called repeatedly
to reattempt deleting objects that may have failed on a previous run.
Specifically, if the VIP is already deleted, then an attempt is made to
lookup the pool by name. Returns success when both the VIP and pool are
not found.
Fixes #8352
2015-06-03 17:21:31 +10:00
feihujiang
ebc8eab590
get Events to be logged
2015-06-03 15:05:07 +08: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
e9ccec4c35
Merge pull request #8915 from fgrzadkowski/fix_reflector
...
Reduce number of list requests in watch-based cache
2015-06-02 22:52:54 -07:00
Brian Grant
d4acb1d676
Merge pull request #9155 from cjcullen/mig
...
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-02 22:51:20 -07:00