Max Forbes
2803fbe343
Node upgrade tests.
2015-06-18 15:59:51 -07:00
CJ Cullen
15596ede41
Make AddSSHKeys a controller loop. Make sure master's always initializes m.tunnels.
2015-06-17 17:46:27 -07:00
Saad Ali
f8e58f7efe
Merge pull request #9827 from timstclair/html-rewrite
...
Html rewrite
2015-06-17 11:35:30 -07:00
Tim St. Clair
49b8c975d8
Update the URL-rewriting logic to make minimal modifications.
...
The new approach avoids building a complete parse tree, instead using the lower level token stream. Doing so removes the need for creating "missing" HTML elements, reducing the collateral changes to the rewritten HTML.
Resolves : #9766
2015-06-16 14:15:11 -07:00
Brendan Burns
96c244eacf
Merge pull request #9848 from cjcullen/fwfix
...
Fix mislooping in ssh.go. Add retries to AddSSHKeys.
2015-06-16 11:10:30 -07:00
Saad Ali
5596e6f789
Merge pull request #9493 from marekbiskup/testAddonUpdate
...
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
CJ Cullen
48f672af92
Change SSHTunnelList to struct to make Open() semantics better.
2015-06-16 10:36:38 -07:00
CJ Cullen
4d5d0457ef
Fix mislooping in ssh.go. Add retries to AddSSHKeys.
2015-06-16 00:08:37 -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
CJ Cullen
66fb8ccb02
Add ssh tunnel-open metrics
2015-06-15 17:28:54 -07:00
CJ Cullen
faa9313eea
Fix several potential crashes in sshtunnel open/close code.
2015-06-15 14:38:37 -07:00
Marek Biskup
dcc4034d57
e2e test for addon update
2015-06-15 17:37:24 +02:00
Tim St. Clair
fd7d46e9da
Don't rewrite relative URLs when proxying HTTP content.
2015-06-12 21:30:29 -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
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
43a423f6fc
Merge pull request #9440 from brendandburns/ssh
...
Add an initial test for SSH.
2015-06-09 12:08:26 -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
Brendan Burns
2240486110
Add an initial test for SSH.
2015-06-08 20:53:05 -07: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
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
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
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
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
markturansky
986cbb56d4
Recycling HostPath and NFS impls
2015-06-04 15:46:03 -04:00
Brian Grant
f72fa67924
Revert "Use Node IP Address instead of Node.Name in minion.ResourceLocation."
2015-06-03 18:19:22 -07:00
Max Forbes
a6c47a07de
E2E test node upgrade (to same version)
2015-06-03 17:05:45 -07:00
CJ Cullen
4e5d0da839
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. Remove NodeLegacyHostIP
2015-06-02 20:01:49 -07:00
Eric Tune
c1d0a48075
Merge pull request #8912 from justinsb/volumes_kubelet_root_not_symlink
...
Ensure kubelet root is not a symlink
2015-06-01 09:24:32 -07:00
Justin Santa Barbara
c4a2631593
Mount logic breaks if /var/lib/kubelet is a symlink
...
Pass the correct kubelet root-dir on AWS
2015-05-29 20:13:09 -04:00
Justin Santa Barbara
9839253233
Add logging to volume tear-down to help understand mount behaviour
2015-05-29 20:11:13 -04:00
Rohit Jnagal
0cbd4beb63
Merge pull request #8886 from csrwng/fix_proxy_url_slash
...
Fix proxying of URLs that end in "/" in the pod proxy subresource
2015-05-29 16:28:41 -07:00
Rohit Jnagal
d34d00c288
Merge pull request #8898 from brendandburns/tunnel
...
Move SSH code into a common util package. Add support for SSH tunnels.
2015-05-29 14:48:37 -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
Cesar Wong
684dcd4307
Fix proxying of URLs that end in "/" in the pod proxy subresource
...
Also handles proxying of URLs that have an empty path and don't end in a slash "/" by redirecting to the same location with a slash appended.
2015-05-27 22:12:55 -04:00
Brendan Burns
a51747f941
Move SSH code into a common util package. Add support for SSH tunnels.
2015-05-27 16:58:52 -07:00
Anastasis Andronidis
5eae2378d6
Warn for every _ flag user or cmd defined
...
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Saad Ali
7493ed0fca
Merge pull request #8786 from pmorie/secret-tests
...
Add tests for secret volume plugin reboot/idempotency
2015-05-26 09:57:31 -07:00
Filip Grzadkowski
967b1b95ba
Add very simple tracing mechanism for easier debugging of slow requests.
2015-05-26 16:17:18 +02:00
Paul Morie
feb0880b1e
Add tests for secret volume plugin reboot/idempotency
2015-05-25 13:34:07 -04:00
Justin Santa Barbara
1ad4549f5f
Proxy infrastructure for NodePorts
...
A service with a NodePort set will listen on that port, on every node.
This is both handy for some load balancers (AWS ELB) and for people
that want to expose a service without using a load balancer.
2015-05-22 17:21:49 -04:00
Victor Marmol
0e804b03a4
Merge pull request #8220 from thockin/label-validation
...
Add test case for qname validation, fix impl
2015-05-18 08:40:56 -07:00
Justin Santa Barbara
2457c284ed
Add util.PortRange, so that a port range can be a flag. Format: lo-hi
2015-05-16 15:52:57 -04:00
Tim Hockin
71d375e22f
Add test case for qname validation, fix impl
2015-05-15 14:45:36 -07:00
Dawn Chen
ebbb130af8
OOM protected docker processes (-900)
2015-05-14 15:49:12 -07:00
Tim Hockin
b429e89251
Spec qualified names (label keys) more tightly
...
It can be a (DNS_SUBDOMAIN/)?label, but we were validating it
incorrectly before.
2015-05-13 13:59:16 -07:00
Robert Bailey
c47b9178b4
Replace the auth config file with a kubeconfig file when
...
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Jordan Liggitt
6e570732f5
ServiceAccounts controller
2015-05-11 17:18:05 -04:00