Commit Graph

16076 Commits

Author SHA1 Message Date
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
BenTheElder
6bbf2aaab7 Refactor pkg/proxy/config's ServiceConfigHandler and EndpointsConfigHandler to have different update methods.
Refactor `pkg/proxy/config`’s ServiceConfigHandler.OnUpdate and
EndpointsConfigHandler.OnUpdate to different method names as they have
different signatures.

This will let the new proxy
(https://github.com/GoogleCloudPlatform/kubernetes/issues/3760)
implement both interfaces.

Since we won’t need a separate loadbalancer structure (load balancing
is handled in the proxy rules), we will simply handle both event types
from the same object.
2015-08-08 15:16:55 -04:00
jeanepaul
eaacc1e5c1 refactor coding style 2015-08-09 01:07:12 +09:00
Derek Parker
48fadc1570 Handle full hostname when computing host tag on GCE
The current code assumes the full domain name will not be included,
which is not always the case. This patch adds support for computing the
host tag from a fully qualified domain name.
2015-08-08 10:20:29 -05:00
Jonathan Wills
f456e58355 Install rkt to a directory that doesn't require environment variables to find.
Systemd doesn't do variable substitution on the name of the command to run, so we have to install
rkt to a directory with an absolute literal path that we can reference with environment variables.
2015-08-08 11:16:59 -04:00
He Simei
be26f1c5ab fix unsupported param of containerized kubelet 2015-08-08 20:22:02 +08:00
Satnam Singh
2bfa9a1f98 Merge pull request #12425 from BenTheElder/proxy_userspace_package
Move userspace code to sub-package in proxy.
2015-08-07 23:00:59 -07:00
Satnam Singh
ff039c3e0a Merge pull request #12431 from GoogleCloudPlatform/revert-11374-cadvisor
Revert "Add e2e test monitoring current container resource usage"
2015-08-07 22:40:32 -07:00
Satnam Singh
1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
BenTheElder
f6d257c0f3 fix missing import in roundrobin_test.go 2015-08-08 00:02:35 -04:00
BenTheElder
962a7b492b in pkg/proxy, merge proxy_provider.go and service_port_name.go to types.go 2015-08-07 21:10:34 -04:00
BenTheElder
1f6baa6549 Move userspace code to sub-package in proxy.
Moves the userspace code in proxy to a sub-package and adds the
ProxyProvider interface.

This is in preparation for landing an implementation of
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760, which
will mostly be in another sub package for iptables.
2015-08-07 20:07:15 -04:00
Satnam Singh
991775e77b Merge pull request #10724 from eparis/convert-underscore-to-dash
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Satnam Singh
c3b72dd0e0 Merge pull request #12416 from BenTheElder/iptables_save_restore
Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
2015-08-07 16:37:20 -07:00
BenTheElder
5867fca8bf Fix iptables Interface mocking, move Restore/RestoreAll to shared impl
also put TODO for unit tests, move defer file deletion until after file
creation error is checked.
2015-08-07 19:08:21 -04:00
Satnam Singh
57ed6b4a45 Merge pull request #12415 from nikhiljindal/revertSwaggerUi
Reverting "Updating swagger-ui to the latest version #10902"
2015-08-07 15:39:52 -07:00
Satnam Singh
8c4d2737f2 Merge pull request #11374 from gmarek/cadvisor
Add e2e test monitoring current container resource usage
2015-08-07 15:24:54 -07:00
Satnam Singh
b071857c0f Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam
Kubectl describe command accepts a filename param
2015-08-07 15:23:57 -07:00
Satnam Singh
4ece39ac20 Merge pull request #9452 from yifan-gu/img_pulling
kubelet: Add 'image pulling' event. Refactor dockerManager.createPodInfraContainer()
2015-08-07 15:23:24 -07:00
Brendan Burns
2986c2fd59 Merge pull request #12385 from benmccann/architecture-diagram-fix
Improve architecture diagram readability
2015-08-07 14:58:47 -07:00
CJ Cullen
5882c35e45 Use full URLs for GCE networks 2015-08-07 14:58:28 -07:00
Satnam Singh
bee48f4ce5 Merge pull request #12035 from AnanyaKumar/requests
Add support for request
2015-08-07 14:27:34 -07:00
Satnam Singh
950ec96db0 Merge pull request #12182 from AnanyaKumar/qos-node
Add QoS support on node
2015-08-07 14:27:02 -07:00
Satnam Singh
be5e224a0f Merge pull request #11713 from AnanyaKumar/qos-proposal
QoS proposal
2015-08-07 14:25:58 -07:00
Kris Rousey
6e64a63a84 Adding a way to decode to a specified version.
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
BenTheElder
6b3906b07e Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
Adds utility wrappers for `iptables-save` and `iptables-restore` to the
iptables Interface in pkg/util/iptables. Also const’s command strings.
2015-08-07 16:55:14 -04:00
Brendan Burns
e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
nikhiljindal
e1d904ea47 Revert "Merge pull request #10902 from nikhiljindal/gh-pages"
This reverts commit 3020fe8ebfbb9ee0a1f76fd9afb09b8d577e420e, reversing
changes made to de15703af096cad38d40361d696e236d197895cf.
2015-08-07 13:10:21 -07:00
Dr. Stefan Schimanski
4786705f8e Move TODO from source into an github issue 2015-08-07 22:08:50 +02:00
Yifan Gu
053db8dba7 kubelet/dockertools: Refactor image pulling for pod infra container.
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07:00
Ananya Kumar
6ef3de1d5f Add QoS support on node 2015-08-07 11:18:16 -07:00
Dr. Stefan Schimanski
f04f31f799 Use endpoint annotation to recover container ports in e2e tests on Mesos 2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski
c55e7bf731 Annotate endpoints in mesos endpoint controller with container ports
The EndpointPort struct only stores one port: the port which is used
to connect to the container from outside. In the case of the Mesos
endpoint controller this is the host port. The container port is not part
of the endpoint structure at all.

A number of e2e tests need the container port information to validate correct
endpoint creation. Therefore this patch annotates the Endpoint struct with a
number of annotations mapping "<HostIP>:<HostPort>" to "<ContainerPort>". In a
follow-up commit these annotations are used to validate endpoints in a Mesos
setup.
2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski
8848e26154 Validate endpoints in e2e tests by pod UID and port
Before this patch endpoints were validated by container IP and port.
Depending on the endpoint controller logic neither of the two must match for a
valid endpoint (e.g. in a Mesos setup).

This patch checks that the endpoint targetRef points to the right pod by UID,
instead of comparing IPs.

A later patch will make sure the
compared port is the actual container port, not the host port.

/xref mesosphere/kubernetes-mesos#365
2015-08-07 20:13:18 +02:00
Satnam Singh
fbb5ce6636 Merge pull request #10390 from mesosphere/non-unique-endpoint-ip
Don't wrongly identify endpoint addresses only due to equal IP
2015-08-07 11:08:29 -07:00
Satnam Singh
18dc230418 Merge pull request #10008 from hurf/age_all
Add age column for all resources when using 'kubect get'
2015-08-07 11:07:59 -07:00
Satnam Singh
9f9657d74e Merge pull request #9646 from rajatchopra/status_hook
status hook for the container network
2015-08-07 11:07:19 -07:00
Yifan Gu
eb0fb43453 kubelet: Add image pulling event.
Since it takes a while (1-2mins) for kubelet to pulling a big image
(>500MB). Just showing "Pending" for pod status is not very helpful.

This commit introduces a "pulling" event, and inserts it before the
kubelet starts to pull an image.
2015-08-07 10:50:39 -07:00
Eric Wright
60a06304ad typo where echanisms should be mechanisms 2015-08-07 13:29:34 -04:00
Clayton Coleman
61c7beb51f Add an Enqueue method to framework.Controller
Allows clients to requeue delta events in the event they
need to delay processing.
2015-08-07 13:21:49 -04:00
Satnam Singh
213e7a8ab6 Merge pull request #12372 from a-robinson/ifup
Replace usage of ifup and ifdown in the reboot test with ifconfig
2015-08-07 10:14:11 -07:00
Satnam Singh
32c23a8b63 Merge pull request #12166 from derekwaynecarr/upgrade_go_docker_client
Bump fsouza/go-dockerclient godep
2015-08-07 10:13:05 -07:00
Ananya Kumar
03490af6a4 Add qos proposal 2015-08-07 10:07:20 -07:00
Jian Huang
5606fd5099 Modify the salt master's log config file name
In the salt master's config folder, the file name "log-level-debug.d" change to "log-level-debug.conf" as it's a configure file.
2015-08-08 00:34:29 +08:00
Eric Paris
20e8c25343 Converts examples/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Eric Paris
e4d0389b4a Converts docs/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Eric Paris
7715290bbd Convert hack/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Eric Paris
86ca88be61 convert cluster/ from --flag_name= --flag-name= 2015-08-07 11:00:13 -04:00
Eric Paris
cfc9312b7f Convert pkg/ and cmd/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Eric Paris
f9d4a0a34d Convert contrib/ from --flag_name= to --flag-name=
All binaries in kubenretes show `-` for help and seem to expect `-`. Although
`_` also works. The inconsistencies across the codebase using - and _
result in difficultly using things like grep to find things that need to
be changed.
2015-08-07 10:58:25 -04:00