Robert Bailey
d78525a83b
Merge pull request #12750 from mikedanese/submit-queue
...
remove contrib/submit-queue as it is moving to the contrib repo
2015-08-18 09:15:22 -07:00
Dr. Stefan Schimanski
8ddcb222e9
Stop the kubelet from taking control over cgroups and other processes
2015-08-18 17:42:58 +02:00
Clayton Coleman
266e6226e5
Move slow-* items to test/images/network-tester
2015-08-18 09:08:46 -04:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Robert Bailey
17c005bb6a
Merge pull request #12730 from eparis/bash-completions-delete-label
...
bashcompletions: suggest resources to delete in kubectl delete
2015-08-17 13:52:53 -07:00
Eric Paris
c560f41a4b
Update docs which were incorrectly using _ in flag names
...
Each of these was verified that the actual flag declaration correctly
used -
2015-08-17 11:18:43 -07:00
Robert Bailey
5584d85574
Merge pull request #12752 from mikedanese/move-service-lb
...
remove service-loadbalancer since it lives in contrib/ now
2015-08-17 10:59:08 -07:00
Marek Grabowski
e9dd3c5543
Merge pull request #12678 from mesosphere/scheduler-log-struct-fields
...
Improve readability of scheduling failure logs
2015-08-17 13:06:47 +02:00
Karl Isenberg
61c9dd876e
Improve readability of scheduling failure logs
2015-08-17 12:17:48 +02:00
Mike Danese
fa40ced8f8
move contrib/for-tests to test/images
2015-08-14 20:42:46 -07:00
Brendan Burns
8e05da1316
Merge pull request #12696 from eparis/less-dash-false-positive
...
Fewer false positives in verify-flag-underscore.sh
2015-08-14 16:27:08 -07:00
Mike Danese
37bb279fae
remove service-loadbalancer since it lives in contrib/ now
2015-08-14 15:16:47 -07:00
Brendan Burns
eed655a6e6
Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
...
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Mike Danese
83ae12f0c3
remove contrib/submit-queue as it is moving to the contrib repo
2015-08-14 13:54:04 -07:00
Eric Paris
9b2ac7538d
bashcompletions: suggest resources to delete in kubectl delete
...
Before this patch if you type `kubectl delete [tab][tab]` you would get
nothing. `kubectl delete pod [tab][tab]` would show the list of pods.
This patch causes `kubectl delete [tab][tab]` to show the list of
resources like pod, service, podtemplate, serviceaccount, etc
2015-08-14 10:35:26 -04:00
Jerzy Szczepkowski
f29d52114b
Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
...
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
Eric Paris
30d34d0e59
Reduce false positives with verify-flag-underscore.sh by updating regex
...
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'. It there is an alphanumeric character then
this is obviously not actually the flag we care about. For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match. Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Mike Danese
00cf4c9c94
remove most of contrib as it's moving to a seperate repo
2015-08-13 17:56:01 -07:00
Mike Danese
d9555aed67
add readme to redirect people to new repo
2015-08-13 17:53:12 -07:00
Brendan Burns
b50330d851
Merge pull request #12539 from jiangyaoguo/keep-event-reason-consistent-in-scheduler-controller
...
Keep event reason consistent in scheduler and controller
2015-08-13 14:08:52 -07:00
Brendan Burns
22a2a76ab8
Merge pull request #12571 from brendandburns/kubectl2
...
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns
15281a5e01
Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
...
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Brendan Burns
586931fe16
Add optional arguments to kubectl run ...
2015-08-13 09:41:51 -07:00
Wojciech Tyczynski
c367d3c2e5
Merge pull request #12637 from piosz/rc-make
...
Fixed Makefile for Resource Consumer to handle deps
2015-08-13 15:22:32 +02:00
Wojciech Tyczynski
1470b3245d
Merge pull request #12618 from mikedanese/rewrite-godoc
...
rewrite links pointing to godoc
2015-08-13 14:10:33 +02:00
Piotr Szczesniak
3489c01143
Fixed Makefile for Resource Consumer to handle deps
2015-08-13 11:46:50 +02:00
feihujiang
1e10a7cc59
Kubectl scale command accepts a filename param
2015-08-13 14:26:25 +08:00
feihujiang
18a1400928
Kubectl get command accepts a filename param
2015-08-13 14:12:29 +08:00
jiangyaoguo
5d3522dc7a
Keep event reason consistant in scheduler and controller
2015-08-13 11:33:32 +08:00
feihujiang
0110f3176b
Kubectl patch command accepts a filename param
2015-08-13 11:13:31 +08:00
feihujiang
4b9afc516e
Kubectl label command accepts a filename param
2015-08-13 10:21:38 +08:00
Brendan Burns
99b8df1812
Add field based sorting to the kubectl command line.
2015-08-12 16:51:36 -07:00
CJ Cullen
353d3b0168
Merge pull request #12616 from mesosphere/mesos-service-port-name-issue
...
Remove outdated documented Mesos issue that service ports must be named
2015-08-12 16:08:52 -07:00
CJ Cullen
811b93ef2f
Merge pull request #12604 from krousey/clientauth
...
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Dr. Stefan Schimanski
f8dd75091d
Remove outdated documented Mesos issue that service ports must be named
...
The described behavior cannot be reproduced in current master anymore.
Compare mesosphere/kubernetes-mesos#322
2015-08-13 00:45:46 +02:00
Mike Danese
1cd9478346
rewrite links pointing to godoc
2015-08-12 15:27:36 -07:00
Kris Rousey
2a17dbff13
Moving clientauth package to be under client
2015-08-12 14:43:17 -07:00
Timothy St. Clair
bc7ca3bf32
Modified version of etcd installation from openshift-ansible with fixes and
...
cleanup.
2015-08-12 15:40:23 -05:00
CJ Cullen
4163d1a5d2
Merge pull request #12535 from mesosphere/persist-assigned-slave
...
Make slave assignment before binding persistent
2015-08-12 10:14:38 -07:00
Piotr Szczesniak
7837cf1ae3
Merge pull request #12578 from socaa/post-request
...
Handling http POST requests added to Resource Consumer
2015-08-12 12:06:56 +02:00
Piotr Szczesniak
50a5c5761b
Merge pull request #12517 from socaa/consume-cpu
...
Added consume cpu function to Resource Consumer
2015-08-12 12:01:16 +02:00
Ewa Socala
b629dffb0f
Handling http POST requests added to Resource Consumer
2015-08-12 11:19:51 +02:00
Ewa Socala
e9b6b00ade
Added consume cpu function to Resource Consumer
2015-08-12 11:01:54 +02:00
feihujiang
c0b2098844
Kubectl expose command accepts a filename param
2015-08-12 16:16:37 +08:00
Dr. Stefan Schimanski
fb0d4dbc13
Address review comments
2015-08-12 08:03:37 +02:00
Dr. Stefan Schimanski
f1a560718c
Make slave assignment before binding persistent
...
- move assigned slave to T.Spec.AssignedSlave
- only create the BindingHost annoation in prepareTaskForLaunch
- recover the assigned slave from annotation and write it back to the T.Spec field
Before this patch the annotation were used to store the assign slave. But due
to the cloning of tasks in the registry, this value was never persisted in the
registry.
This patch adds it to the Spec of a task and only creates the annotation
last-minute before launching.
Without this patch pods which fail before binding will stay in the registry,
but they are never rescheduled again. The reason: the BindingHost annotation does
not exist in the registry and not on the apiserver (compare reconcilePod function).
2015-08-12 08:03:36 +02:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Filip Grzadkowski
44c91b1a39
Merge pull request #12508 from markturansky/refactor_pv_controllers
...
Refactored persistent volume controllers to new packaging structure
2015-08-11 12:35:23 +02:00
Filip Grzadkowski
2148fb78db
Merge pull request #12223 from thockin/srv-hostname
...
Update serve_hostname
2015-08-11 10:59:15 +02:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
Alex Robinson
42e12f1c5f
Merge pull request #12340 from wojtek-t/rewrite_service_etcd
...
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Alex Robinson
5836d455b8
Merge pull request #12239 from eparis/bash-completions-rolling-update
...
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson
9bda3c5998
Merge pull request #11138 from feihujiang/portForwardWithoutP
...
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
11fcd3bb39
Merge pull request #12478 from eparis/use-pflag-network
...
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Prashanth Balasubramanian
e27806d79d
Multi-cluster services documentation, take II
2015-08-10 10:18:03 -07:00
Alex Robinson
1ad9015566
Merge pull request #12410 from mesosphere/non-unique-endpoint-ip-no-port-names
...
Fix e2e endpoints tests on Mesos
2015-08-10 09:49:55 -07:00
Marek Grabowski
daf4ff4acf
Revert "Add multi cluster services documentation "
2015-08-10 16:43:21 +02:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
f187588072
Merge pull request #11054 from jsafrane/devel/iscsi-test
...
Add e2e RBD and iSCSI volume tests.
2015-08-10 16:32:13 +02:00
Marek Grabowski
4858f2a722
Merge pull request #12309 from bprashanth/haproxy_gcr
...
Add multi cluster services documentation
2015-08-10 16:31:51 +02:00
Eric Paris
9de64328a5
Bash completion annotations for rollingupdates
2015-08-10 10:26:18 -04:00
Eric Paris
fe6b633e2a
Convert for util.IP to just use a net.IP
...
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Marek Grabowski
e27787c9d3
Merge pull request #12292 from brendandburns/stdin3
...
Add support for `--restart`
2015-08-10 14:54:54 +02:00
Wojciech Tyczynski
79125f460c
Services using standard REST storage
2015-08-10 13:27:44 +02:00
Ed Costello
35a5eda585
Copy edits for typos
2015-08-09 14:18:06 -04:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01: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
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
950ec96db0
Merge pull request #12182 from AnanyaKumar/qos-node
...
Add QoS support on node
2015-08-07 14:27:02 -07:00
Brendan Burns
e42d6aa255
Add --restart support to kubectl run
2015-08-07 13:20:09 -07:00
Ananya Kumar
6ef3de1d5f
Add QoS support on node
2015-08-07 11:18:16 -07: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
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
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
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
feihujiang
90f4c79bb9
kubectl port-forward accept a pod without -p
2015-08-07 17:21:59 +08:00
feihjiang
2ca200f087
Kubectl describe command accepts a filename param
2015-08-07 16:28:51 +08: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
Tim Hockin
384bcbb21b
Update serve_hostname
...
1) FROM busybox
2) Log source IP
3) bump to v1.2
2015-08-06 21:48:26 -07: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
Prashanth Balasubramanian
efbeba58f2
Add a sharing clusters example
2015-08-06 18:02:01 -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
Dawn Chen
2abf5dfb1f
Merge pull request #10498 from thockin/hostport-to-service
...
Fix leaking process in hostport proxy
2015-08-06 10:50:44 -07:00
Stef Walter
f6da3fdbe1
kubectl: Add proxy --unix-socket=/file/path option
...
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.
We make sure the socket starts its life only accessible by the
current user using Umask.
This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Prashanth Balasubramanian
461d1b7909
Add a script to help convert kubeconfig to a secret to share clusters.
2015-08-05 14:34:24 -07:00
Prashanth Balasubramanian
6c6b359099
Add multi cluster services documentation to loadbalancer README
2015-08-05 14:29:38 -07:00
Piotr Szczesniak
28b9ebed47
Merge pull request #12257 from socaa/dockerfile
...
Add docker file to Resource Consumer
2015-08-05 11:07:53 +02:00
Ewa Socala
140610c1bb
Add docker file to Resource Consumer
2015-08-05 10:07:23 +02:00
Alex Mohr
159ba48932
Merge pull request #12238 from eparis/godeps
...
Auto commit by PR queue bot
2015-08-05 01:06:11 -07:00
Brendan Burns
c5643c3c03
Fix submit queue when there are multiple LGTMs
2015-08-04 21:52:21 -07:00
Alex Mohr
0e8020f9bb
Merge pull request #11779 from JanetKuo/add-kubectl-annotation
...
Auto commit by PR queue bot
2015-08-04 18:28:12 -07:00
Alex Mohr
e528d2d948
Merge pull request #12198 from mesosphere/default-mem-and-cpu-limit
...
MESOS: Set the cpu+mem default limit in the SchedulerServer
2015-08-04 17:42:51 -07:00
Eric Paris
a29789d60e
Switch from to code.google.com/p/go-uuid/uuid to github.com/pborman/uuid
2015-08-04 20:13:07 -04:00
Alex Mohr
8d31a576a0
Merge pull request #12076 from socaa/skeleton
...
Auto commit by PR queue bot
2015-08-04 16:59:34 -07:00
Alex Mohr
e17aafa7dd
Merge pull request #11679 from bprashanth/haproxy
...
Auto commit by PR queue bot
2015-08-04 15:35:44 -07:00
Dr. Stefan Schimanski
191f2def5f
Add test to check that NewSchedulerServer sets resource defaults
2015-08-04 22:01:23 +02:00
Alex Mohr
4271f28548
Merge pull request #12185 from brendandburns/queue
...
Fix a mis-undersanding about the github API, add more tests
2015-08-04 09:54:51 -07:00
gmarek
2201e75666
NodeController small cleanup
2015-08-04 14:44:14 +02:00
Dr. Stefan Schimanski
3fced6f07b
Set the cpu+mem default limit in the SchedulerServer
2015-08-04 12:15:17 +02:00
Ewa Socala
01798bae0c
Added http API skeleton server.
...
Part of #11570
2015-08-04 11:51:28 +02:00
Prashanth Balasubramanian
81d91b1f05
Bare metal loadblancers
2015-08-03 21:35:24 -07:00
Brendan Burns
f50f0b26f1
Fix a mis-undersanding about the github API, add more tests
2015-08-03 20:52:06 -07:00
Alex Mohr
b280549930
Merge pull request #12180 from brendandburns/queue
...
Fix a small bug in contrib/submit-queue, add a unit test.
2015-08-03 18:00:26 -07:00
Alex Mohr
7ac6c50b9d
Merge pull request #12094 from brendandburns/kubectl
...
Auto commit by PR queue bot
2015-08-03 17:09:06 -07:00
Brendan Burns
0287d6eb32
Fix a small bug, add a unit test.
2015-08-03 17:01:43 -07:00
Alex Mohr
6d16c18d6f
Merge pull request #12078 from gmarek/move_nodecontroller
...
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Janet Kuo
7e63213478
Implement kubectl annotation update command. Refactor kubectl annotate to decouple command framework from business logic.
2015-08-03 14:35:56 -07:00
Brendan Burns
c2f3cd941f
Add LGTM timestamp checking.
2015-08-03 13:53:35 -07:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
Muhammed Uluyol
4b334a90ba
Add a simple diurnal controller.
...
The diurnal controller changes the number of replicas of a replication controller based on a list of times and replica counts. It is meant to be run under a replication controller.
2015-07-31 17:27:09 -07:00
Mike Danese
cf4cb1a6a3
Merge pull request #10474 from kargakis/scale-multiple-controllers
...
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
Mike Danese
6be29336ee
Merge pull request #12096 from mesosphere/km-minion
...
Add Mesos hyperkube minion server (fixed quick-release)
2015-07-31 13:15:08 -07:00
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Dr. Stefan Schimanski
76dc61bcfb
Revert "Revert "Add Mesos hyperkube minion server ""
...
This reverts commit 8372b0d927
.
2015-07-31 20:33:04 +02:00
Mike Danese
8372b0d927
Revert "Add Mesos hyperkube minion server "
2015-07-31 10:47:42 -07:00
Brendan Burns
c9bc1456ff
Add session affinity flags to kubectl expose
2015-07-31 10:34:52 -07:00
Mike Danese
464e208f95
Merge pull request #11928 from mesosphere/km-minion
...
Add Mesos hyperkube minion server
2015-07-31 10:25:21 -07:00
Dr. Stefan Schimanski
c4d6f75e35
Disable private mount ns for now in Mesos hyperkube minion server
...
Until Docker learns parent mount namespace customization the container will
always have the root ns as a parent, not the one of the km minion. Hence, the
kubelet (which lives in the km minion mount ns) will create mounts that cannot
be seen by the Docker containers.
This feature can be enabled again when Docker learns to explicitly set the
parent mount ns, in analogy to the parent cgroup.
2015-07-31 12:28:41 +02:00
Dr. Stefan Schimanski
2b1ecd28f0
Add Mesos hyperkube minion server
...
The minion server will
- launch the proxy and executor
- relaunch them when they terminate uncleanly
- logrotate their logs.
It is a replacement for a full-blown init process like s6 which is not necessary
in this case.
2015-07-31 12:28:40 +02:00
Dr. Stefan Schimanski
1200125137
Share KM_* constants
2015-07-31 11:27:52 +02:00
Dr. Stefan Schimanski
0ebf1811f3
Add scheduler flag --executor-proxy-logv
2015-07-31 11:27:52 +02:00
kargakis
0e796ca09a
Enable scaling multiple controllers
2015-07-31 10:24:59 +02:00
Dr. Stefan Schimanski
f59b5f503b
Use BindingHostKey annotation to detect scheduled pods in k8sm-scheduler
...
Before NodeName in the pod spec was used. Hence, pods with a fixed, pre-set
NodeName were never scheduled by the k8sm-scheduler, leading e.g. to a failing
e2e intra-pod test.
Fixes mesosphere/kubernetes-mesos#388
2015-07-31 10:22:20 +02:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
ed9975b031
Merge pull request #11230 from mesosphere/resource-accounting
...
Implement resource accounting for pods with the Mesos scheduler
2015-07-30 14:36:41 -07:00
Brendan Burns
97cb1cd071
Add support for attach to kubectl
2015-07-30 12:56:18 -07:00
Dr. Stefan Schimanski
f3f617d9db
Update documentation about resource accounting
2015-07-30 21:18:15 +02:00
Dr. Stefan Schimanski
a2fa41b73f
Implement resource accounting for pods with the Mesos scheduler
...
This patch
- set limits (0.25 cpu, 64 MB) on containers which are not limited in pod spec
(these are also passed to the kubelet such that it uses them for the docker
run limits)
- sums up the container resource limits for cpu and memory inside a pod,
- compares the sums to the offered resources
- puts the sums into the Mesos TaskInfo such that Mesos does the accounting
for the pod.
- parses the static pod spec and adds up the resources
- sets the executor resources to 0.25 cpu, 64 MB plus the static pod resources
- sets the cgroups in the kubelet for system containers, resource containers
and docker to the one of the executor that Mesos assigned
- adds scheduler parameters --default-container-cpu-limit and
--default-container-mem-limit.
The containers themselves are resource limited the Docker resource limit which
the kubelet applies when launching them.
Fixes mesosphere/kubernetes-mesos#68 and mesosphere/kubernetes-mesos#304
2015-07-30 21:18:04 +02:00
Mike Danese
33278e7910
Merge pull request #11844 from brendandburns/queue
...
Add an initial (simple) implementation of a submit queue.
2015-07-30 11:36:28 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Mike Danese
e9a56d9d6b
Merge pull request #11939 from derekwaynecarr/unit_file_updates
...
Update kube-apiserver unit files for systemd
2015-07-29 17:43:44 -07:00
Brendan Burns
9bec48298b
Add an initial (simple) implementation of a submit queue.
2015-07-29 15:39:10 -07:00
Paul Morie
5394aa979f
Make emptyDir volumes work for non-root UIDs
2015-07-29 18:36:51 -04:00
Mike Danese
bed0e1e1b0
Merge pull request #11915 from AnanyaKumar/controller-refactor
...
Refactor package controller
2015-07-29 11:20:14 -07:00
Mike Danese
e864569f80
Merge pull request #11003 from jayunit100/prom-push
...
[contrib + e2e] prometheus: add pushgateway functionality to prometheus allinone deployment along w/ runRC Gauge reporting.
2015-07-29 11:12:02 -07:00
Ananya Kumar
47dd0bc6f9
Refactor package controller
2015-07-29 09:54:35 -07:00
Mike Danese
60ac834563
Merge pull request #10652 from JanetKuo/kubectl-o-name
...
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
Brendan Burns
0c07b66226
Skip another flaky mesos test.
2015-07-28 15:18:21 -07:00
David Oppenheimer
bfb6203627
Merge pull request #11940 from brendandburns/e2e2
...
Disable a couple of flaky tests.
2015-07-28 21:31:53 +02:00
Brendan Burns
660efc7583
Disable a couple of flaky tests.
2015-07-28 11:42:39 -07:00
derekwaynecarr
e62c47db8c
Update kube-apiserver unit files for systemd
2015-07-28 14:36:56 -04:00
jayunit100
739e79dd9f
Modularized implementation of prompush json with e2e running pending push gateway gauges.
2015-07-28 09:29:57 -04:00
Janet Kuo
0e42d0699a
Add '-o name' to mutations
2015-07-27 14:06:53 -07:00
Alex Robinson
60611c253e
Add a resync period for services in the service controller.
...
This should ensure all load balancers get deleted even if a reordering of
watch events causes us to strand one after its service has been deleted,
because the sync will notice that the service controller's cache has a
service in it that no longer exists in the apiserver.
It could still leak in the case that the controller manager is killed
between when it leaks something and the sync runs, but this should
improve things.
2015-07-27 18:03:13 +00:00
Mike Danese
078ec7518b
Merge pull request #11825 from aveshagarwal/ansible-fixes
...
Fixes ansible errors.
2015-07-24 18:51:00 -07:00
Avesh Agarwal
0d4851a4ef
Ansible updates for Atomic.
2015-07-24 18:29:55 -04:00
Mike Danese
01349cdbfa
Merge pull request #11786 from a-robinson/fluentd
...
Update fluentd-gcp images to include latest Dockerfile changes
2015-07-24 12:40:41 -07:00
Mike Danese
de6d870569
Merge pull request #11741 from jsafrane/devel/service-test
...
Use a service between e2e volume tests clients and servers.
2015-07-24 11:21:28 -07:00
Mike Danese
b51b4e740f
Merge pull request #10639 from caseydavenport/master
...
Allow specification of a network plugins directory when starting kubelet
2015-07-24 11:09:11 -07:00
Mike Danese
f0d7f70838
Merge pull request #11264 from eparis/total-ansible
...
Ansible updates
2015-07-24 10:39:34 -07:00
Mike Danese
c70d8d4c59
Merge pull request #11108 from mesosphere/fix-10795
...
Fix races in mesos scheduler plugin test
2015-07-24 09:35:29 -07:00
Eric Paris
1253ca52cd
Ansible: start to support debian
2015-07-24 09:58:31 -04:00
Eric Paris
a25b34e1a4
Ansible: Vagrant: allow passing ansible tags to vagrant provision
...
Creating a cluster from scratch takes about 7 minutes. But if you just
rebuild the binaries and want to update those you don't want to have to
rerun the entire thing. There is an ansible tag 'binary-update' which
will do that. Now one can do
```
ANSIBLE_TAGS=binary-update vagrant provision
```
And it will push the new binaries.
2015-07-24 09:58:31 -04:00
Eric Paris
8ba4d85fa9
Ansible: Add kube-ui kube-addon support
2015-07-24 09:58:31 -04:00
Eric Paris
217f8eef95
Ansible: convert DNS from kube_config_dir to kube_addons_dir
2015-07-24 09:58:31 -04:00
Eric Paris
9aed89f816
Ansible: fast update of binaries
...
If you are using locally build binaries as a developer you likely will
want to just push those binaries to an existing cluster, not rerun the
entire playbook. Add a tag to do just that.
2015-07-24 09:58:31 -04:00
Jeff Bean
0653156e1e
Ansible: Updating README
2015-07-24 09:58:31 -04:00
Jeff Bean
29980851f7
Ansible: Adding variable for kubernetes apiserver port
2015-07-24 09:58:31 -04:00
Jeff Bean
90b1318168
Ansible: Adding variable for kubernetes addon dir
2015-07-24 09:58:30 -04:00
Eric Paris
ce4d2d41fb
Ansible: Vagrant: Add libvirt support
2015-07-24 09:58:30 -04:00
Eric Paris
51a33d3ff5
Ansible: vagrant: generic set_provider() function
2015-07-24 09:58:30 -04:00
Eric Paris
dda42add54
Ansible: Vagrant: Add vbox support
2015-07-24 09:58:30 -04:00
Eric Paris
36e991742b
Ansible: Vagrant: Update to os1 vagrant scripts
...
Do the /etc/host creation with vagrant, so it uses internal instead of
external ips (hostmanager only knew about the public ip)
Ignore errors on docker failure when 'restarting' docker in flannel
handler. If this is a clean install, we haven't run 'node' yet so docker
isn't installed so it doesn't need to be started. It would be better to
be more specific in ignoring errors though...
2015-07-24 09:58:30 -04:00
jayunit100
a008fe24bb
Ansible: Vagrant: kubernetes openstack deployer
...
vbox deployer separated and deprecated. Readded-later
2015-07-24 09:58:25 -04:00
Eric Paris
fd1024baa2
Install openssl when using make-ca-certs.sh
...
easyrsa requires openssl. So make sure it is installed.
2015-07-24 09:56:42 -04:00
Eric Paris
90ecd96f84
Ansible: Run from locally built binaries
...
Instead of from distro packages
2015-07-24 09:48:36 -04:00
Eric Paris
c3849fd240
Ansible: Minor typo in play text (no functional change)
2015-07-24 09:48:36 -04:00
Eric Paris
605437f811
Ansible: Support new upstream non-default namespace for addons
2015-07-24 09:48:35 -04:00
Eric Paris
165aa56c1a
Ansible: Do not fail flannel restart is docker not installed
...
On first install flannel runs before docker is installed. So do not fail
if docker is not installed
2015-07-24 09:48:35 -04:00
Eric Paris
8b57cc8918
Ansible: cert gen: use inventory hostname not ip address
2015-07-24 09:48:35 -04:00
Alex Robinson
0889307522
Update the fluentd-gcp images to include their latest Dockerfile changes.
...
Their Dockerfiles were changed in #11768 .
2015-07-24 01:27:42 +00:00
Alex Robinson
081466918e
Update the fluentd sidecar example yaml files to use the 1.2 version.
...
I missed this in #11721 .
2015-07-24 01:26:05 +00:00
Vish Kannan
2a5a6b99cb
Merge pull request #10635 from smarterclayton/cloud_provider_should_err
...
Cloud provider should return an error
2015-07-23 17:50:45 -07:00
Vish Kannan
6306ad1bce
Merge pull request #11736 from thockin/cleanup-dns-legacy
...
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Vish Kannan
2a10eabfdf
Merge pull request #11769 from aveshagarwal/kubernetes-ansible-fixes
...
Fixes ansible syntax errors
2015-07-23 17:04:48 -07:00
Tim Hockin
89e9851ac5
Update examples to not use old DNS names
2015-07-23 13:51:09 -07:00
Casey D
db3650fe58
Fix missing network plugin directory argument.
2015-07-23 13:05:59 -07:00
Avesh Agarwal
e507dbe7b8
Fixed ansible syntax error.
2015-07-23 15:26:11 -04:00
Todd Derr
98ed2e8606
Remove gem update for fluent-plugin-google-cloud
...
This was originally submitted to pick up v0.3.1 of the cloud logging
plugin which had a fix for the name 'metadata' failing to resolve.
Since new releases of google-fluentd have this fix, it is no longer
required.
I've done some additional testing of 'gem update' behavior in the interim
and I think it is ok to use in targeted situations, but we should not be
doing an unconstrained update in general. The issue is that updating a
gem may bring new dependencies, some of those dependencies may include
native code, so it may try to launch a compiler, which isn't desirable
and prone to failure.
If we do need to grab an updated gem in the future we should specify an
explicit version and the --minimal-deps flag.
2015-07-23 15:06:56 -04:00
Vish Kannan
dfe1eb9b96
Merge pull request #11721 from a-robinson/fluentd
...
Bring sidecar fluentd configs in line with the addon fluentd configs
2015-07-23 11:49:32 -07:00
Alex Robinson
797dc1778a
Add resource constraints to the fluentd container in the sidecar examples
2015-07-23 16:31:08 +00:00
Alex Robinson
7ac3d36030
Bring the sidecar fluentd configs in sync with the cluster addon configs.
2015-07-23 16:31:03 +00:00
Jan Safranek
118004c166
Use a service between e2e volume tests clients and servers.
...
This helps with routing of TCP traffic between clients and servers in case
flannel or similar service is not installed and pods don't see each other.
- It needs 'insecure' in /etc/exports to allow NFS clients on ports > 1024,
Kubernetes service will change client port to a random number.
- glusterfs no longer needs explicit endpoint definition, it uses the service
instead.
2015-07-23 11:51:43 +02:00
Wojciech Tyczynski
ee92aa3897
Prepare for extracting EtcdHelper interface
2015-07-23 09:37:39 +02:00
Wojciech Tyczynski
5988d30da0
Merge pull request #10715 from justinsb/spelling_octects
...
Spelling fix (in code): octects -> octets
2015-07-23 09:00:39 +02:00
krousey
f9fa83fae3
Merge pull request #10613 from mesosphere/mesos-docs
...
Move k8s-mesos docs to the kubernetes repo
2015-07-20 09:23:20 -07:00
David Oppenheimer
dec9adfe2e
Replace ```shell with ```sh
2015-07-19 21:38:53 -07:00
Dr. Stefan Schimanski
8fca9b6f09
Add original k8s-mesos docs to contrib/mesos
2015-07-19 10:13:25 +02:00
Satnam Singh
69668365ce
Update sidecar logging console output in docs
2015-07-18 22:47:42 +01:00
Eric Tune
f5e6161e49
Merge pull request #11298 from mesosphere/fix-10776
...
Fix deadlocks and race conditions in mesos master election notifier
2015-07-15 13:55:17 -07:00
Dr. Stefan Schimanski
e98c8e7685
Fix deadlocks and race conditions in mesos master election notifier
...
- n.node used the n.lock as underlaying locker. The service loop initially
locked it, the Notify function tried to lock it before calling n.node.Signal,
leading to a dead-lock.
- the go routine calling ChangeMaster was not synchronized with the Notify
method. The former was triggering change events that the later never saw
when the former's startup was faster that of Notify. Hence, not even a single
event was noticed and not even a single start/stop call of the slow service
was triggered.
This patch replaces the n.node condition object with a simple channel n.changed.
The service loop watches it.
Updating the notified private variables is still protected with n.lock against
races, but independently of the n.changed channel. Hence, the deadlock is gone.
Moreover, the startup of the Notify loop is synchronized with the go routine which
changes the master. Hence, the Notify loop will see the master changes.
Fixes #10776
2015-07-15 21:45:53 +02:00
Eric Tune
3dad5a0652
Merge pull request #10835 from mesosphere/mesos-root-ca-file
...
Add --root-ca-key code to Mesos controller-manager fork
2015-07-14 12:16:49 -07:00
Eric Tune
ed26ffe95e
Merge pull request #10685 from jeffbean/ansible_dev
...
Ansible enhancements for CentOS
2015-07-14 12:08:06 -07:00
Dr. Stefan Schimanski
95c7dc8cb3
Re-enable mesos scheduler TestPlugin_LifeCycle test
2015-07-13 22:43:16 +02:00
Dr. Stefan Schimanski
143cf4b08d
Use correct offer's hostname of test pods in mesos scheduler plugin tests
2015-07-13 22:41:23 +02:00
Dr. Stefan Schimanski
dd7345b25f
Fix offer+pod races in mesos scheduler plugin test
...
- Offers were reused and led to unexpected declining by the scheduler because
the reused offer did not get a new expiration time.
- Pod scheduling and offer creation was not synchronized. When scheduling
happened after aging of offers, the first issue was trigger. Because
the mesos driver DeclineOffer was not mocked this lead to a test error.
2015-07-13 22:41:23 +02:00
Dr. Stefan Schimanski
bf44f5df28
Add DeclineOffer return value to mock driver in mesos scheduler test
...
Depending on timing the mesos scheduler might call DeclineOffer:
The default ttl of an offer in mesos scheduler is 5sec. If the tests run longer,
the old, unused offers are declined, leading to an mock error.
Probably fixes GoogleCloudPlatform/kubernetes#10795
2015-07-13 22:41:23 +02:00
David Oppenheimer
089a703194
Disable TestPlugin_LifeCycle due to flakiness.
2015-07-10 22:14:16 -07:00
Brendan Burns
86f54b4d05
Merge pull request #11035 from nikhiljindal/nettest
...
Updating nettest image to latest code
2015-07-09 22:08:01 -07:00
nikhiljindal
90d371c98f
Updating nettest image to latest code
2015-07-09 18:07:18 -07:00
Victor Marmol
5540570e44
Merge pull request #10925 from bprashanth/sidecar_exec
...
Sidecar container capable of servicing exec style liveness probes over http
2015-07-09 17:46:11 -07:00
Prashanth Balasubramanian
3ec6703a5d
Create a sidecar container for use as an http-exec bridge
2015-07-09 15:00:25 -07:00
Alex Mohr
7737d18882
Update release notes tool and documentation
2015-07-07 17:40:10 -07:00
Dr. Stefan Schimanski
39b3af0fdc
Add --root-ca-key code to Mesos' controller-manager fork
2015-07-07 18:19:47 +02:00
Satnam Singh
96c4e587ad
Change config files to kube-system which were missed in the original PR
2015-07-07 01:05:19 -07:00
Justin Santa Barbara
1ece037555
Spelling fix (in code): octects -> octets
2015-07-04 10:37:57 -04:00
Jeffrey Bean
f7b5d0db61
[Ansible] Adding new CentOS repo for newest Kubernetes packages.
...
This is the game we play until Kubernetes GA packages are out.
2015-07-02 15:06:27 -07:00
Zach Loafman
acf6fc6e24
Merge pull request #10627 from eparis/total-ansible
...
Ansible: Get DNS working - Add kubectl kubeconfig file
2015-07-01 16:07:53 -07:00
Zach Loafman
e5670c104d
Merge pull request #10604 from nikhiljindal/v1
...
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Clayton Coleman
d8bb4552de
Cloud provider should return an error
...
Not fatal - makes cloud provider useful in methods that
can return error.
2015-07-01 14:41:49 -04:00
Eric Paris
c66bafaa18
Generate a kubeconfig for kubectl which can be taken off the masterA
...
/etc/kubernetes/kuectl.kubeconfig
2015-07-01 13:19:06 -04:00
Eric Paris
88087decb4
Fix certs in ansible
2015-07-01 13:09:22 -04:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
Tim Hockin
e54c38d74b
Add an optional timeout for UDP hostport proxy
2015-06-30 18:49:59 -07:00
Janet Kuo
62b488359f
Enable -c for kubectl logs container arg
2015-06-30 13:25:54 -07:00
Eric Paris
ddf52a854e
Make sure serviceaccount tokens are created and recognized
2015-06-30 13:05:59 -04:00
Eric Paris
3cacc42985
Hide DNS variables away from the user
...
Fewer knobs == more winning. Also rename from kube.local to
cluster.local. Some e2e tests really want that.
2015-06-30 13:05:59 -04:00
Eric Paris
3a78104267
Add cluster logging with fluentd and elastic search
2015-06-30 13:05:59 -04:00
Eric Paris
7d7d5d4c4e
Add influxdb cluster monitoring
2015-06-30 13:05:59 -04:00
Eric Paris
a127ce7266
Use slurp to get the ca.crt
2015-06-30 13:05:59 -04:00
Eric Paris
9f4bfd144f
Per master tokens for the scheduler and controller-manager
2015-06-30 13:05:58 -04:00
Eric Paris
c6f2841839
Place a different token for every node/daemon combination
...
We can now revoke one token at a time!
2015-06-30 13:05:58 -04:00
Eric Paris
bb179b6a4c
Use a token for the scheduler, controller-manager, proxy and kubelet
...
Before we used the kubecfg certificate for everything. Mint one token
for each service and push it around where it belongs.
2015-06-30 13:05:55 -04:00
Chao Xu
7f89a29aad
add "kubectl patch". It will replace "kubectl udpate --patch" in the future
2015-06-29 16:36:45 -07:00
Alex Robinson
764d34d363
Merge pull request #10468 from caesarxuchao/add-cmd-replace
...
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Chao Xu
9b3d42c090
Add command "kubectl replace". "kubectl update" is still supported as an alias.
...
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Tim Hockin
745c2af792
Add a simple hostport-to-service proxy
...
Example: a pod like the below should
proxy port 53 TCP and UDP to the main DNS service.
```
apiVersion: v1
kind: Pod
metadata:
name: localhost-dns-proxy
spec:
containers:
- name: proxy-udp
image: gcr.io/google_containers/proxy-to-service:v1
args: [ "udp", "53", "kube-dns.default" ]
ports:
- name: udp
protocol: UDP
containerPort: 53
hostPort: 53
- name: proxy-tcp
image: gcr.io/google_containers/proxy-to-service:v1
args: [ "tcp", "53", "kube-dns.default" ]
ports:
- name: tcp
protocol: TCP
containerPort: 53
hostPort: 53
```
2015-06-26 21:55:18 -07:00
Robert Bailey
c6940932f7
Merge pull request #10378 from jeffbean/ansible-final
...
Ansible rework for Kubernetes cluster deployment
2015-06-26 16:55:00 -07:00
Robert Bailey
508f7f1697
Merge pull request #10358 from caesarxuchao/add-force-update
...
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Jeff Bean
a0c312f224
Changing CentOS install of master and nodes
...
The testing repo now had updated packages for kubernetes
Also adding some options to rsync task to work with different users ssh settings
2015-06-25 18:45:49 -07:00
Chao Xu
ef5de91fd7
add "--force" flag to "kubectl update";
...
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes
5e748c1d47
Merge pull request #10070 from lavalamp/e2eProxyFix
...
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
2bb4cf3f8f
Merge pull request #10266 from ArtfulCoder/kubelet_resolv
...
update docker's resolv.conf file with options ndots:5
2015-06-25 09:54:36 -07:00
Abhishek Shah
23caf446ae
update docker's resolv.conf file with options ndots:5
2015-06-24 23:33:58 -07:00
Maxwell Forbes
3afda5d566
Merge pull request #10312 from dchen1107/cleanup
...
Take 2: Fix the race between configuring cbr0 and restarting static pods
2015-06-24 17:59:50 -07:00
Maxwell Forbes
28946766a3
Merge pull request #9807 from krousey/container_manifest
...
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Eric Paris
52999cd292
Check for rpm directly, don't imply from ansible_pkg_manager
...
Atomic host have neither dnf nor yum. So we cannot use that as a
hueristic if they have rpm.
2015-06-24 17:07:13 -04:00
Eric Paris
97b88fa563
Set SELinux permissive to allow DNS to work
2015-06-24 17:07:12 -04:00
Eric Paris
8cf36d7402
Declare etcd roles in meta rather then top level playbook
2015-06-24 17:07:12 -04:00
Eric Paris
83bd4d0903
Install python-firewall as ansible needs python2 firewalld support
2015-06-24 17:07:12 -04:00
Eric Paris
fc5c063a2d
Support Fedora Rawhide
...
Fedora rawhide has neither yum, nor python2, nor python2 libselinux
bindings. Ansible needs all of these.
This adds a new play which can be used to get machines setup so they can
then be managed with ansible.
2015-06-24 17:07:12 -04:00
Eric Paris
7996f39413
Vagrant? Did we mean to include this?
2015-06-24 17:07:12 -04:00
Jeff Bean
7b8ed5a12c
support dns in particular
2015-06-24 17:07:12 -04:00
Jeff Bean
374658ef01
support the upstream 'addons' nonsense
2015-06-24 17:07:12 -04:00
Eric Paris
c2e4df7c87
Create, distribute, and use certificates for TLS and identity
2015-06-24 17:07:11 -04:00
Eric Paris
3d10f00401
Give kube-apiserver CAP_NET_BIND_SERVICE
...
It is needed to bind on port 443
2015-06-24 17:07:08 -04:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
Dawn Chen
6ddfa512de
Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
...
This reverts commit fd0a95dd12
.
2015-06-24 11:10:10 -07:00
Jeff Bean
e08bd6f3c3
Configure docker daemon
2015-06-24 13:45:46 -04:00
Jeff Bean
45bdfeac0c
Packge install on CentOS 7
2015-06-24 13:45:46 -04:00
Jeff Bean
f259892cc9
Basic Generic File Cleanups
...
No major changes, just renaming, whitespace, etc
2015-06-24 13:45:46 -04:00
Eric Paris
9816488179
Do not restart etcd quickly
...
https://github.com/coreos/etcd/pull/2878
etcd destroys itself if you start and then restart etcd very rapidly.
So don't do that any more.
2015-06-24 13:45:46 -04:00
Eric Paris
70b7358d00
If multiple etcd servers defined, point at all of them
...
(we still can only set up a single server though)
2015-06-24 13:45:46 -04:00
Eric Paris
a95243450e
Set up flannel in your cluster!
2015-06-24 13:45:42 -04:00
Eric Paris
bc6c425ab4
Use 'command' not 'shell' even thought it doesn't matter
2015-06-24 13:45:42 -04:00
Eric Paris
fec5e789fd
Shorthand to run the ansible setup command
2015-06-24 13:45:42 -04:00
Eric Paris
f66395283e
Rename minion->node
2015-06-24 13:45:42 -04:00
Eric Paris
c4ba90337c
Only install kube-master on the master and node on the nodes
2015-06-24 13:45:42 -04:00
Eric Paris
f274881b94
do not register nodes to apiserver
...
They now register themselves
2015-06-24 13:45:42 -04:00
Eric Paris
8bb7e14a44
Rework cluster.yml and use tags, not files
2015-06-24 13:45:41 -04:00
Eric Paris
b0b3b03045
Use {{ ansible_pkg_mgr }} instead of yum
...
This should make things work on systems with dnf and even on systems
which use apt!
2015-06-24 13:45:41 -04:00
Eric Paris
3af9346596
etcd requires advertise-client-urls with listen-client-urls
...
otherwise it won't start
2015-06-24 13:45:41 -04:00
Eric Paris
8830e7b84e
Follow upstream default admission controllers
2015-06-24 13:45:41 -04:00
Piotr Szczesniak
fd0a95dd12
Revert "Fix the race between configuring cbr0 and restarting static pods"
2015-06-24 09:56:49 +02:00
Daniel Smith
64bee7f4f0
Fix bug with env vars containing = signs
2015-06-23 18:45:58 -07:00
Jeff Lowdermilk
50d50a3cb8
Merge pull request #10211 from dchen1107/cleanup
...
Fix the race between configuring cbr0 and restarting static pods
2015-06-23 17:09:01 -07:00
Dawn Chen
23200d303f
Fix several issues on running syncPods until network is configured.
...
Also fixed unittests and compiling.
2015-06-23 12:11:19 -07:00
Dr. Stefan Schimanski
9e0c9b4f5a
Mesos: create static pod file source only for configured static pods
...
The file source was created even when no static pods were configured.
In this case it was never marked as seen. As a consequence the kubelet
syncPods functions never deleted pods because it was too cautious due
an unseen pod source, leading to leaked pods.
2015-06-23 12:25:21 +02:00
Jeff Lowdermilk
0d7de0991e
Disable TestProc_doWithNestedXConcurrent
...
This test is killing more than 50% of shippable builds. Disabling
to stop the madness.
2015-06-22 15:39:43 -07:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Anastasis Andronidis
b06ef70057
Print resource labels as columns
2015-06-22 00:44:51 +02:00
Eric Paris
f40fce4598
kubectl log->logs in bash completions
...
The kubectl log command switched to logs. But the bash completions code
was still looking for a singular
2015-06-19 16:00:58 -04:00
Satnam Singh
3d8a3a809f
Merge pull request #10067 from lavalamp/miscFix
...
fix config file
2015-06-18 17:48:07 -07:00
Daniel Smith
63d8e08394
fix config file
2015-06-18 16:35:59 -07:00
Satnam Singh
b8b8f4d659
Merge pull request #10053 from timstclair/gcloud-docker
...
s/gcloud preview docker/gcloud docker/
2015-06-18 16:12:20 -07:00
Satnam Singh
d2c2f7e35e
Merge pull request #9993 from mikedanese/re-patch
...
reenable patch serverside using strategic-merge-patch
2015-06-18 14:13:10 -07:00
Justin Santa Barbara
97cafd20f6
NodeName != HostName: Fixes for contrib/mesos
2015-06-18 12:40:14 -07:00
Tim St. Clair
f5830edbbc
s/gcloud preview docker/gcloud docker/
2015-06-18 12:27:08 -07:00
Mike Danese
3de11e2fa8
reenable patch serverside using strategic-merge-patch
2015-06-18 12:06:46 -07:00
Satnam Singh
e4f5529a2d
Revert "Allow nodename to be != hostname, use AWS instance ID on AWS"
2015-06-18 11:27:55 -07:00
Justin Santa Barbara
77e1bd3f56
NodeName != HostName: Fixes for contrib/mesos
2015-06-17 00:40:43 -04:00
Saad Ali
10631592dc
Merge pull request #9887 from brendandburns/gcr2
...
switch some more images to gcr for reliability
2015-06-16 18:57:16 -07:00
Saad Ali
d076d50feb
Merge pull request #9796 from mesosphere/fix-flaky-executor-test
...
Fix flaky mesos executor test
2015-06-16 18:48:40 -07:00
Saad Ali
a00b55c023
Merge pull request #9770 from brendandburns/notes
...
Add some more logic to clean up the release-notes generation.
2015-06-16 15:49:29 -07:00
Brendan Burns
ca8317695f
Switch to gcr.io for the mount test container.
2015-06-16 11:45:34 -07:00
Dr. Stefan Schimanski
7abe12d6f4
Fix flaky mesos executor test
...
The TestExecutorFrameworkMessage test sends a "task-lost:foo" message to the
executor in order to mark a pod as lost. For that the pod must be running first.
Otherwise, the executor code will send "TASK_FAILED" status updates, not "TASK_LOST".
Before this patch there was no synchronization between the pod startup and the
test case. Moreover, in order to startup a task a working apiserver URL must be
passed to the executor which was not the case either.
Fixes mesosphere/kubernetes-mesos#351
2015-06-16 09:08:23 +02: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
Fabio Yeon
241e87cf9b
Merge pull request #9077 from mesosphere/staticPodsUpstream
...
Add static pod support to mesos scheduler and executor.
2015-06-15 15:20:33 -07:00
Fabio Yeon
da02e3059a
Merge pull request #9789 from mesosphere/plugin-test-race
...
Fix mesos plugin-test race
2015-06-15 13:04:12 -07:00
Joerg Schad
7af8bf6ed3
Add static pod support to mesos scheduler and executor.
...
- the mesos scheduler gets a --static-pods-config parameter with a directory with
pods specs. They are zipped and sent over to newly started mesos executors.
- the mesos executor receives the zipper static pod config via ExecutorInfo.Data
and starts up the pods via the kubelet FileSource mechanism.
- both - the scheduler and the executor side - are fully unit tested
2015-06-15 17:24:54 +00:00