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
Fabio Yeon
65ea6b914c
Merge pull request #9785 from mesosphere/longer-timeout-for-proc-test
...
increase timeout for nested concurrent test...
2015-06-15 10:11:51 -07:00
Fabio Yeon
3dcf97a07c
Merge pull request #9741 from mesosphere/fix-k8sm-342
...
Fix kubernetes-mesos issue 342: pod readiness bug
2015-06-15 10:11:06 -07:00
Fabio Yeon
18a3932585
Merge pull request #9265 from mesosphere/upstream-k8sm-cm-and-km
...
Upstream Kubernetes Mesos controller manager and km binary
2015-06-15 09:28:12 -07:00
James DeFelice
f956f23d37
move the container name fix to NewTestPod to avoid breakage in other unit tests in the future
2015-06-15 14:30:48 +00:00
Dr. Stefan Schimanski
615e4f99a7
Fix mesos plugin-test race
...
ListWatch returned the internal list of the MockPodsListWatch object, leading
to a race. Fixes travis builds.
Fixes mesosphere/kubernetes-mesos#354
2015-06-15 08:18:57 +02:00
James DeFelice
9f53405d42
increase timeout for nested concurrent test that is still intermittently timing out in travis
2015-06-15 02:25:27 +00:00
James DeFelice
5e4992aa5e
fix broken TestExecutorLaunchAndKillTask unit test
2015-06-14 03:38:29 +00:00
James DeFelice
eca5a2ac88
lower container poll freq to something more sane
2015-06-13 22:23:43 +00:00
James DeFelice
c0b686e3be
resolve pod readiness issue
...
see https://github.com/mesosphere/kubernetes-mesos/issues/342
xref #9710
2015-06-13 22:23:43 +00:00
David Oppenheimer
5e5c1d1097
Merge pull request #9767 from mesosphere/skip-exec-test-flake
...
skip flakey unit test for now
2015-06-13 14:31:21 -07:00
James DeFelice
270a4875b0
fix intermittent deadlock w/ nested concurrent action scheduling and
...
give each delegate its own errOnce
2015-06-13 15:19:01 +00:00
Brendan Burns
fcdacdb9a1
Add some more logic to clean up the release-notes generation.
2015-06-12 22:14:40 -07:00
James DeFelice
b8b91fd169
skip flakey unit test for now
2015-06-13 04:25:19 +00:00
Daniel Smith
1a1307765c
add 'porter' test container
2015-06-12 17:17:43 -07:00
Abhi Shah
3ce7fe8310
Merge pull request #9722 from mikedanese/host-ip-spam
...
Fix spammy GetHostIP error log in kubelet
2015-06-12 15:26:54 -07:00
Abhi Shah
86b6150fb0
Merge pull request #9287 from brendandburns/kubectl
...
Add some XSRF protection to kubectl proxy.
2015-06-12 13:51:08 -07:00
Mike Danese
5896ac9e07
skip GetHostIP call on standalone mode kubelet to fix spammy log statement
2015-06-12 11:37:53 -07:00
James DeFelice
1820114a2d
Upstream controller manager and km binary
...
Closes mesosphere/kubernetes-mesos#310
Depends on GoogleCloudPlatform/kubernetes#8882
- fix https://github.com/mesosphere/kubernetes-mesos/issues/336
- Fix comment typo
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11559038
- Add warning to k8s modules to also update mesos copies
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558864
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558855
- Add comments and TODO that hypercube and controllermanager need refactoring
2015-06-12 14:03:00 +00:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
hurf
fa0efe3927
Add label support for kubectl describe
...
Add -l option to kubectl describe command, allow it return
multiple results filtered by label selector.
2015-06-12 15:08:28 +08:00
James DeFelice
6436c4a3bc
additional comments as per code review
2015-06-11 13:47:14 +00:00
James DeFelice
768759d6f1
added km and k8sm-controller-manager binaries from PR#9265
2015-06-11 13:10:01 +00:00
James DeFelice
ee309f3cff
add TODOs
2015-06-11 12:41:50 +00:00
James DeFelice
f445ead2da
use common mesos_ prefix for metrics
2015-06-11 12:40:12 +00:00
Brendan Burns
4aeee94603
Add some XSRF protection to kubectl proxy.
2015-06-10 20:55:33 -07:00
James DeFelice
932c58a497
Kubernetes Mesos integration
...
This commit includes the fundamental components of the Kubernetes Mesos
integration:
* Kubernetes-Mesos scheduler
* Kubernetes-Mesos executor
* Supporting libs
Dependencies and upstream changes are included in a separate commit for easy
review.
After this initial upstream, there'll be two PRs following.
* km (hypercube) and k8sm-controller-manager #9265
* Static pods support #9077
Fixes applied:
- Precise metrics subsystems definitions
- mesosphere/kubernetes-mesos#331
- https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion_r31875232
- https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion_r31875240
- Improve comments and add clarifications
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875208
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875226
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875227
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875228
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875239
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875243
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875234
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875256
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875255
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875251
- Clarify which Schedule function is actually called
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/8882#discussion-diff-31875246
2015-06-10 20:58:39 +00:00
derekwaynecarr
5b005fa30b
Add namespace describer
2015-06-09 15:52:44 -04:00
Mike Danese
d326de9b6c
Merge pull request #9319 from skonzem/fix_doc_typos
...
Fix misspellings in documentation
2015-06-05 12:00:37 -07:00
Quinton Hoole
b425ed1ff5
Merge pull request #9293 from saad-ali/upgradeNFSJun42015
...
Rev NFS image because of #9019
2015-06-05 09:24:57 -07:00
Scott Konzem
1cff55f874
Fix misspellings in documentation
2015-06-05 11:35:17 -04:00
Quinton Hoole
fc80fd6860
Merge pull request #9233 from lavalamp/no-ro-nonbreaking
...
Allow kubectl proxy to proxy everything
2015-06-04 16:22:07 -07:00
Quinton Hoole
1a679bcf5c
Merge pull request #9239 from brendandburns/ha
...
Pro-actively give up the lease if the TTL expires
2015-06-04 16:18:59 -07:00
Alex Robinson
b42869181a
Merge pull request #9277 from GoogleCloudPlatform/sidecar
...
Fix Sidecar PR
2015-06-04 14:33:55 -07:00
saadali
465d7848da
Rev NFS image because of #9019
2015-06-04 13:22:56 -07:00
Brendan Burns
6b837ae004
Add pro-active TTL based lease releasing when we can't communicate with etcd.
2015-06-03 22:03:56 -07:00
Brian Grant
e7788771d6
Merge pull request #9030 from brendandburns/kubectl
...
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Daniel Smith
6695d16cb7
fix prometheus usage of kubectl proxy
2015-06-03 18:31:45 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith
d19490d572
update prometheus example
2015-06-03 15:41:09 -07:00
Brian Grant
a8a3e9d0c7
Merge pull request #9133 from brendandburns/ha
...
Added a simple utility for master election and pod creation.
2015-06-03 14:46:03 -07:00
Brendan Burns
8c4f8a67f0
Added a simple utility for master election and pod creation.
2015-06-03 13:29:51 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Daniel Smith
e3c0e38f1b
Move cluster client creation to client.NewInCluster()
...
Built & pushed nettest:1.4.
2015-06-02 18:47:06 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Brian Grant
949ce892f7
Merge pull request #9094 from derekwaynecarr/update_environ
...
Align systemd environ file with optimal admission controllers
2015-06-02 10:40:33 -07:00
derekwaynecarr
c2642a1349
Align systemd environ file with optimal admission controllers
2015-06-01 21:30:08 -04:00
Clayton Coleman
cfb122a3bf
Enable network-tester to test graceful deletion
2015-06-01 19:24:00 -04:00
Chao Xu
28c1d7ac5b
remove ports.name
2015-06-01 11:37:03 -07:00
Chao Xu
1f8404cb6a
let the contrib/git-sync use a for-loop, rather than relying on the pod's restart policy, to periodically pull from the repo
2015-06-01 11:13:51 -07:00
Chao Xu
94c6c121cc
update contrib/git-sync/demo to v1beta3
2015-06-01 11:13:51 -07:00
Eric Tune
3db1f69eea
Merge pull request #8764 from eparis/sd_notify
...
API server explicitly notify systemd of successful startup
2015-06-01 10:28:49 -07:00
Eric Tune
dd753df166
Merge pull request #8942 from saad-ali/fixGlusterNfsMakefiles
...
Fix makefiles for NFS and Gluster images
2015-06-01 09:24:13 -07:00
Rohit Jnagal
f3b4b1aa31
Merge pull request #9019 from markturansky/recyc_img
...
Fixes nfs-server security issue in image
2015-05-29 16:32:51 -07:00
Rohit Jnagal
42820997e1
Merge pull request #8997 from jsafrane/devel/fix-permissions
...
Fix permissions in e2e volume tests.
2015-05-29 16:30:55 -07:00
Rohit Jnagal
99c9c54c05
Merge pull request #8983 from jlowdermilk/update-patch
...
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
markturansky
53952ad97b
Fixes nfs-server security issue in image
2015-05-29 16:50:54 -04:00
Rohit Jnagal
8d1481ab4a
Merge pull request #8835 from jlowdermilk/release-notes
...
Optionally use a github api token when compiling relase-notes
2015-05-29 13:24:10 -07:00
Jeff Lowdermilk
90a5b8c845
Disable --patch for kubectl update
2015-05-29 09:31:49 -07:00
Jan Safranek
cbbabe585d
Make sure index.html is world-readable.
...
The file is read by 'nginx' UID in e2e tests.
2015-05-29 11:55:57 +02:00
Tim Hockin
3005471100
Add new apiserver flags for clusterIP (nee portal)
...
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin
e0fe9bb4d6
Merge pull request #8959 from lavalamp/networkTimeout
...
Network timeout
2015-05-28 15:49:57 -07:00
Daniel Smith
d683548fd6
Revert "Revert "Revert "Revert "Fix networking test""""
...
This reverts commit 30ffe0325c
.
2015-05-28 15:01:59 -07:00
Eric Paris
28ac1b3395
API server explicitly notify systemd of successful startup
...
Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.
The $NOTIFY_SOCKET protocol is described here:
http://www.freedesktop.org/software/systemd/man/sd_notify.html
Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.
100% stolen from Stef Walter from:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8316
2015-05-28 15:59:26 -04:00
saadali
554119e788
Fix makefiles for NFS and Gluster images
2015-05-28 12:36:47 -07:00
Paul Morie
95d710d02b
Add comments in mt.go
2015-05-28 12:14:53 -04:00
Jeff Lowdermilk
b6cd4bedaa
Optionally use a github api token when compiling relase-notes
2015-05-27 17:18:44 -07:00
Tim Hockin
eab1ceccd4
Merge pull request #8628 from jlowdermilk/delete-not-found
...
Delete fails on notfound errors.
2015-05-27 16:26:41 -07:00
Tim Hockin
ffabf17ed4
Merge pull request #8604 from brendandburns/kubectl
...
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 16:23:59 -07:00
Jeff Lowdermilk
3cf4d9b2e6
Delete fails on notfound errors.
...
If deleting multiple resources, command will continue on error and
report not found resources at the end.
2015-05-27 16:02:54 -07:00
Brendan Burns
2ec4b409e1
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 15:47:32 -07:00
Tim Hockin
9d0a4d8791
Merge pull request #8829 from lavalamp/no-ro-nettest
...
Revert "Revert "Fix networking test""
2015-05-27 12:42:32 -07:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e
rename run-container to run in kubectl
2015-05-27 19:07:17 +02: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
441b690204
Merge pull request #8785 from aveshagarwal/kubernetes-fixes
...
Updating systemd service and environ files for controller-manager as --machines is deprecated.
2015-05-26 18:52:25 -07:00
Saad Ali
bed9f826d3
Merge pull request #7435 from jsafrane/devel/volume-tests
...
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali
e873387846
Merge pull request #8536 from jayunit100/prom-rc
...
Prometheus/promdash replication controller
2015-05-26 14:57:24 -07:00
Daniel Smith
ea4035d08c
Revert "Revert "Fix networking test""
...
This reverts commit a2d24d3e07
.
2015-05-26 13:11:06 -07:00
Cesar Wong
cb872e9243
Rename 'kubectl log' to 'kubectl logs'
2015-05-26 08:28:16 -04:00
Avesh Agarwal
f9d8212ff9
Updating systemd service and enviorn files for controller-manager as
...
--machines is deprecated.
2015-05-25 11:25:16 -04:00
Jan Safranek
20004e0c16
Add e2e tests for Gluster and NFS tests.
...
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
- enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Masahiro Sano
8ce64ec69e
add --all-namespaces flag to request across all namespaces
2015-05-22 23:25:12 +09:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
jayunit100
9a6debbc09
Prometheus service json
...
Update to use a public IP so that services have a sane web-root
2015-05-20 10:33:53 -04:00
Satnam Singh
73b3edb263
Update GPC logging sidecar to use latest gem
2015-05-19 16:42:49 -07:00
jayunit100
39011ae2d1
Prometheus/promdash replication controller
2015-05-19 18:46:17 -04:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Quinton Hoole
a2d24d3e07
Revert "Fix networking test"
2015-05-15 11:04:23 -07:00
Daniel Smith
f820704003
Fix networking test
2015-05-14 14:20:36 -07:00
Zach Loafman
6c3365c418
Merge pull request #7878 from jayunit100/prometheus
...
Prometheus dashboard add-on kube application ( #3118 )
2015-05-14 11:41:41 -07:00
jayunit100
2a8f42560f
Promdash integration, minor changes to marcin's prometheus pods and v1beta3 implementation, and cold-start specification for prometheus+promdash deployment, and move to contrib.
2015-05-14 13:36:04 -04:00
Derek Carr
9454d58547
Merge pull request #8127 from liggitt/service_account_admission
...
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Brendan Burns
46be5482d0
Switch to a newer version of the nettest container.
2015-05-12 17:19:52 -07:00
Jordan Liggitt
e5d47081a2
Add ServiceAccount admission plugin
2015-05-12 15:19:05 -04:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jeff Lowdermilk
ac87ed6516
Merge pull request #8064 from deads2k/death-to-auth-path
...
eliminate auth-path
2015-05-11 15:41:41 -07:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
2015-05-11 17:18:06 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Dawn Chen
ecaf0874b2
Introduce --previous option to kubectl log
2015-05-11 10:14:22 -07:00
Nikhil Jindal
9c0fdc7afd
Merge pull request #8039 from nak3/delete-status
...
Delete status from displayable resources
2015-05-11 10:11:42 -07:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04:00
Kenjiro Nakayama
c13f457885
Use template to get first column in __kubectl_parse_get()
2015-05-10 23:32:24 +09:00
Kenjiro Nakayama
5a0acecc54
Delete status from displayable resources
2015-05-10 19:28:02 +09:00
Eric Paris
d28660ae49
Remove useless bash conditional
...
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
Victor Marmol
92bd8577e0
Merge pull request #7931 from pmorie/typo
...
Fix typos in different config comments
2015-05-08 08:05:51 -07:00
Paul Morie
b5dd5be123
Fix typos in different config comments
2015-05-07 18:44:24 -04:00
Brendan Burns
1375a18175
Update boilerplate.
2015-05-07 09:52:08 -07:00
Brendan Burns
40dde19853
Adds a simple release-note builder that scrapes the Github API for recent PRs.
2015-05-07 09:37:38 -07:00
Vish Kannan
e25210d367
Merge pull request #7822 from thockin/dns
...
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
Wojciech Tyczynski
ca0f678b9a
Merge pull request #7792 from pweil-/security-context-types
...
SecurityContext admission clean up
2015-05-07 10:43:43 +02:00
Tim Hockin
07df69d339
Add a docker image for dnsutils
2015-05-07 00:40:44 -07:00
Brian Grant
32b4b1cdd7
Merge pull request #7575 from brendandburns/kubectl
...
Rolling Updates: Add support for --rollback.
2015-05-06 11:35:57 -07:00
Brendan Burns
c9e33e197d
Add support for --rollback.
2015-05-06 10:21:35 -07:00
Eric Paris
930f8645b5
Update bash completions
...
Because we updated cobra, we get a better set of bash completions
2015-05-05 19:19:47 -04:00
Paul Weil
5acdf5e70b
remove trailing comma. Add sc admission controller to ansible and systemd
2015-05-05 16:34:38 -04:00
Robert Bailey
93a781ff66
Merge pull request #7722 from eparis/minor-bash-fixes
...
Minor bash update found by shellcheck.net
2015-05-04 13:03:26 -07:00
Victor Marmol
90de73ac7a
Merge pull request #7536 from rjnagal/node
...
Add --hostport to run-container.
2015-05-04 12:55:12 -07:00
Eric Paris
87613eee87
Minor bash update found by shellcheck.net
2015-05-04 14:52:50 -04:00
Wojciech Tyczynski
72f9e940a8
Merge pull request #7694 from nak3/bash-comp-add-label
...
Add kubectl_label to custom functions in bash completion
2015-05-04 15:11:41 +02:00
Kenjiro Nakayama
c3485ca85c
Add kubectl_label to custom functions of bash completion
2015-05-04 20:57:56 +09:00
Filip Grzadkowski
be2b2466f3
Merge pull request #7076 from eparis/bash-5-kubectl-required-flags
...
annotate required flags for bash_completions
2015-05-04 13:26:11 +02:00
Rohit Jnagal
9cbfb0c3f9
Add --hostport to run-container.
...
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Victor Marmol
e77fb3a290
Merge pull request #7457 from aveshagarwal/kubelet-systemd-servicefile-issue
...
cadvisor is obsoleted so kubelet service does not require it.
2015-04-29 08:23:12 -07:00
Brendan Burns
e1256c0802
Make delete actually stop resources by default.
...
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Avesh Agarwal
24a90cc57b
cadvisor is obsoleted so kubelet service does not require it.
2015-04-28 16:33:18 -04:00
Alex Robinson
ada9242155
Remove unused env variable from the fluentd dockerfiles and make their apt-get
...
arguments consistent.
2015-04-27 20:47:38 +00:00
Brian Grant
7330ced1fe
Merge pull request #7268 from brendandburns/qps
...
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -07:00
Brendan Burns
217e6ff0d0
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 15:19:00 -07:00
David Oppenheimer
2d69f03183
Merge pull request #7259 from a-robinson/fluentd
...
Make a Fluentd sidecar image and example for sending logs from within a
2015-04-23 17:10:24 -07:00
Alex Robinson
c0956ae0ba
Make a Fluentd sidecar image and example for sending logs from within a
...
pod's filesystem to Elasticsearch, copying liberally from the GCP version.
2015-04-23 15:22:39 -07:00
Jeff Lowdermilk
fa6ce7b7bf
Add a --raw flag to kubectl config view
...
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Satnam Singh
ade79a2b74
Merge pull request #7149 from a-robinson/fluentd
...
Create a Docker image for use as a sidecar log collector that sends logs to Google Cloud Logging
2015-04-22 15:14:19 -07:00
Alex Robinson
a503fecec1
Add an example usage of the cloud logging sidecar image to the same directory
...
as the image components. It doesn't really belong under examples/ since
it's so specific to GCE/GKE.
2015-04-22 21:13:26 +00:00
Alex Robinson
5bf64e9fa3
Create a Docker image for use as a sidecar log collector that sends logs
...
to Google Cloud Logging.
2015-04-22 21:10:45 +00:00
Clayton Coleman
09d86b5fdb
Add completions
2015-04-22 12:54:28 -04:00
Eric Paris
0620940d26
annotate required flags for bash_completions
...
some commands require that certain flags be set in order to function.
Annotate those flags so the bash completions will suggest to the user
that they be set.
2015-04-20 18:33:00 -04:00
Brendan Burns
d7b0b4a95b
Merge pull request #6834 from eparis/bash-4-kubectl-describe
...
Annotate kubectl describe with describable object for bash completions
2015-04-20 14:13:53 -07:00
Brendan Burns
e079e23e47
Merge pull request #6597 from fabioy/kubectl-validate
...
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Alex Robinson
059a8c92bd
Move the logging-related directories to where I think they belong.
...
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.
We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00:00
Paulo Pires
e6e221263a
Removed duplicated markdown file with a different name.
2015-04-17 20:11:12 +01:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Jeff Lowdermilk
97e4549170
Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
...
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
Eric Paris
f272e836e0
Annotate kubectl describe with describable object for bash completions
2015-04-14 18:51:18 -04:00
Eric Paris
de3864a1c2
bash_completions: Generic function for --filename arguments
...
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
Jeff Lowdermilk
037407f49e
Merge pull request #6791 from eparis/bash-2-kubectl-get-resources
...
bash_completions: annotate kubectl get with resources
2015-04-14 15:02:34 -07:00
Jeff Lowdermilk
4f552053f1
Merge pull request #6789 from eparis/bash-custom-functions
...
Add bash completion custom functions
2015-04-14 11:54:22 -07:00
deads2k
bac5cbbe82
add flattening and minifying options to config view
2015-04-14 10:23:10 -04:00
Eric Paris
c75ecbd8e3
bash_completions: annotate kubectl get with resources which can be 'gotten'
...
A user types:
kubectl get $resource
This will cause the bash completions to suggest the possible objects the
user can ask for. The complete list right now is:
endpoints
event
limitrange
namespace
node
persistentvolume
persistentvolumeclaim
pod
replicationcontroller
resourcequota
secret
service
status
But this list should stay up2date as api objects are added or deleted
2015-04-13 19:11:26 -04:00
Eric Paris
f6878aed3c
Add bash completion custom functions
...
These functions call out to kubectl to get information about running
resources. They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
Eric Paris
26149bd83d
Doc generation should remove old doc files
...
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc. But they miss it if your
changes should have REMOVED a doc. Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.
This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
Eric Paris
ebb0affc21
Automatically generate bash completions for kubectl
2015-04-13 15:27:55 -04:00
Timothy St. Clair
2b60111fca
Performance change to option enable client.QPS, client.Burst
...
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Paul Morie
e39a8e33ce
Add mount test image
2015-04-08 22:54:23 +08:00
Eric Paris
d5f7d5eadf
Fix bash completions and update to latest
2015-04-07 20:30:57 -04:00
Brendan Burns
19e4e16ec2
Fix typo.
2015-04-07 11:56:48 -07:00
Brendan Burns
3a6c0370df
Merge pull request #6237 from eparis/ansible
...
example ansible setup repo
2015-04-07 11:55:40 -07:00
Eric Paris
931044be01
update the actual bash completions using this code!
2015-04-06 18:44:03 -04:00
Brendan Burns
88dbdc4a69
Merge pull request #6203 from brendandburns/qps
...
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Brendan Burns
3f98ac07c2
Add a QPS limiter to the kubernetes client.
2015-04-03 11:58:51 -07:00
Eric Paris
051ab346bd
Use IANA ports for etcd
...
http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=etcd
Use 2379 and 2380, not 4001 and 7001
2015-04-03 13:02:56 -04:00
Eric Paris
a94d8e361e
Only run node creation on the first master
...
True, we can only have one master today, but this gets us ready for when
it comes later
2015-04-03 13:01:14 -04:00
Eric Paris
4e8a29c2ca
Add a README file
2015-04-03 13:01:13 -04:00
Eric Paris
d3862b5ea2
Just put all vars in all.yml
...
The distinction between all/etcd/masters wouldn't make sense for a
non-developer
2015-04-03 13:01:13 -04:00
Eric Paris
b25996dbcd
Add comments to configuration variables
2015-04-03 13:01:12 -04:00
Eric Paris
0166392cfe
Collect packge info in the repo, not in python
...
There is no need for a python fact collector, just do it in ansible
commands instead
2015-04-03 13:01:03 -04:00
Eric Paris
c4241fb2ae
Use v1beta3 node definitions
2015-04-03 12:01:46 -04:00
Eric Paris
35c7b16592
example ansible setup repo
...
This is a basic ansible repo that will do a couple of things
1) set up an etcd node
2) set up a master running apiserver, scheduler, controller-manager
3) setup any number of nodes
Hopefully this can be expanded to do things like set up skydns, set up a
private docker repo, set up an overlay network (flannel) etc etc. But
right now all it does is set up etcd and configure a master and nodes.
2015-04-03 12:01:36 -04:00
Yu-Ju Hong
f19ca7b681
Merge pull request #6263 from satnam6502/nettest
...
Switch network tester image to gcr.io
2015-04-03 08:41:12 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Satnam Singh
34f29a1787
Switch network tester image to gcr.io
2015-04-01 17:38:53 -07:00
Jeff Lowdermilk
2d8e93f8b4
e2e images pulled from gcr.io
2015-04-01 09:18:03 -07:00
Jeff Lowdermilk
506887515d
Rename google-containers to google_containers in image names
2015-04-01 09:16:48 -07:00
Satnam Singh
73a9ab2928
Rename logging image to use google_containers
2015-03-31 16:00:52 -07:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Paul Morie
7628b37d78
Add control over container entrypoint
2015-03-31 12:32:03 -04:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Satnam Singh
e114075032
Create gcr.io image for Fluentd to Cloud Logging
2015-03-27 16:34:04 -07:00
Brian Grant
a765236653
Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
...
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Satnam Singh
37689038d2
Merge pull request #6071 from lavalamp/fix2
...
Update network tester files to v1beta3
2015-03-27 12:22:49 -07:00
Daniel Smith
a060c541e9
Update network tester files to v1beta3
2015-03-27 11:09:33 -07:00
Matt Moore
9400b5b4f2
Move the 'private' (authenticated) image into a bucket owned by google-containers.
2015-03-27 09:54:37 -07:00
Satnam Singh
93cb5e0c9c
Create image gcr.io/google-containers/serve_hostnames:1.1
2015-03-26 20:59:34 -07:00
Eric Paris
be3c219181
update example systemd files to be more obvious
...
only set the etcd servers in the apiserver config
set the --master= in the global config
still need --api_servers= different in kubelet because, ummmm, we do
comment out the apiserver config in controller and scheduler, not needed
point the proxy to api, not to etcd
2015-03-20 15:56:42 -04:00
Eric Paris
db4d8d96f0
Set default admission control policies in example init files
2015-03-20 15:56:42 -04:00
Satnam Singh
701c0e23dc
Fix bug in webserver test container and add extra diagnostics
2015-03-18 14:53:03 -07:00
Satnam Singh
0212e68e91
Adjust POS file for Fluentd to Cloud Logging
2015-03-17 11:44:04 -07:00
Timothy St. Clair
140330fca8
Fix to address issue #5461 kube-proxy too many files open
...
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461
2015-03-17 10:13:25 -05:00
Satnam Singh
d395efa463
Make Fluentd to Cloud Logging collector read from head
2015-03-16 16:19:07 -07:00
Daniel Smith
69f92b1b21
Merge pull request #5310 from eparis/tmpfiles
...
Mv tmpfiles to own dir, update to match what kubernetes uses
2015-03-11 13:56:44 -07:00
Eric Paris
3e2a9e194f
kubelet should use --api_servers not --api_server
...
(because the later is not a valid option)
2015-03-11 16:14:25 -04:00
Victor Marmol
c868b0bbf0
Merge pull request #5309 from eparis/kubelet-apiserver-example
...
update --api_servers to include the protocol
2015-03-11 11:47:36 -07:00
Eric Paris
25de2163fe
Mv tmpfiles to own dir, update to match what kubernetes uses
...
It's just easier to package if we keep all the tmpfiles in one place
(even though there is only one)
All of the kube code uses /var/run/ not /run. Even though /var/run is
a link to /run on all systemd systems, it makes sense to me to keep our
codebase consistent.
2015-03-11 14:11:46 -04:00
Eric Paris
d12f989e98
Merge pull request #3602 from cgwalters/apiserver-tmpfiles-cert
...
contrib/systemd: Add tmpfiles.d file
2015-03-11 13:10:15 -05:00
Eric Paris
45026f40d1
update --api_servers to include the protocol
...
Works:
--api_servers=127.0.0.1:8080
--api_servers=http://127.0.0.1:8080
--api_servers=http://localhost:8080
Fails:
--api_servers=localhost:8080
Include the http:// in the example, so users aren't likely to hit the
problem
2015-03-11 14:07:39 -04:00
Eric Paris
1bca6831a4
Do no start kube-proxy until after network is started
...
https://bugzilla.redhat.com/show_bug.cgi?id=1200919
The kube-proxy will die if it starts before the network.
2015-03-11 12:08:11 -04:00
Sam Ghods
e0519f23f7
Fix network tester build error
2015-03-09 19:54:48 -07:00
Timothy St. Clair
2093610e5f
Update file limits from testing
2015-03-03 08:25:31 -06:00
Brendan Burns
9f7b78b0a8
Merge pull request #4937 from thockin/plural_23_endpoints
...
Stop using named ports in examples and scripts.
2015-03-02 10:49:31 -08:00
Tim Hockin
e0e6741027
Stop using named ports in examples and scripts.
2015-03-01 21:30:45 -08:00
Naoki Ainoya
4b43086ff2
Fix typo
2015-03-01 21:07:22 +09:00
Zach Loafman
08402d798c
Merge pull request #4876 from satnam6502/fluentd-gcp
...
Update Fluentd to Cloud Logging image
2015-02-26 18:34:27 -08:00
Satnam Singh
16f49f6d09
Update Fluentd to Cloud Logging image
2015-02-26 15:18:22 -08:00
Tim Hockin
8e873c1100
Fix head
2015-02-26 15:00:01 -08:00
Tim Hockin
672c55bdb3
Merge pull request #4858 from proppy/cross-go2docker
...
contrib/go2docker: always cross compile binary to linux_amd64
2015-02-26 14:24:08 -08:00
Johan Euphrosine
1322421a8a
contrib/go2docker: fix README typo
2015-02-26 14:11:40 -08:00
Johan Euphrosine
9d7f4e8c84
contrib/go2docker: add ca certs
2015-02-26 13:54:59 -08:00
Johan Euphrosine
478257a259
contrib/podex: add http status code handling
2015-02-26 13:30:48 -08:00
Johan Euphrosine
6be03b6121
contrib/go2docker: fix typo
2015-02-26 12:22:36 -08:00
Johan Euphrosine
bdaaa0f143
podex: add daemon mode
2015-02-26 12:17:45 -08:00
Johan Euphrosine
aef560a01a
contrib/podex: split manifest generation
2015-02-26 11:51:26 -08:00
Johan Euphrosine
5838854c27
contrib/go2docker: goimports
2015-02-26 11:06:35 -08:00
Johan Euphrosine
f6e1b77510
contrib/go2docker: cross compile to linux_amd64
2015-02-26 10:56:17 -08:00
Satnam Singh
2b1335eb6b
Remove deprecated co-located ES/Kibana setup
2015-02-25 14:39:41 -08:00
Timothy St. Clair
604df04a9b
Fix for default systemd startup of the kublet, also forcing the hard
...
requirement for the parameter. Sans parameter the kubelet will fail
silently trying to obtain service setting that are placed into the
ENV of the PODS.
2015-02-19 20:13:31 -06:00
Matthew Farrellee
0d2d6ed61e
fix spelling of separate
2015-02-18 14:42:40 -05:00
Matthew Farrellee
b644f63a4b
fix spelling of privileged
2015-02-18 14:42:40 -05:00
Ashwin Raveendran
89d2bb4625
fixes godep save failure
...
godep save ./... fails not finding package gopkg.in/v2/yaml as
the same package is availble as gopkg.in/yaml.v2 through Godeps.json
2015-02-11 15:20:49 -08:00
Jeff Lowdermilk
197059b65d
Remove kubecfg, cleanup a few stray references.
2015-02-10 16:43:12 -08:00
Jeff Lowdermilk
b5cf392a00
Merge pull request #4199 from proppy/git-sync
...
contrib/git-sync: fix demo and doc
2015-02-06 12:20:16 -08:00
Brian Grant
617e1ca7de
Merge pull request #3956 from proppy/go2docker
...
contrib: add go2docker
2015-02-05 17:24:59 -08:00
Johan Euphrosine
a4dce8df3b
contrib/git-sync: fix demo
2015-02-05 17:11:44 -08:00
Brendan Burns
775a04c230
Merge pull request #4167 from eparis/unit-quotes
...
Do not use {} in systemd environment variables
2015-02-05 14:49:08 -08:00
Eric Paris
4b309aa864
Do not use {} in systemd environment variables
...
From the systemd man page:
Use "${FOO}" as part of a word, or as a word of its own, on the command
line, in which case it will be
replaced by the value of the environment variable including
all whitespace it contains, resulting in a single argument.
Use "$FOO" as a separate word on the
command line, in which case it will be replaced
by the value of the environment variable split at
whitespace, resulting in zero or more arguments.
Since we want people to be able to use these for multiple arguments we
need to make sure we don't use {} around the env vars...
2015-02-05 11:36:55 -05:00
Brian Grant
bb6b332a8b
Merge pull request #3099 from proppy/git-sync
...
contrib: add git-sync container
2015-02-05 07:10:24 -08:00
Johan Euphrosine
787fdf3592
README: shorter filename
2015-02-04 11:31:54 -08:00
Johan Euphrosine
83638fdcf3
contrib/podex: update README
...
update usage
2015-02-04 11:25:20 -08:00
deads2k
bc93de314a
remove --ns-path option from .kubeconfig file, kick tests
2015-02-03 14:22:55 -05:00
Johan Euphrosine
8873426314
contrib/git-sync/demo: fix README, add license header
2015-02-02 18:05:57 -08:00
Johan Euphrosine
19751abe13
contrib/git-sync: add demo
2015-02-02 18:02:18 -08:00
Alex Robinson
4b0e4a111e
Merge pull request #4035 from brendandburns/webtest
...
Fix contrib webserver so that it compiles.
2015-02-02 16:08:44 -08:00
Brendan Burns
8bce2ef61c
Fix contrib webserver so that it compiles.
2015-02-02 15:20:28 -08:00
Satnam Singh
c29d89a534
Merge pull request #3357 from proppy/fix-podex
...
contrib/podex: fix ordering and manifest generation
2015-01-30 12:02:15 -08:00
Johan Euphrosine
ec3a7c5a4b
contrib/go2docker: fix go build command line
2015-01-30 00:16:34 -08:00
Johan Euphrosine
5aba5f00c0
contrib/git-sync: add wait
2015-01-29 23:21:49 -08:00
Johan Euphrosine
0415b63ab4
contrib/git-sync: remove sync loop, simplify logic
2015-01-29 15:39:51 -08:00
Johan Euphrosine
1111510b7a
contrib/go2docker: gofmt
2015-01-29 14:52:18 -08:00
Johan Euphrosine
1420c45565
contrib/go2docker: update license header
2015-01-29 14:34:08 -08:00
Johan Euphrosine
e7c4772d27
contrib: add go2docker
2015-01-29 14:28:44 -08:00
Tim Hockin
988d15943f
Merge pull request #3787 from satnam6502/serve_hostname
...
Reduce size of serve_hostname image
2015-01-28 09:07:26 -08:00
Eric Paris
5d117d7b97
Change kubelet working dir to /var/lib/kubelet
...
Some image based OS do not allow writing to /. Since the kubelet looks
for .dockercfg files in the working dir and uses / as the working dir,
this means one can never set a .dockercfg on those distros. This moves
the kubelet working dir to /var/lib/kubelet, where the kubelet naturally
does its work.
2015-01-27 11:34:45 -05:00
Satnam Singh
3841d1b5d1
Reduce size of serve_hostname image
2015-01-24 09:49:26 -08:00
Tim Hockin
8dede15106
Merge pull request #3716 from eparis/kubelet-docker-socket
...
Use docker.service not docker.socket in unit files
2015-01-22 09:22:08 -08:00
Eric Paris
388c179f01
Use docker.service not docker.socket in unit files
...
Some distros, include RHEL and Fedora, are doing away with the docker
socket by default in systemd units, for security reasons. Instead rely
on the docker.service being started instead of socket activation.
2015-01-22 11:37:47 -05:00
Brian Grant
3acd101ef9
Remove bitrotted proof-of-concept generators.
2015-01-22 04:54:22 +00:00
Joe Beda
d20b9d4567
Merge pull request #3666 from thockin/golang-static
...
Fix static builds in go1.4
2015-01-21 10:07:41 -08:00
Tim Hockin
0a538132cf
Fix static builds in go1.4
...
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Satnam Singh
fc83ba704b
Make basic end to end test robustly wait for hostIP
2015-01-20 19:30:13 -08:00
Satnam Singh
efcbdd7860
Put a version tag on kubernetes/serve_hostname
2015-01-20 17:21:05 -08:00
Satnam Singh
88e4139774
Remove trailing newline from served hostname in serve_hostname
2015-01-20 16:31:07 -08:00
Colin Walters
608e00bffd
contrib/systemd: Add tmpfiles.d file
...
Now that that the apiserver can auto-generate self-signed
certificates, and drop them in /var/run/kubernetes (which is really
/run/kubernetes), we need to ensure it's created on boot.
(I'm not sure why the default isnt' *persistent* self-signed
certificates, but that's a different patch)
2015-01-18 21:01:17 -05:00
Johan Euphrosine
363ce1b39a
contrib: fix name and readability, exclude from test
2015-01-16 11:54:11 +01:00
Joe Beda
228659a177
Fix up for posix flags
2015-01-15 09:12:19 -08:00
Johan Euphrosine
8655d7cd07
contrib/podex: switch bool flags to strings
2015-01-14 01:52:55 +00:00
bgrant0607
de2e298fa9
Merge pull request #3196 from smarterclayton/allow_create_to_span_resources
...
Allow create to handle multiple resources, remove createall
2015-01-13 12:23:50 -08:00
Satnam Singh
295bd3768d
Launch Elasticsearch and Kibana automatically
2015-01-09 13:41:46 -08:00
Clayton Coleman
bc86b31a8b
Remove createall now that create supports directories and sources
2015-01-09 13:30:31 -05:00
Johan Euphrosine
f133c118cf
contrib/podex: make flags optional
2015-01-09 15:03:12 +00:00
Johan Euphrosine
1f0d0cdc31
contrib/podex: switch to go-yaml to manage ordering
2015-01-09 14:54:54 +00:00
Johan Euphrosine
686b187067
contrib/podex: remove logging
2015-01-09 12:13:25 +00:00
Tim Hockin
b8f3cfb455
Merge pull request #3313 from proppy/podex-registry-api
...
contrib/podex: use registry API to resolve image metadata
2015-01-08 10:42:57 -08:00
Johan Euphrosine
49776d4d05
contrib/podex: use registry API to resolve image metadata
2015-01-08 12:16:41 +00:00
Satnam Singh
8ab2e9c61a
Use DNS for Elasticsearch
2015-01-06 07:33:48 -08:00
Joe Beda
6df6aab077
Move DNS from contrib to cluster/addons
...
This fixes #3190 .
2015-01-05 12:32:35 -08:00
Tim Hockin
b0268f3833
Use a kubernetes-hosted minimal container for skydns
2014-12-29 09:18:12 -08:00
Tim Hockin
1291c718cf
Use a helper bridge between k8s and SkyDNS
...
Rather than have to keep SkyDNS up to date with Kubernetes, use a
buddy-container "kube2sky" to watch kubernetes and sync Service records
into etcd for SkyDNS ot find. This also adds namespace support.
2014-12-29 09:18:12 -08:00
Tim Hockin
2a110b097d
add contrib/dns/MAINTAINERS
2014-12-29 09:18:12 -08:00
Johan Euphrosine
79dd775d72
contrib/git-sync: add comment
2014-12-23 15:21:51 -08:00
Johan Euphrosine
9f37c9d411
contrib/git-sync: add atomic checkout
2014-12-23 13:54:29 -08:00
Johan Euphrosine
d67db4ecfa
config/git-sync: add envvar prefix, fix README
2014-12-22 17:34:56 -08:00
Johan Euphrosine
0003d5d983
contrib: add git-sync container
2014-12-22 13:13:47 -08:00
bgrant0607
e37e25807c
Merge pull request #2921 from satnam6502/fluentd-ek-colo
...
Fix error in Fluenetd->ES colo pod definition
2014-12-15 12:19:44 -08:00
Satnam Singh
b4fcdd7e47
Collect Kubelet logs with Fluentd->Elasticsearch and Fluentd->Cloud Logging
2014-12-14 01:47:48 -08:00
Satnam Singh
49d5a0e2bd
Fix error in Fluenetd->ES colo service
2014-12-14 00:06:06 -08:00
bgrant0607
a299287ae8
Merge pull request #2832 from jlowdermilk/update-demo
...
Fix update-demo to work correctly with a web browser.
2014-12-11 08:09:42 -08:00
Jeff Lowdermlk
3e3f802f2b
Fix update-demo to work correctly with a web browser.
...
The built in go http.Fileserver handles If-Modified-Since in the
header by comparing it with the last modified date on the
file/directory. Since the file is unaltered when we switch to a
new container, that results in 304s when trying to fetch data.json, so
the browser doesn't fetch the new picture after doing a rolling update.
Separate issue, the Dockerfile ADD command was being interpreted as
`copy html/data.json into a directory called 'html/kitten.jpg '`,
instead of the `copy these 2 files into root`. Changed to separate
commands using COPY, per recommended dockerfile practices.
2014-12-10 12:34:19 -08:00
Daniel Smith
18e47ba056
Add network testing pod
2014-12-09 10:55:10 -08:00
Vojtech Vitek (V-Teq)
397240aebe
Improve error reporting
...
Follow-up of changes introduced in commit 72c922668f
2014-12-09 01:37:24 +01:00
bgrant0607
75daf86da2
Merge pull request #2745 from thockin/serve_hostname
...
Hold serve_hostname code in kubernetes repo
2014-12-04 09:09:42 -08:00
Sam Ghods
6399854240
Remove unused YAML tags and GetYAML/SetYAML methods
...
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Sam Ghods
9a9a1e0939
Move from go-yaml/yaml to ghodss/yaml
2014-12-02 16:24:05 -08:00
Satnam Singh
1b06afd02a
Make output of td-agent quieter
2014-11-28 01:10:35 -08:00
Tim Hockin
47141f05c7
standard config opt names: logging
2014-11-25 17:41:53 -08:00
Tim Hockin
bb88370243
Hold serve_hostname code in kubernetes repo
2014-11-23 23:37:19 +08:00
Joe Beda
40b0b64f3f
Merge pull request #2458 from satnam6502/docfix
...
Fix and update logging documentation
2014-11-20 18:36:59 -08:00
Tim Hockin
95a9098311
fix 'go vet' warnings
2014-11-21 09:45:28 +08:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
Brian Grant
e107da34d2
Create tools for resizing and stopping a replication controller via kubectl.
2014-11-20 18:49:44 +00:00
Eric Paris
45a71bb8f3
fix kubectl log completion
...
When kubectl started returning the right object it changed the template
that needed to be used to get the name of the containers inside the pod.
2014-11-19 14:17:51 -05:00
Satnam Singh
33f3383405
Fix and update logging documentation
2014-11-19 10:48:24 -08:00
Joe Beda
5b9bb1ff6f
Merge branch 'eparis-rename-to-kube'
...
* eparis-rename-to-kube:
rename kube server binaries to kube-
2014-11-17 09:55:11 -08:00
Brendan Burns
acfdefe3b4
Merge pull request #2242 from eparis/bash-comp
...
bash completion update
2014-11-17 09:52:15 -08:00
Joe Beda
66d287f7e4
Merge branch 'rename-to-kube' of https://github.com/eparis/kubernetes into eparis-rename-to-kube
...
* 'rename-to-kube' of https://github.com/eparis/kubernetes :
rename kube server binaries to kube-
Conflicts:
docs/salt.md
2014-11-17 09:52:10 -08:00
Johan Euphrosine
ccc8bc8289
Merge pull request #1960 from jhadvig/podex_readme
...
update Podex README
2014-11-15 14:27:03 -08:00
Dawn Chen
e3d75dbdf7
Merge pull request #2379 from satnam6502/fluentd-ek-doc
...
Update logging documentation to reflect on by default logging
2014-11-14 11:40:33 -08:00
Satnam Singh
7441e2f39b
Update logging documentation to reflect on by default logging
2014-11-14 11:21:36 -08:00
Eric Paris
a99c3c7963
rename kube server binaries to kube-
...
apiserver becomes kube-apiserver
controller-manager -> kube-controller-manager
scheduler and proxy similarly.
Only thing I promise is that right now hack/build-go.sh and
build/release.sh exit with 0. That's it. Who knows if any of this
actually works....
2014-11-13 20:08:26 -05:00
David Oppenheimer
3d69351924
Change update example to use a trivial webserver instead of nginx (issue #1803 ).
2014-11-12 15:13:11 -08:00
davidopp
6a736901ca
Revert "Change update example to use a trivial webserver instead of nginx (issue..."
2014-11-11 23:03:23 -08:00
davidopp
004bc49349
Merge pull request #2320 from davidopp/master
...
Change update example to use a trivial webserver instead of nginx (issue...
2014-11-11 22:56:27 -08:00
David Oppenheimer
03ae4b54a3
Change update example to use a trivial webserver instead of nginx (issue #1803 ).
2014-11-11 22:16:18 -08:00
jhadvig
e0c8d53bbc
update README
2014-11-11 23:00:34 +01:00
Satnam Singh
cb496a365e
Make Fluentd to GCP Logging image self-contained; add log rotation support
2014-11-11 09:21:21 -08:00
Satnam Singh
88dc951019
Extend timeout for proxy Webscoket calls to one day
2014-11-09 23:17:17 -08:00
bgrant0607
e81d69bd02
Merge pull request #2218 from satnam6502/docfix
...
Add a link to a Gist showing a successful cluster creation transcript plus add links to pod and service files for Elasticsearch example.
2014-11-08 11:55:33 -08:00
Satnam Singh
f5c1df0a73
Change tag to latest and use correct pos file syntax for detection of log rotation
2014-11-07 16:54:44 -08:00
Satnam Singh
99356d2a65
Undo pos_file change which does not seem to be working as aspected but keep change to tagging of image.
2014-11-07 14:55:49 -08:00
Satnam Singh
5e56f6435f
Add a link to a Gist showing a successful cluster creation transcript and add links to pod and service description files
2014-11-07 14:39:20 -08:00
Eric Paris
2ec36f71ce
bash completion update
...
add flags for namespace
add get events
add log
remove 'table' output format
add 'templatefile' output format
add 'apply' (but pretend createall doesn't exist becaues it sux when you
want to complete on just 'create')
2014-11-07 16:41:43 -05:00
Satnam Singh
158067c298
Make the Fluentd/Elasticsearch logging robust to log rotation
2014-11-07 02:50:36 -08:00
Tim Hockin
270f1fd153
Add SkyDNS example
...
This is not a complete solution, but a piece of one. More coming.
2014-11-06 17:27:14 -08:00
Sam Ghods
cbd13b599d
Fix two compilation errors when running go build ./...
2014-11-06 12:55:27 -08:00
Satnam Singh
8668d90371
Make Fluentd/Elasticsearch logging support be robust to log rotation
2014-11-05 20:00:53 -08:00
bgrant0607
59fbe2bb49
Merge pull request #2029 from satnam6502/fluentd-ek-doc
...
Fluentd and Elasticsearch with Separate Pods Write Up
2014-11-05 16:04:40 -08:00
Satnam Singh
75b7b0c838
Fluentd and Elasticsearch with Separate Pods Write Up
2014-11-05 13:34:42 -08:00
Eric Paris
9f666969df
In example unit file, run the scheduler as kube, not root
...
Only the kubelet and proxy do things which need root privs
2014-11-05 11:51:15 -05:00
Brian Grant
b8959bf146
Initial cut of simple config generation/transformation tools
2014-11-05 01:14:34 +00:00
Brendan Burns
8d34231381
Fix a bunch of places where the -machines flag was still attached to the apiserver.
2014-11-01 20:38:45 -07:00
Brendan Burns
e8b5bad5b9
Merge pull request #2084 from jeefy/master
...
Community Recipes section
2014-10-31 09:24:59 -07:00
Brendan Burns
a18cdac616
Merge pull request #2014 from satnam6502/fluentd-ek-colo
...
Fluentd example with Elasticsearch and Kibana in the same pod
2014-10-30 21:53:34 -07:00
Brendan Burns
bea70f42e5
Merge pull request #2015 from satnam6502/fluentd-ek
...
Fluentd example with Elasticsearch and Kibana in separate pods
2014-10-30 21:52:28 -07:00
Brendan Burns
448c292ecc
Merge pull request #2021 from satnam6502/fluentd-gcp
...
Demo files for logging for Fluentd and GCP
2014-10-30 21:52:08 -07:00
Jeffrey Sica
a8af6c8bfc
fixed spelling mistake
2014-10-30 19:20:22 -04:00
Jeffrey Sica
16ef3316d8
updated footer formatting
2014-10-30 19:12:20 -04:00
Jeffrey Sica
2306992b7e
Created contrib/recipes
2014-10-30 19:08:46 -04:00
Satnam Singh
70245bc412
Fluentd example with Elasticsearch and Kibana in separate pods
2014-10-30 12:29:44 -07:00
Satnam Singh
260b7ea63e
Demo files for logging for Fluentd and GCP
2014-10-30 09:56:55 -07:00
Eric Paris
7522f194cb
Convert minion_ to kubelet_ in numerous docs
...
The example systemd services files, environment files, and the fedora
manual config doc all used numerous references to minion_. Many of
these are better named kubelet_. Convert them.
2014-10-29 14:38:52 -04:00