Commit Graph

16102 Commits

Author SHA1 Message Date
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
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
Jan Safranek
9c7a1c7f96 Add Ceph RBD e2e test.
The test assumes that all nodes have Ceph client utilities installed.
Ceph RBD container is hand crafted to be really minimal. It creates a new RBD
on startup, which can take up to several minutes on busy machines.
2015-08-07 13:43:03 +02:00
Jan Safranek
adba474ffa Add e2e iSCSI volume test.
The test container needs to run with --privileged, therefore it's disabled by
default.
2015-08-07 13:43:03 +02: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
Hokutosei
a68f0a853f add missing preemptibel var 2015-08-07 10:13:43 +00:00
Marcin Wielgus
91584c6b3b Experimental Scale subresource 2015-08-07 12:00:42 +02:00
feihujiang
90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
dinghaiyang
dab7280ae4 Improve clarity around PodFitsResource by showing pods limits in kubectl describe node 2015-08-07 16:58:11 +08:00
feihjiang
2ca200f087 Kubectl describe command accepts a filename param 2015-08-07 16:28:51 +08:00
gmarek
1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Jan Safranek
ebcc558734 Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.

This reverts commit 118004c166.
2015-08-07 10:24:29 +02:00
Ben McCann
4c199b604a Fix the architecture diagram such that the arrow from the api server to the node doesn't go through/under etcd 2015-08-07 00:13:15 -07:00
hokutosei
3bcfdab649 added preemptible flag in gcloud compute instance-templates create 2015-08-07 06:50:28 +00: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