Commit Graph

15809 Commits (4786705f8e4e6e19f1052fefc0ad17f26af02475)

Author SHA1 Message Date
Dr. Stefan Schimanski 4786705f8e Move TODO from source into an github issue 2015-08-07 22:08:50 +02: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
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
Jerzy Szczepkowski c817739996 Merge pull request #12397 from GoogleCloudPlatform/revert-12376-MoveEqualPriorityFunc
Revert "Move prioritizer function EqualPriority to package priorities"
2015-08-07 16:24:23 +02:00
Jerzy Szczepkowski d6dab28b96 Revert "Move prioritizer function EqualPriority to package priorities" 2015-08-07 15:51:26 +02:00
Jerzy Szczepkowski 0bc3fab656 Merge pull request #12376 from HaiyangDING/MoveEqualPriorityFunc
Move prioritizer function EqualPriority to package priorities
2015-08-07 15:27:27 +02:00
Jerzy Szczepkowski acefdc9daf Merge pull request #12355 from derekwaynecarr/test_events_ns
Event test client may or may not be namespaced
2015-08-07 15:26:52 +02:00
Jerzy Szczepkowski 14cfc430fc Merge pull request #12378 from brendandburns/e2e2
Add a test for HTTP health checks that validates healthy pods stay up
2015-08-07 15:26:10 +02:00
hurf e63d227bdf Use -o template to validate cluster
Instead of using human-oriented output, use -o template to
validate cluster in order to avoid error caused by column change.
2015-08-07 21:18:40 +08:00
hurf e450c3b771 Add age column for all resources when using kubect get
Dispaly human readable creation time like age column do in `kubectl
get po` for all resources.
2015-08-07 21:18:30 +08:00
Jerzy Szczepkowski a53f4c8695 Merge pull request #12394 from Huawei-PaaS/issue_ubuntu_md_variable_typos
Amend some variable typos in ubuntu.md
2015-08-07 14:27:47 +02:00
qiaolei 60ef96a135 Amend some variable typos in ubuntu.md
Amend some variable typos. 1, `roles`->`role`; 2, service_cluster_ip_range -> `SERVICE_CLUSTER_IP_RANGE`.
2015-08-07 20:05:20 +08:00
Jerzy Szczepkowski bb49fdabdc Merge pull request #12268 from wojtek-t/create_watch_cache
Implement watchCache structure.
2015-08-07 12:59:03 +02:00
Jerzy Szczepkowski 372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
Dr. Stefan Schimanski 79e54c2679 Add unit tests for RepackSubsets to take pod UID into consideration 2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski 55daf3b80e Don't wrongly identify endpoint addresses only due to equal IP
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
Wojciech Tyczynski 52e3af4e93 Implement watchCache structure. 2015-08-07 08:29:17 +02:00
Jerzy Szczepkowski f53e0ff5a8 Merge pull request #12133 from Huawei-PaaS/issue_ubuntu_MINION_IPS
Initialize global variable MINION_IPS in setClusterInfo function
2015-08-07 08:22:28 +02:00
qiaolei 2fd47194bd Initialize global variable MINION_IPS in setClusterInfo function
Initialize global variable MINION_IPS in setClusterInfo function.
MINION_IPS is defined as a global variable, and is concatenated with other nodeIP.
When setClusterInfo is called for many times, this could cause potential problems.
Such as, you will have MINION_IPS=192.168.0.2,192.168.0.3,192.168.0.2,192.168.0.3 which is obviously wrong.

Update util.sh
2015-08-07 11:23:02 +00:00
Jerzy Szczepkowski 67d45821f8 Merge pull request #12216 from derekwaynecarr/limit_range_requests
LimitRange design updates to account for Requests and Limits
2015-08-07 08:18:10 +02:00
Jerzy Szczepkowski 7a875a1ac0 Merge pull request #12220 from brendandburns/stdin
Add interactive run that combines run and attach.
2015-08-07 08:17:00 +02:00
Brendan Burns 5be9ff70af Add a negative test for HTTP health checks 2015-08-06 21:22:31 -07:00
David Walter 76bb6bbf12 change underscores to dashes to match the command line argument 2015-08-06 22:48:21 -05:00
Brendan Burns 9ac50b4980 Add interactive run that combines run and attach. 2015-08-06 20:20:14 -07:00
David Walter 792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
dinghaiyang ebbcd4a3ba Move prioritizer function EqualPriority to package priorities 2015-08-07 09:56:54 +08:00
Dawn Chen d04fce045e Merge pull request #12279 from eparis/use-pflags-string-slice
Use pflags string slice instead of internal util.StringList
2015-08-06 18:01:53 -07:00
derekwaynecarr 6399d4c8c4 Bump fsouza/go-dockerclient godep 2015-08-06 20:55:42 -04:00
Alex Robinson a2fea14542 Fix typo in an e2e test utility log message. 2015-08-07 00:32:05 +00:00
Alex Robinson e650e098f4 Replace usage of ifup and ifdown in the reboot test with ifconfig. 2015-08-07 00:29:36 +00:00
Dawn Chen 8cd7431b3d Merge pull request #12366 from GoogleCloudPlatform/container-vm-v20150806
Update GCE to container-vm-v20150806
2015-08-06 16:31:52 -07:00
Dawn Chen 2be69e7718 Merge pull request #12325 from brendandburns/supervisord
Add support for supervisord as a monit alternative.
2015-08-06 16:16:35 -07:00
Eric Paris 7cbb52ce04 Use the pflag StringSlice instead of implementing it ourselves
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Eric Paris 76896bf244 Regen docs with new pflags
This basically just shows in the docs that the =false portion of
booleans are optional.
2015-08-06 19:16:13 -04:00
Eric Paris 3fe85d46ff Update godeps for cobra and pflags 2015-08-06 19:15:14 -04:00
Dawn Chen 02eb68aa0b Merge pull request #12356 from ixdy/retry-gsutil-upload
Handle errors properly in kube::gcs::release functions
2015-08-06 16:12:27 -07:00
Dawn Chen 9af5d8bd23 Merge pull request #12305 from GoogleCloudPlatform/puller
Exit if hub isn't installed, add verbiage to message.
2015-08-06 16:08:30 -07:00
Dawn Chen 256eeeda2b Merge pull request #12291 from derekwaynecarr/resource_quota_requests
Update resource quota design to align with requests and limits
2015-08-06 16:07:42 -07:00
Dawn Chen 122d76a2ef Merge pull request #11820 from liggitt/reuse_round_tripper
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Dawn Chen 7a95f71aeb Merge pull request #11801 from AnanyaKumar/daemon-api
Add Daemon API
2015-08-06 15:57:17 -07:00
Brendan Burns 15b9d98733 Add support for supervisord as a monit alternative. 2015-08-06 15:48:45 -07:00
Rajat Chopra 1ce6d80a89 ipv6 test 2015-08-06 15:46:05 -07:00
Rajat Chopra 58a742e667 status hook for the container network 2015-08-06 15:46:04 -07:00
Zach Loafman 5ea2bfaa1b Update GCE to container-vm-v20150806
Also changes the node image to default to master image
2015-08-06 15:36:39 -07:00