Commit Graph

1949 Commits

Author SHA1 Message Date
Mik Vyatskov
3b6353bdc8 Fixed kibana image and controller to work through proxy 2016-11-02 22:06:22 +01:00
Mik Vyatskov
b4c7dfa674 Switched from google-fluentd to configuring fluentd from scratch 2016-11-02 12:08:36 +01:00
Mik Vyatskov
24361fce06 Update fluentd-gcp configuration 2016-11-02 12:06:01 +01:00
Matthew Fisher
6f48d86f0f contribute deis/registry-proxy as the registry cluster addon 2016-11-01 16:06:34 -07:00
Christian Koep
cc1d8951a9
Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
Zihong Zheng
4088e00132 Fixes token_found bug in addon manager 2016-10-30 21:08:11 -07:00
Matt Condon
00f6592d9e fix: elasticsearch template mapping to parse kubernetes.labels 2016-10-28 16:29:34 -04:00
Janet Kuo
10aee82ae3 Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
Zihong Zheng
c449ef8a25 Added CHANGELOG to addon manager 2016-10-27 12:31:19 -07:00
Chao Xu
9a669b31d3 increment kube-addon-manager version number;
remove non-existent kube-addon-update.sh from kube-addon Dockerfile
2016-10-26 14:38:51 -07:00
gmarek
c9f8558a61 Revert "increment kube-addon-manager version number;"
This reverts commit 1f599af791.
2016-10-26 14:33:08 +02:00
Chao Xu
1f599af791 increment kube-addon-manager version number;
remove non-existent kube-addon-update.sh from kube-addon Dockerfile
2016-10-25 22:09:02 -07:00
Kubernetes Submit Queue
25f2fba0e0 Merge pull request #35338 from imikushin/fix-build-addon-manager
Automatic merge from submit-queue

Fix addon-manager image build
2016-10-25 11:02:18 -07:00
Kubernetes Submit Queue
9e50b284af Merge pull request #35435 from Crassirostris/grafana-usage-update
Automatic merge from submit-queue

Update grafana in kubernetes to version 3.1.1

Fix #33775

```release-note
Update grafana version used by default in kubernetes to 3.1.1
```

@piosz
2016-10-24 13:38:07 -07:00
Mik Vyatskov
bb4ba53de2 Update grafana in kubernetes to version 3.1.1 2016-10-24 16:46:30 +02:00
Jan Chaloupka
4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
Mike Danese
88c1ee28ed gazel 2016-10-21 17:31:54 -07:00
Ivan Mikushin
82059781d1 addon-manager: remove kube-addon-update.sh from Dockerfile
the file no longer exists, so the build fails trying to add this file
2016-10-21 15:47:31 -07:00
Kubernetes Submit Queue
47743a5c6f Merge pull request #35219 from r2d4/update-kubectl-addon-mgr
Automatic merge from submit-queue

Update kubectl in addon-manager to v1.5.0-alpha.1

This updates the kubectl version that is vendored into the addon-manager image

`kubectl apply --prune` is currently only implemented in v1.5.0-alpha.1 ea5ecc4145

The kube-addon-manager script will fail on kubectl versions that don't have this flag
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/kube-addons.sh#L154
2016-10-21 01:01:23 -07:00
Kubernetes Submit Queue
35943d6ad6 Merge pull request #34969 from Crassirostris/es-kibana-usage-update
Automatic merge from submit-queue

Update elasticsearch and kibana usage

```release-note
Updated default Elasticsearch and Kibana used for elasticsearch logging destination to versions 2.4.1 and 4.6.1 respectively.
```

Updated controllers for elasticsearch and kibana to use newer versions of images. Fixed e2e test because of elasticsearch backward incompatible API changes.

Fixed out of sync elasticsearch controller for coreos.

@piosz
2016-10-20 12:26:02 -07:00
Kubernetes Submit Queue
34a4846528 Merge pull request #34980 from MrHohn/addon-manager-readme
Automatic merge from submit-queue

Updated addon manager READMEs

Updates addon-manager's README. Based on the pre-condition that the addon manager keeps current "reconciled" pattern instead of "fire-once".

@mikedanese
2016-10-20 11:35:53 -07:00
Matt Rickard
c956b5b4e8 Update kubectl in addon-manager to v1.5.0-alpha.1
`kubectl apply --prune` was only implemented in v1.5.1-alpha.1 (ea5ecc)
2016-10-20 10:30:55 -07:00
Eduardo Silva
5e321af2ed cluser/addons: fluentd-elasticsearch: preload Jemalloc for td-agent
The current DockerFile build an image using td-agent package but it let
the service run with the default memory allocator provided by glibc.

In high load environments, is highly required to use a customized memory
allocator such as Jemalloc. Otherwise the service will face a high memory
fragmentation ending up in 'high memory' usage from a monitoring perspective.

td-agent package by default install Jemalloc and set the LD_PRELOAD
environment variable through it init script, but since the service is
launched through Docker the env variable needs to be set manually.

After this patch, when running td-agent container image now is possible
to see that Jemalloc is used:

  root@monotop:/proc/18810# cat maps |grep jemall
  7f251eddd000-7f251ee1b000 ... /opt/td-agent/embedded/lib/libjemalloc.so.2
  7f251ee1b000-7f251f01b000 ... /opt/td-agent/embedded/lib/libjemalloc.so.2
  7f251f01b000-7f251f01d000 ... /opt/td-agent/embedded/lib/libjemalloc.so.2
  7f251f01d000-7f251f01e000 ... /opt/td-agent/embedded/lib/libjemalloc.so.2

For a reference about the memory usage difference between malloc v/s jemalloc
please refer to the following chart:

  https://goo.gl/dVYTmw

Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
2016-10-20 10:50:58 -06:00
Zihong Zheng
05ce0506f8 Updated addon manager READMEs 2016-10-17 21:10:12 -07:00
Kubernetes Submit Queue
1d323adade Merge pull request #34361 from jessfraz/remove-docker-tag-f
Automatic merge from submit-queue

remove all instances of docker tag -f

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: There is no flag `-f` for newer versions of `docker tag`

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
2016-10-17 19:16:56 -07:00
Mik Vyatskov
9832ae1259 Update elasticsearch and kibana usage 2016-10-17 21:04:25 +02:00
Mik Vyatskov
7a582fcae5 Fixed kibana image 2016-10-17 17:45:59 +02:00
Kubernetes Submit Queue
fd1fd2a14c Merge pull request #34562 from Crassirostris/es-kibana-update
Automatic merge from submit-queue

Elasticsearch and Kibana update

```release-note
Updated Elasticsearch image from version 1.5.1 to version 2.4.1. Updated Kibana image from version 4.0.2 to version 4.6.1.
```

Updated es and kibana images. Made image versions match es/kibana versions they contain.

ref #19149
2016-10-17 03:04:33 -07:00
Mik Vyatskov
5b79b65bd3 Update elasticsearch and kibana images 2016-10-16 16:01:38 +02:00
Kubernetes Submit Queue
4e20339916 Merge pull request #34513 from MrHohn/addon-manager-upgrade
Automatic merge from submit-queue

Upgrade addon-manager with kubectl apply

The first step of #33698.

Use `kubectl apply` to replace addon-manager's previous logic.

The most important issue this PR is targeting is the upgrade from 1.4 to 1.5. Procedure as below:

1. Precondition: After the master is upgraded, new addon-manager starts and all the old resources on nodes are running normally.
2. Annotate the old ReplicationController resources with kubectl.kubernetes.io/last-applied-configuration=""
3. Call `kubectl apply --prune=false` on addons folder to create new addons, including the new Deployments.
4. Wait for one minute for new addons to be spinned up.
5. Enter the periodical loop of `kubectl apply --prune=true`. The old RCs will be pruned at the first call.

Procedure of a normal startup:

1. Addon-manager starts and no addon resources are running.
2. Annotate nothing.
3. Call `kubectl apply --prune=false` to create all new addons.
4. No need to explain the remain.

Remained Issues:
- Need to add `--type` flag to `kubectl apply --prune`, mentioned [here](https://github.com/kubernetes/kubernetes/pull/33075#discussion_r80814070).
- This addon manager is not working properly with the current Deployment heapster, which runs [addon-resizer](https://github.com/kubernetes/contrib/tree/master/addon-resizer) in the same pod and changes resource limit configuration through the apiserver. `kubectl apply` fights with the addon-resizers. May be we should remove the initial resource limit field in the configuration file for this specific Deployment as we removed the replica count.

@mikedanese @thockin @bprashanth 

---

Below are some logical things that may need to be clarified, feel free to **OMIT** them as they are too verbose:
- For upgrade, the old RCs will not fight with the new Deployments during the overlap period even if they use the same label in template:
 - Deployment will not recognize the old pods because it need to match an additional "pod-template-hash" label.
 - ReplicationController will not manage the new pods (created by deployment) because the [`controllerRef`](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/controller-ref.md) feature.
- As we are moving all addons to Deployment, all old RCs would be removed. Attach empty annotation to RCs is only for letting `kubectl apply --prune` to recognize them, the content does not matter.
- We might need to also annotate other resource types if we plan to upgrade them in 1.5 release:
 - They don't need to be attached this fake annotation if they remain in the same name. `kubectl apply` can recognize them by name/type/namespace.
 - In the other case, attaching empty annotations to them will still work. As the plan is to use label selector for annotate, some innocence old resources may also be attached empty annotations, they work as below two cases:
    - Resources that need to be bumped up to a newer version (mainly due to some significant update --- change disallowed fields --- that could not be managed by the update feature of `kubectl apply`) are good to go with this fake annotation, as old resources will be deleted and new sources will be created. The content in annotation does not matter.
    - Resources that need to stay inside the management of `kubectl apply` is also good to go. As `kubectl apply` will [generate a 3-way merge patch](https://github.com/kubernetes/kubernetes/blob/master/pkg/util/strategicpatch/patch.go#L1202-L1226).  This empty annotation is harmless enough.
2016-10-15 08:49:52 -07:00
Kubernetes Submit Queue
6ba83ec0a6 Merge pull request #33484 from Yancey1989/bug_addons_sed
Automatic merge from submit-queue

fix sed command run failed on mac os

bash command ```sed -i ... ``` run failed on mac os, it should be ```sed -i.back ..```
2016-10-14 23:30:07 -07:00
Jess Frazelle
40e71deb25
remove all instances of docker tag -f
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-13 21:26:20 -07:00
Zihong Zheng
0e4e54a6b6 Upgrade addon-manager with kubectl apply 2016-10-11 16:22:02 -07:00
Jess Frazelle
cde5559d09
Update gcloud docker commands to use gcloud docker -- ARGS
We can then avoid the following warning:
```
WARNING: The '--' argument must be specified between gcloud specific args on the left and DOCKER_ARGS on the right. IMPORTANT: previously, commands allowed the omission of the --, and unparsed arguments were treated as implementation args. This usage is being deprecated and will be removed in March 2017.
This will be strictly enforced in March 2017. Use 'gcloud beta docker' to see new behavior.
```

Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-10 13:42:34 -07:00
MrHohn
3e55d4d6bd Bump up addon kube-dns to v20 for graceful termination 2016-09-29 18:09:20 -07:00
Yancey1989
e3c497d461 fix sed command run failed on mac os 2016-09-26 21:00:39 +08:00
MrHohn
55db76241c Tune down initialDelaySeconds for readinessProbe 2016-09-25 12:48:19 -07:00
MrHohn
d17cd1a514 Split dns healthcheck into two different urls 2016-09-22 18:02:30 -07:00
Vishnu kannan
7631b09baf remove cpu limits for dns pod. The current limits are not based on usage profiles
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-21 19:14:52 -07:00
Mik Vyatskov
3fbde5ecfb Fixed elasticsearch cluster logging e2e test on GCI 2016-09-21 13:55:43 +02:00
Kubernetes Submit Queue
e0345a1b1a Merge pull request #32422 from MrHohn/dnsmasq-log
Automatic merge from submit-queue

Added --log-facility flag to enhance dnsmasq logging

Fix #31010.

Dnsmasq in kube-dns pod is logging in default setting, which is somehow hard to locate. Add --log-facility=- flag to redirect logs to std.

@girishkalele
2016-09-15 01:46:49 -07:00
bryk
3f67af659c
Set Dashboard UI to final 1.4 version
Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.4.0

Diff since beta2: a few bug fixes.

This is final release for this quarter.
2016-09-14 15:11:13 +02:00
Piotr Szczesniak
0f40f94dd9 Bumped Heapster to v1.2.0 2016-09-14 09:16:09 +02:00
Marek Grabowski
cc330692ba Merge pull request #32452 from MrHohn/revert-32018-kubedns-deployment
Revert "Use a Deployment for kube-dns"
2016-09-12 09:59:06 +02:00
Kubernetes Submit Queue
2076319020 Merge pull request #32362 from piosz/heap
Automatic merge from submit-queue

Bumped Heapster to v1.2.0-beta.3

The new version contains Kubernetes deps in version `1.4.0-beta.0`
2016-09-11 13:47:44 -07:00
Zihong Zheng
dce1c06ad3 Revert "Use a Deployment for kube-dns" 2016-09-10 20:29:00 -07:00
Kubernetes Submit Queue
fdd3cf89a2 Merge pull request #32018 from MrHohn/kubedns-deployment
Automatic merge from submit-queue

Use a Deployment for kube-dns

Attempt to fix #31554 

Switching kube-dns from using Replication Controller to Deployment.

The outdated kube-dns YAML file in coreos and juju dir is also updated. Most of the specific memory limit in the files remain unchanged because it seems like people were modifying it explicitly(c8d82fc2a9). Only the memory limit for healthz is increased due to this pending investigation(#29688).

YAML files stay in *-rc.yaml format considering there are a lots of scripts in cluster and hack dirs are using this format. But it may be fine to changed them all.

@bprashanth @girishkalele
2016-09-10 19:16:03 -07:00
Kubernetes Submit Queue
43710a8714 Merge pull request #30845 from YuPengZTE/master
Automatic merge from submit-queue

The first letter should be capitalized
2016-09-10 00:22:10 -07:00
MrHohn
604ceac59c Added --log-facility flag to enhance dnsmasq logging 2016-09-09 15:49:09 -07:00
Piotr Szczesniak
2d87deb043 Bumped Heapster to v1.2.0-beta.3 2016-09-09 11:41:48 +02:00
MrHohn
b5c17fa3cd Use deployment for kube-dns 2016-09-02 16:37:36 -07:00
Kubernetes Submit Queue
b921c675a0 Merge pull request #31518 from bryk/release-v1.4.0-beta1
Automatic merge from submit-queue

Increase Dashboard UI version to v1.4.0-beta2

This is our first beta for 1.4. We started synchronizing versions with
the core.

Release tag:
https://github.com/kubernetes/dashboard/releases/tag/v1.4.0-beta2
2016-09-02 09:50:09 -07:00
bryk
b2373b05f9
Increase Dashboard UI version to v1.4.0-beta2
This is our first beta for 1.4. We started synchronizing versions with
the core.

Release tag:
https://github.com/kubernetes/dashboard/releases/tag/v1.4.0-beta2
2016-09-02 15:46:47 +02:00
Kubernetes Submit Queue
dfccabe22f Merge pull request #31961 from piosz/heapster-fix
Automatic merge from submit-queue

Fixed port in Heapster liveness probe

fix #31955
2016-09-02 06:41:18 -07:00
Piotr Szczesniak
45b6b861ae Fixed port in Heapster liveness probe 2016-09-02 11:50:32 +02:00
Wojciech Tyczynski
794074b273 Bump pod nany version to fix a bug 2016-09-02 10:44:41 +02:00
mksalawa
92c7feaf53 Add liveness probe in controller configurations. 2016-09-01 14:37:07 +02:00
mksalawa
84ad23d5e6 Bump heapster version to 1.2.0-beta.2 2016-09-01 14:37:07 +02:00
Wojciech Tyczynski
3c64346e24 Bump addon-resizer version 2016-08-31 14:53:13 +02:00
Wojciech Tyczynski
f75e0ece0a Revert "Bump addon-resizer version in heapster" 2016-08-31 08:30:56 +02:00
Kubernetes Submit Queue
a3b17f5e53 Merge pull request #31614 from wojtek-t/bump_pod_nanny_version
Automatic merge from submit-queue

Bump addon-resizer version in heapster

Ref #31105
2016-08-30 12:14:28 -07:00
Wojciech Tyczynski
0a0f3fd8a7 Bump addon-resizer version in heapster 2016-08-29 16:39:57 +02:00
Piotr Szczesniak
94ca825a19 Update influxdb to 0.12.0 2016-08-26 12:17:00 +02:00
Rudi Chiarito
1e7120f02c Implement ExternalName in kube-dns e2e tests 2016-08-25 09:29:24 -04:00
Kubernetes Submit Queue
e5fbea62c6 Merge pull request #29883 from aledbf/fluent-image-size
Automatic merge from submit-queue

Reduce size of images fluentd-gcp and fluentd-elasticsearch

replaces #26652

```
aledbf/fluentd-elasticsearch                   1.19 769ece5c8ba8 About an hour ago 269.9 MB
gcr.io/google_containers/fluentd-elasticsearch 1.18 0a8cbfbea7f7 5 weeks ago       530.3 MB

aledbf/fluentd-gcp                             1.22 ef979b82a767 About an hour ago 307.9 MB
gcr.io/google_containers/fluentd-gcp           1.21 0ef09b1bcfd7 2 weeks ago       498.5 MB
```

closes #29782
2016-08-23 05:51:44 -07:00
Manuel de Brito Fontes
e2c50152dd Remove kubernetes metadata plugin 2016-08-23 08:21:46 -03:00
Manuel de Brito Fontes
5753a3196c Reduce the size of fluentd images 2016-08-23 08:21:45 -03:00
Piotr Szczesniak
3230a9f36f Make DNS and Heapster critical pods 2016-08-21 07:21:47 +02:00
mksalawa
4b598fec0c Bump heapster version to v1.2.0-beta.1 2016-08-19 17:26:50 +02:00
YuPengZTE
3faa38fcb6 The first letter should be capitalized 2016-08-18 11:49:53 +08:00
Kubernetes Submit Queue
11cfbe6223 Merge pull request #30221 from harryge00/typo-in-fluentd-elasticsearch-addons
Automatic merge from submit-queue

fix typo

Maybe a typo.
2016-08-16 11:10:47 -07:00
Kubernetes Submit Queue
9f8625fb2c Merge pull request #30372 from bbreslauer/addons-kubectl-opts
Automatic merge from submit-queue

Add user-specified kubectl arguments to addons start script

This is a simple way, using the same environment variable paradigm used throughout these scripts, to let a user specify kubectl arguments to the addons script.

fixes #30371
2016-08-13 00:20:33 -07:00
Kubernetes Submit Queue
9fe15e7376 Merge pull request #29037 from matthewdupre/calico-policy-deploy
Automatic merge from submit-queue

Add support for kube-up.sh to deploy Calico network policy to GCI masters

Also remove requirement for calicoctl from Debian / salt installed nodes and clean it up a little by deploying calico-node with a manifest rather than calicoctl.  This also makes it more reliable by retrying properly.

How to use:
```
make quick-release
NETWORK_POLICY_PROVIDER=calico cluster/kube-up.sh
```

One place where I was uncertain:
- CPU allocations (on the master particularly, where there's very little spare capacity).  I took some from etcd, but if there's a better way to decide this, I'm happy to change it.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29037)
<!-- Reviewable:end -->
2016-08-12 08:12:01 -07:00
Matt
568fb74a9a kube-up: move Calico policy components off master, and add support for GCI master 2016-08-11 17:11:16 -07:00
Ben Breslauer
e82c3fbd73 Add user-specified kubectl arguments to addons start script 2016-08-10 18:08:01 -07:00
Kubernetes Submit Queue
9dc3858e1f Merge pull request #30273 from bryk/release-v1.1.1
Automatic merge from submit-queue

Update Dashboard UI to version v1.1.1

Release tag: https://github.com/kubernetes/dashboard/releases/tag/v1.1.1

Release issue: https://github.com/kubernetes/dashboard/issues/1078
2016-08-09 19:38:54 -07:00
Kubernetes Submit Queue
5aaaaff07c Merge pull request #30319 from mbohlool/cleanup_sidepod
Automatic merge from submit-queue

Add cleanup addon pod to remove empty keys from etcd

namespace deletion will leave a trace of empty keys on etcd. This PR adds an addon pod to periodically check for those empty keys on etcd and remove them.

fixes #27307
2016-08-09 17:12:19 -07:00
mbohlool
81cc0c5790 Add cleanup addon pod to remove empty keys in etcd 2016-08-09 15:59:45 -07:00
bryk
0eb1affb85
Increase Dashboard UI version to v1.1.1
Release tag: https://github.com/kubernetes/dashboard/releases/tag/v1.1.1

Release issue: https://github.com/kubernetes/dashboard/issues/1078
2016-08-09 14:56:32 +02:00
haoyuan
a1f20cbdf4 fix typo 2016-08-08 19:33:51 +08:00
Jerzy Szczepkowski
c8d920ea6c Reverted conversion of influx-db to PetSet.
Reverted conversion of influx-db to PetSet.
2016-08-04 17:08:46 +02:00
Daniel Smith
651c8a4b2f Revert "Modified influxdb petset to provision persistent volume." 2016-08-02 14:03:37 -07:00
k8s-merge-robot
cadee46753 Merge pull request #28840 from jszczepkowski/influx-ps
Automatic merge from submit-queue

Modified influxdb petset to provision persistent  volume.


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

[WIP] Modified influxdb petset to create claim.
2016-08-02 11:07:39 -07:00
Jerzy Szczepkowski
f7167d11a8 Modified influxdb petset to provision pv.
Modified influxdb petset to provision pv.
2016-08-02 18:09:14 +02:00
Rick Buskens
77bda6fd16 Updated configuration to spawn multiple threads for processing 2016-08-01 15:08:11 -04:00
k8s-merge-robot
25b6ccfc86 Merge pull request #29754 from bprashanth/exechealthz_version
Automatic merge from submit-queue

Bump exechealthz image

With the new image at least if we observe an exec container taking more ram than it should (like the oom situation, which shouldn't happen today because of the increased limits), we can kubectl exec and check the pprof endpoints. 

Note that I'm not bumping the rc version, because I just did so with: https://github.com/kubernetes/kubernetes/pull/29693.
2016-07-28 16:25:11 -07:00
Prashanth Balasubramanian
1a0374ce4b Bump exechealthz image 2016-07-28 11:53:13 -07:00
Prashanth Balasubramanian
79d7519f67 Give healthz more memory to mitigate #29688 2016-07-27 12:22:36 -07:00
Mike Danese
95e2e299a9 move kube-dns to the cluster/addons/ directory 2016-07-14 11:44:00 -07:00
Douglas Gibbons
2a589b0963 ConfigMap added to kube addon manager. 2016-07-11 13:54:18 +01:00
k8s-merge-robot
9fb45943b5 Merge pull request #28467 from gmarek/addon-manager
Automatic merge from submit-queue

Fix the way addon-manager handles non-namespaced objects

Fixes #28451

cc @wojtek-t
2016-07-07 13:56:21 -07:00
allenmiller
727bd438de Remove unbalanced right-paren 2016-07-07 11:06:01 -07:00
gmarek
0c60cfc98d Fix the way addon-manager handles non-namespaced objects 2016-07-05 10:37:30 +02:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
k8s-merge-robot
d4e6064b70 Merge pull request #28109 from jszczepkowski/influx-ps
Automatic merge from submit-queue

Influxdb migrated to PetSet and PersistentVolumes.

```release-note
Influxdb migrated to PetSet and PersistentVolumes.
```
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Influxdb migrated to PetSet and PersistentVolumes.
2016-06-29 05:02:15 -07:00
k8s-merge-robot
9f53b07b5b Merge pull request #27937 from PiotrProkop/fluentd-elasticsearch-fix
Automatic merge from submit-queue

Adding option to deploy fluentd-elasticsearch in different namespace.

Fixes #27608 .
2016-06-28 05:54:52 -07:00
pprokop
fa91b3e461 Adding option to deploy fluentd-elasticsearch in diffrent namespace then kube-system 2016-06-27 18:15:41 +02:00
Jerzy Szczepkowski
d00cdf75e8 Influxdb migrated to PetSet and PersistentVolumes.
Influxdb migrated to PetSet and PersistentVolumes.
2016-06-27 15:39:09 +02:00
Jerzy Szczepkowski
51c70f2369 Added PetSet support to addon manager.
Added PetSet support to addon manager.
2016-06-24 16:45:41 +02:00
Alex Robinson
19bf9d0624 Support journal logs in fluentd-gcp.
Only run the systemd-journal plugin when on a platform that requests it.
The plugin crashes the fluentd process if the journal isn't present, so
it can't just be run blindly in all configurations.
2016-06-24 00:30:32 +00:00
bryk
aba33495dd Set Dashboard UI version to v1.1.0
This is our final release for this quarter.

Release info, changelog will go there:
https://github.com/kubernetes/dashboard/releases/tag/v1.1.0
2016-06-22 15:15:41 +02:00
Mike Danese
57201fad36 increase addon check interval 2016-06-21 12:48:00 -07:00
k8s-merge-robot
3b57f868d3 Merge pull request #27542 from piosz/heapster-version
Automatic merge from submit-queue

Bumped Heapster to v1.1.0

```release-note
Bumped Heapster to v1.1.0.
More details about the release https://github.com/kubernetes/heapster/releases/tag/v1.1.0
```

Version 1.1.0 doesn't differ from the previous one v1.1.0-beta2 significantly - just fixed few small issues during stabilization period.

cc @a-robinson @jszczepkowski @mwielgus 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-20 04:40:27 -07:00
k8s-merge-robot
5debaf7b88 Merge pull request #27253 from luxas/latest_hyperkube_addons
Automatic merge from submit-queue

Update to dnsmasq:1.3 and make hyperkube always use the latest addons

This bumps dnsmasq to a version that works on all architectures: https://github.com/kubernetes/contrib/pull/1192 (which have to be pushed first indeed)

Also I removed the manifests in hyperkube addons in favor for machine-generated ones, which will avoid mistakes.

This one is required for `v1.3`, so it has to be cherrypicked I think...

It makes docker and docker-multinode addons work again...
(Yes, we'll probably get rid of docker in favor for minikube, but we'll have to have it in this release at least)

@girishkalele @thockin @ArtfulCoder @david-mcmahon @bgrant0607 @mikedanese
2016-06-19 22:19:09 -07:00
Lucas Käldström
6c53c6a997 Make hyperkube work on all platforms, bump dnsmasq to 1.3 and addon-manager to v3, and always use the latest manifests 2016-06-19 17:15:17 +03:00
Piotr Szczesniak
8fff5319db Bumped Heapster to v1.1.0 2016-06-16 20:41:28 +02:00
gmarek
8617f70add Adjust heapster cpu request/limit 2016-06-15 13:34:58 +02:00
k8s-merge-robot
1aece22176 Merge pull request #27187 from gmarek/heapster-nanny
Automatic merge from submit-queue

Adjust memory limit for heapster's pod nanny

cc @piosz @wojtek-t @zmerlynn
2016-06-14 04:56:46 -07:00
Wojciech Tyczynski
ff1258a29e Merge pull request #27268 from wojtek-t/bump_nanny_version
Adjust Heapster requirements and bump nanny version
2016-06-14 10:50:25 +02:00
k8s-merge-robot
024316e5a1 Merge pull request #27183 from bryk/release-beta3
Automatic merge from submit-queue

Set Dashboard UI version to v1.1.0-beta3

We expect 1-2 more betas before final release. 

Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta3

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 07:57:55 -07:00
k8s-merge-robot
e84e226faf Merge pull request #27155 from Random-Liu/remove-unnecessary-configuration
Automatic merge from submit-queue

Remove unnecessary configuration for apiserver host and port.

This is kubernetes side of https://github.com/kubernetes/node-problem-detector/pull/18.

There is no need to configure apiserver host and port with salt and pillar, the default ENV values
in the container are enough. I've tried this PR in my local cluster, everything works fine.

@mikedanese for the salt change. :)
/cc @dchen1107 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 07:57:51 -07:00
Wojciech Tyczynski
430077f173 Increase Heapster requirement and bump nanny version 2016-06-13 13:22:49 +02:00
gmarek
0986efc089 Increase memory limit for heapster's pod nanny 2016-06-13 12:58:34 +02:00
Piotr Szczesniak
89752258ef Use exponential estimator for Heapster addon resizer 2016-06-10 15:39:01 +02:00
bryk
7ca8a99581 Set Dashboard UI version to v1.1.0-beta2
Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta3
2016-06-10 15:33:48 +02:00
Random-Liu
42bd5e2e53 Remove unnecessary configuration for apiserver host and port. 2016-06-09 17:56:57 -07:00
k8s-merge-robot
e0707b137f Merge pull request #26827 from Random-Liu/re-enable-node-problem-detector
Automatic merge from submit-queue

Re-enable node problem detector by default

Re-enable node problem detector started in gce cluster by default.

For now, in the master node, the node problem detector will be started and do nothing (see https://github.com/kubernetes/node-problem-detector/pull/13).

But in fact, in my test cluster, the master has no extra cpu to run the node problem detector, so node problem detector is started on all nodes except master, which is what we want but not expected...

@dchen1107 
/cc @kubernetes/sig-node 
/cc @andyzheng0831 for the gci script change.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-04 12:33:58 -07:00
k8s-merge-robot
714db74611 Merge pull request #26783 from a-robinson/newlogs
Automatic merge from submit-queue

Add collection of the new glbc and cluster-autoscaler logs

I've incremented the version numbers by 2 to avoid conflicting with #26652. I'll make sure the potential conflict between the images gets resolved reasonably.

cc @piosz @bprashanth @aledbf
2016-06-04 07:35:33 -07:00
Random-Liu
7dffea0dc0 Re-enable node problem detector by default 2016-06-03 17:47:50 -07:00
Alex Robinson
bb51c94172 Add collection of the new glbc and cluster-autoscaler logs 2016-06-03 15:50:52 +00:00
bryk
f734d8b786 Set Dashboard UI version to v1.1.0-beta1
This is our second beta. Next will come weekly till we reach final v1.1 version.

https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta2
2016-06-03 15:34:42 +02:00
Alex Robinson
8579509293 Rebuild elasticsearch image to include changes since 1.2 2016-06-01 20:48:20 +00:00
k8s-merge-robot
ee412efcef Merge pull request #26335 from girishkalele/kubedns-transition
Automatic merge from submit-queue

Switch DNS addons from skydns to kubedns

Change GCI and trusty cluster-helper scripts to use kubedns instead of skydns.
2016-05-31 16:14:48 -07:00
Girish Kalele
4c1047d359 Switch DNS addons from skydns to kubedns
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates

Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
Prashanth Balasubramanian
f4d2334919 Add a l7 static pod 2016-05-30 15:57:42 -07:00
Alex Mohr
0f3003671c Merge pull request #25963 from bryk/release-beta1
Set Dashboard UI version to v1.1.0-beta1
2016-05-26 12:38:48 -07:00
Quintin Lee
81ee3e2d30 Fixing heapster memory requirements. 2016-05-23 14:25:55 -07:00
bryk
dfe46f3aa0 Set Dashboard UI version to v1.1.0-beta1
This is first of our betas. From now on, we'll be doing weekly releases
of new betas till we reach final v1.1 version.

https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta1
2016-05-23 09:27:02 +02:00
k8s-merge-robot
fe15db60f4 Merge pull request #25986 from Random-Liu/enable-node-problem-detector
Automatic merge from submit-queue

Add node problem detector as an addon pod.

```release-note
Introduce a new add-on pod NodeProblemDetector.

NodeProblemDetector is a DaemonSet running on each node, monitoring node health and reporting
node problems as NodeCondition and Event. Currently it already supports kernel log monitoring, and
will support more problem detection in the future. It is enabled by default on gce now.
```

This PR enables NodeProblemDetector as an add-on pod.

/cc @mikedanese @kubernetes/sig-node 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-22 06:17:28 -07:00
Mike Danese
bf70cfadf9 Merge pull request #25631 from luxas/hyperkube_cni_cross
Make addon-manager cross-platform and use it with hyperkube
2016-05-20 16:40:51 -07:00
Mike Danese
fd60748249 Merge pull request #25446 from bprashanth/glbc_version
Bump up glbc version to 0.6.2
2016-05-20 16:37:39 -07:00
Random-Liu
195e2494ad Add node problem detector as an addon pod. 2016-05-20 13:54:19 -07:00
Lucas Käldström
73947cc5aa Large changes to the docker deployment. Added kube-addon-manager as a static pod. The addon-manager deploys kube-proxy as a DaemonSet as well as Dashboard and DNS automatically. SecurityContextDeny is removed from the manifests. Also, the turnup.sh and turndown.sh scripts are removed because we don't need them anymore, they're covered by the online documentation 2016-05-20 19:28:13 +03:00
Lucas Käldström
bff87ff2a7 Make the addon-manager cross-platform, change naming to binary-arch:version, remove deprecated kubectl command, add support for DaemonSets 2016-05-20 19:27:42 +03:00
Filip Grzadkowski
18e67573b8 Merge pull request #25739 from piosz/heapster-1.1.0-beta2
Bumped Heapster to v1.1.0-beta2
2016-05-20 15:41:54 +02:00
Piotr Szczesniak
eea3a4e5fb Bumped Heapster to v1.1.0-beta2 2016-05-19 20:43:30 +02:00
Tim Hockin
77eff06a53 Make IsDNS1123Label return error strings 2016-05-19 08:57:49 -07:00
k8s-merge-robot
7fdfe1b387 Merge pull request #25309 from keontang/es-patch
Automatic merge from submit-queue

add index template for es aggregations

This index template helps us to do es aggregations of namespace_name, pod_name and container_name. Then after doing eggs, we will get the whole name not all the spilt pieces.  
fix #25127
2016-05-16 01:01:24 -07:00
keontang
1520a01d97 Fixed #25127 2016-05-16 09:03:00 +08:00
Paul Weil
65c8a1f66c default policy 2016-05-11 18:07:36 -04:00
Prashanth Balasubramanian
0a1c15c64a Bump up glbc version to 0.6.2 2016-05-10 17:07:45 -07:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
k8s-merge-robot
f46f35a9df Merge pull request #23600 from mikedanese/addon-manager
Automatic merge from submit-queue

run kube-addon-manager in a static pod

Depends on https://github.com/kubernetes/kubernetes/pull/23605 and https://github.com/kubernetes/kubernetes/pull/24108

Ref #23233
2016-05-08 11:30:44 -07:00
k8s-merge-robot
2b46c4b7e2 Merge pull request #24391 from bprashanth/ing_templated_controller
Automatic merge from submit-queue

Template the ingress controller 

We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
2016-05-06 20:04:51 -07:00
Mike Danese
3e1c0b5951 run kube-addon-manager in a pod 2016-05-06 11:01:06 -07:00
Mike Danese
181e95c073 rever the vspeher change to skydns plugin 2016-05-01 14:56:57 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Abhishek Shah
8a3ed48808 Added Hostname and Subdomain field to Pod.Spec 2016-04-28 10:56:56 -07:00
k8s-merge-robot
3fa84134cd Merge pull request #24124 from vmware/photon-controller
Automatic merge from submit-queue

Initial kube-up support for VMware's Photon Controller

This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-27 01:02:03 -07:00
Alain Roy
fa9d79df75 Initial kube-up support for VMware's Photon Controller
This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-25 13:24:16 -07:00
Prashanth Balasubramanian
b066cb5357 Templatize l7 rc 2016-04-20 16:15:22 -07:00
k8s-merge-robot
2be704f9ad Merge pull request #24465 from aknuds1/glbc
Automatic merge from submit-queue

Fix GLBC cluster addon README link

Fix the link to L7 load balancer controller in GLBC cluster addon README.

Fixed #24462.
2016-04-20 09:57:22 -07:00
Arve Knudsen
425111e02d Fix README link 2016-04-19 12:35:53 +02:00
Yu-Ju Hong
e97eb4dc6a Remove host port in influxdb-grafana-controller.yaml
There is no valid reason to keep the host ports in the pod spec.
2016-04-18 16:29:58 -07:00
k8s-merge-robot
16e2e87a89 Merge pull request #23605 from mikedanese/pause-kube
Automatic merge from submit-queue

don't ship kube-registry-proxy and pause images in tars.

pause is built into containervm. if it's not on the machine we should just pull
it. nobody that I'm aware of uses kube-registry-proxy and it makes build/deployment
more complicated and slower.
2016-04-15 00:26:20 -07:00
k8s-merge-robot
78dc9c7716 Merge pull request #19376 from luxas/dns_cross_platform
Automatic merge from submit-queue

Make kube2sky and skydns docker images cross-platform

ARM tracking issue: #17981
Continues on: #19216

Make it possible to create `kube2sky` and `skydns` docker images for ARM and other architectures too
Build in a container, so `golang` isn't a dependency
I've preserved the original default behaviour:
 - `skydns`: It just compiles with go on host
 - `kube2sky`: Build an image

@brendandburns @dchen1107 @ArtfulCoder @thockin @fgrzadkowski
2016-04-11 05:47:10 -07:00
Lucas Käldström
1c8140c2ac Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le 2016-04-11 07:31:59 +03:00
Mike Danese
32426d6e97 don't ship kube-registry-proxy and pause in tars.
pause is built into containervm. if it's not on the machine we should just pull
it. nobody that I'm aware of uses kube-registry-proxy and it makes build/deployment
more complicated and slower.
2016-04-05 07:32:07 -07:00
Marcin Maciaszczyk
7250028484 Update Dashboard UI addon to v1.0.1
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
2016-04-04 09:13:31 +02:00
Quintin Lee
0dcd49d584 Create a new Deployment in kube-system for every version. 2016-03-29 13:26:36 -07:00
Piotr Szczesniak
bf78d3a54b Bumped Heapster to v1.1.0-beta1 2016-03-25 10:43:32 +01:00
k8s-merge-robot
4e4ad61260 Merge pull request #23366 from goltermann/vet
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
k8s-merge-robot
76369c42be Merge pull request #22939 from resouer/util-sub-dir
Auto commit by PR queue bot
2016-03-23 03:34:33 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
Quintin Lee
0c22277020 Use the same constants as heapster for the heapster nanny. 2016-03-22 13:17:06 -07:00
Quintin Lee
c484563315 Removing versions from deployment names. 2016-03-22 13:17:06 -07:00
Quintin Lee
79f0cc25e8 Support addon Deployments, make heapster a deployment with a nanny. 2016-03-22 13:17:06 -07:00
Cole Mickens
c184f7ed21 kube2sky readme: fix flags 2016-03-17 21:59:07 -07:00
Piotr Szczesniak
65e41f138b Updated documentation about monitoring addons 2016-03-16 10:10:55 +01:00
Piotr Szczesniak
1f577181af Bumped Heapster to stable version 1.0.0 2016-03-15 17:44:23 +01:00
Marcin Wielgus
6123df9992 Heapster sizing adjustments 2016-03-14 20:00:17 +01:00
harry
f19d59cf35 Move flag into sub pkg 2016-03-14 21:30:38 +08:00
k8s-merge-robot
0af90c1920 Merge pull request #22851 from piosz/heapster-1.0beta
Auto commit by PR queue bot
2016-03-11 13:03:17 -08:00
Brian Grant
1a1a77d0ab Merge pull request #22564 from ArtfulCoder/dnsdoc
Update DNS document to talk about the new Pod and Endpoints Annotations to set hostname
2016-03-11 12:19:38 -08:00
Piotr Szczesniak
03656afd2a Bumped Heapster to v1.0.0-beta1 2016-03-11 13:38:32 +01:00
Piotr Szczesniak
dda0c96f0b Bumped Heapster to v0.20.0-alpha12 2016-03-10 18:25:51 +01:00
k8s-merge-robot
75699ff5ea Merge pull request #22458 from bprashanth/ing_tls_e2e
Auto commit by PR queue bot
2016-03-08 11:53:56 -08:00
bryk
d4c4e7c22c Update Dashboard UI addon to v1.0.0
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0
2016-03-08 10:21:36 +01:00
Prashanth Balasubramanian
c76f1ab766 Bump glbc version. 2016-03-07 20:20:08 -08:00
Abhishek Shah
11327de8db Update Kubernetes DNS document to talk about the new Pod and Endpoints Annotations to set hostname 2016-03-07 18:37:30 -08:00
Mike Zupan
dc643d2592 Fixing a simple typo 2016-03-06 23:49:35 -08:00
k8s-merge-robot
0a21fa06d9 Merge pull request #22539 from a-robinson/newf
Auto commit by PR queue bot
2016-03-05 08:26:59 -08:00
Alex Robinson
3216204668 Update to the latest version of google-fluentd.
It includes some performance improvements for parsing JSON (which is
very important for us, since all Docker logs are JSON) as well as a
couple new settings, like forcing of a flush of multiline logs after a
time period rather than having to wait until a new log is seen before
feeling confident flushing the previous one.
2016-03-05 00:18:31 +00:00
Abhi Shah
9bfd70f8f6 Merge pull request #20688 from ArtfulCoder/podhostname
Specify Pod hostname by Annotation
2016-03-04 15:17:34 -08:00
Abhi Shah
c47564f00b Merge pull request #22542 from timstclair/heapster
Use the summary_api with heapster by default
2016-03-04 13:37:52 -08:00
Abhishek Shah
a3c00aadd5 Specify hostname, subdomain via annotation on podspec.
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Abhi Shah
df05c5ae7d Merge pull request #22253 from bprashanth/kubedns
Wait on Kubernetes service in DNS pod
2016-03-04 12:50:05 -08:00
Tim St. Clair
1d90394bf6 Use the summary_api with heapster by default 2016-03-04 10:37:00 -08:00
Abhi Shah
a20258efae Merge pull request #22492 from vishh/heapster-update
Update heapster to v0.20.0.alpha11
2016-03-04 09:27:01 -08:00
Alex Robinson
29eb6020fb Merge pull request #22074 from a-robinson/images
Update the logging images to parse sub-second docker timestamps.
2016-03-04 09:04:33 -08:00
Vishnu kannan
60fadb3fe5 Update heapster to v0.20.0.alpha11
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-03 16:50:09 -08:00
Prashanth Balasubramanian
8de2fbfa0a Kube2sky synchronously waits for the Kubernetes service. 2016-03-03 15:49:46 -08:00
Alex Robinson
feea376b5c Update the logging images to parse sub-second docker timestamps. 2016-03-03 10:21:30 -08:00
k8s-merge-robot
d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
k8s-merge-robot
2cf91576a1 Merge pull request #22274 from piosz/bump-heapster
Auto commit by PR queue bot
2016-03-02 11:23:30 -08:00
k8s-merge-robot
a6e534ff6a Merge pull request #21745 from bryk/release-beta1
Auto commit by PR queue bot
2016-03-02 08:33:56 -08:00
Piotr Szczesniak
80269abfd0 Bumped Heapster to v0.20.0-alpha10 2016-03-02 15:51:27 +01:00
Marcin Wielgus
f85c50b0b3 Update Grafana to support new Influxdb schema 2016-03-02 11:51:57 +01:00
Alex Robinson
1a538a5896 Merge pull request #22091 from a-robinson/multiline
Fix parsing of kube logs to handle logs split across lines.
2016-03-01 15:03:58 -08:00
Filip Grzadkowski
daabd0c835 Revert "switch heapster addon to summary metrics api" 2016-03-01 11:59:26 +01:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
bryk
1fa320bac9 Set Dashboard UI addon version to latest release
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0-beta1
2016-02-29 16:17:14 +01:00
Tim St. Clair
2dd4f69e43 switch heapster addon to summary metrics api 2016-02-26 15:48:52 -08:00
Alex Robinson
f8965a6f41 Fix parsing of kube logs to handle logs split across lines.
I didn't expect glog to split single log statements onto multiple lines,
but apparently it does if they're long enough. This groups them back
together appropriately.
2016-02-26 22:58:46 +00:00
k8s-merge-robot
766657cd19 Merge pull request #21504 from luxas/fix_certs_for_hyperkube
Auto commit by PR queue bot
2016-02-26 06:53:29 -08:00
k8s-merge-robot
e63127e0eb Merge pull request #21985 from mwielgus/heapster-alpha8
Auto commit by PR queue bot
2016-02-25 21:52:42 -08:00
Lucas Käldström
e9af6c34af Update the DNS template from cluster/addons/dns and combine into one file. Make DNS working on docker and docker-multinode 2016-02-25 21:59:07 +02:00
Marcin Wielgus
11fad31448 Heapster v0.20.0-alpha8 2016-02-25 16:26:32 +01:00
gmarek
98eb12e1ed Update memory requirements for influxdb 2016-02-25 16:15:54 +01:00
Alex Robinson
af93275f13 Merge pull request #21482 from chrisleck/cle-sub-second-fluentd
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs
2016-02-24 13:52:30 -08:00
k8s-merge-robot
8f3d7110d5 Merge pull request #21466 from mwielgus/heapster-alpha7
Auto commit by PR queue bot
2016-02-24 05:41:36 -08:00
Dawn Chen
201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
k8s-merge-robot
85018f728e Merge pull request #21258 from gmarek/heapster
Auto commit by PR queue bot
2016-02-22 01:24:58 -08:00
Prashanth Balasubramanian
058db9a758 Add image version to glbc name, and fix e2e appropriately. 2016-02-18 13:03:01 -08:00
Christopher Eck
c34ecf7100 Enable fluentd to parse the sub-second portion of timestamps coming from docker logs. 2016-02-18 11:07:27 -08:00
Marcin Wielgus
d9c8f7fa5f Bump Heapster to v0.20.0-alpha7 2016-02-18 12:57:13 +01:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
gmarek
9c722ba98e Update memory requirements for new Heapster 2016-02-15 14:05:47 +01:00
Piotr Szczesniak
917a34a2aa Bumped Heapster to v0.20.0-alpha6 2016-02-11 11:44:29 +01:00
Marcin
eb19f3a977 Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb 2016-02-09 20:31:43 +01:00
Jan Chaloupka
4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
k8s-merge-robot
d1b7fb3025 Merge pull request #20630 from a-robinson/logparse
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
k8s-merge-robot
fe269474ca Merge pull request #20330 from bryk/kubernetes-dashboard
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Marcin Wielgus
6c2b338af0 Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4 2016-02-05 15:33:09 +01:00
bryk
46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Alex Robinson
e5c5f76402 Update the default fluentd images to parse system logs. 2016-02-04 23:29:27 +00:00
Alex Robinson
592da85a81 Parse system logs into structured messages in fluentd.
This allows you to filter based on components of the log,
like their severity, in the developers console or elasticsearch.
2016-02-04 08:14:59 +00:00
Paul Morie
b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie
05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
Marcin Wielgus
bdf563be4b Use Heapster v0.20.0-alpha3 2016-02-01 12:22:11 +01:00
Marcin Wielgus
a14f791d8c Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
This reverts commit b4188ec459, reversing
changes made to 28951bd66a.
2016-02-01 12:12:37 +01:00
k8s-merge-robot
e953f4a074 Merge pull request #19628 from mikedanese/dns-headless
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
k8s-merge-robot
40ff292294 Merge pull request #20286 from mikedanese/kube-ui-v5
Auto commit by PR queue bot
2016-01-29 10:51:00 -08:00
Filip Grzadkowski
13480c171d Revert "Yet another try to migrate to the new Heapster" 2016-01-29 15:03:49 +01:00
Piotr Szczesniak
7d4a948b1f Yet another try to migrate to the new Heapster 2016-01-29 09:56:49 +01:00
Piotr Szczesniak
0c5cc1bde1 Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
This reverts commit 06996d5af9, reversing
changes made to b2f6e7d08f.
2016-01-29 09:19:03 +01:00
Mike Danese
b1ca73a5b2 kube-ui: upgrade to v5 2016-01-28 13:02:25 -08:00
Prashanth B
952449585e Merge pull request #20164 from bprashanth/glbc_0.5.2
Bump glbc to 0.5.2
2016-01-28 08:21:32 -08:00
k8s-merge-robot
458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Filip Grzadkowski
0dedf869c7 Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1" 2016-01-27 17:22:36 +01:00
Piotr Szczesniak
e96993f2ce Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1 2016-01-27 11:09:18 +01:00
Alex Robinson
6acf297231 Update the fluentd versions to include fixes for #19405. 2016-01-27 00:30:53 +00:00
Alex Robinson
ac13e851e2 Don't let fluentd pipe its own logs directly back into itself. 2016-01-27 00:30:53 +00:00
Alex Robinson
95a4ea3fc8 Increase the fluentd buffer chunk size to improve write throughput.
Also reduce the max wait between retries, 30 seconds should be more than
enough backoff.
2016-01-27 00:30:50 +00:00
Clayton Coleman
38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Prashanth Balasubramanian
eecfdc065b Bump glbc to 0.5.2 2016-01-26 10:40:07 -08:00
k8s-merge-robot
3f40fb7d0a Merge pull request #17923 from yuvipanda/kube2dns-pflag
Auto commit by PR queue bot
2016-01-26 02:13:44 -08:00
k8s-merge-robot
110f995484 Merge pull request #19748 from freehan/registry
Auto commit by PR queue bot
2016-01-25 19:48:10 -08:00
Mike Danese
69add2fb80 dns: don't die when a headless service declares no ports
Headless services are not required to declare ports.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
Piotr Szczesniak
f93b1f1043 Bumped Heapster to v0.18.5 to fix issue with nil pointer panic 2016-01-25 21:55:16 +01:00
Piotr Szczesniak
e6f3e2893a Fixed syntax issue in Heapster config 2016-01-22 10:29:38 +01:00
YuviPanda
12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda
cd23dcee34 Use pflag instead of flag in kube2dns
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Minhan Xia
3da8d80187 fix jinja syntax error 2016-01-21 16:03:49 -08:00
Alex Mohr
4c8e28b77c Merge pull request #19535 from brendandburns/salt
Check that num_nodes is both defined and not None, not just defined
2016-01-21 10:42:53 -08:00
Alex Mohr
20ec685a50 Merge pull request #19271 from mbonaci/patch-1
Fix small dns readme error
2016-01-21 10:36:34 -08:00
Minhan Xia
33ecc6226e add extension links in registry README 2016-01-20 16:49:53 -08:00
Minhan Xia
263ac066e2 add docs to setup auth for kube-registry 2016-01-20 16:49:45 -08:00
Minhan Xia
64d267f251 add docs for enabling tls for kube-registry 2016-01-19 17:02:30 -08:00
Minhan Xia
42ac5d2bd9 add docs about running private registry with gcs 2016-01-19 16:57:39 -08:00
Piotr Szczesniak
b4b5ead09a Bumped Heapster to v0.18.4 to fix issue with broken watch 2016-01-14 13:02:56 +01:00
Brendan Burns
9c843495d7 Check that num_nodes is both defined and not None, not just defined 2016-01-12 07:20:35 -08:00
Marko Bonaći
5cbd461442 Fix dns readme (kubectl output: REASON -> STATUS) 2016-01-04 23:47:04 +01:00
k8s-merge-robot
3f91f18a55 Merge pull request #18488 from yifan-gu/dockerized_python
Auto commit by PR queue bot
2015-12-19 10:52:15 -08:00
Yifan Gu
516032f336 kube-addons: Use python container if python is not found on the machine.
To build the python image, BUILD_PYTHON_IMAGE should be set during make.
When the addon script is running, it will check if python is installed
on the machine, if not, it will use the python image that built previously.
2015-12-18 15:14:56 -08:00
gmarek
2d5c429f9d Add resource requests to addons 2015-12-17 10:13:15 +01:00
Abhi Shah
89670c1df8 Merge pull request #18733 from ArtfulCoder/kube2sky-ver
update kube2sky version
2015-12-16 13:42:01 -08:00
k8s-merge-robot
e7e350dce9 Merge pull request #18718 from mikedanese/kube-ui-v4
Auto commit by PR queue bot
2015-12-15 15:42:43 -08:00
Abhishek Shah
5abfce45e1 update kube2sky version 2015-12-15 15:16:47 -08:00
Minhan Xia
ea34f453b8 Merge pull request #18678 from freehan/esmaster
enforce node quorum to prevent es split brain problem
2015-12-15 13:25:00 -08:00
Mike Danese
b660cf9596 update kube-ui to v4 2015-12-15 10:12:02 -08:00
Abhi Shah
9c0e777567 Merge pull request #17952 from upmc-enterprises/dns_fix 2015-12-14 20:42:53 -08:00
Minhan Xia
b4c72e56ce enforce node quorum to prevent es split brain problem 2015-12-14 18:16:04 -08:00
k8s-merge-robot
6cd73690e1 Merge pull request #18669 from luxas/kube2sky_remove_amd_only
Auto commit by PR queue bot
2015-12-14 13:58:21 -08:00
Lucas Käldström
cff9c2f94c Don't restrict kube2sky to build only for amd64, make possible for arm too 2015-12-14 20:44:12 +02:00
Prashanth Balasubramanian
c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
Steve Sloka
034ecbd300 Gave pods their own cache store 2015-11-30 11:21:44 -05:00
k8s-merge-robot
e95e3dec42 Merge pull request #17414 from timstclair/apiserver
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Tim St. Clair
20ead45af9 Move etcd_util.go to separate package 2015-11-23 11:32:50 -08:00
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Matt Moore
b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Derek Parker
909fba00a5 docs: fix typo 2015-11-12 11:45:04 -08:00
Prashanth Balasubramanian
10d1d4c791 Ingress doc clarifications 2015-11-06 12:01:52 -08:00
Alex Robinson
887b9dd78a Merge pull request #16232 from bprashanth/salt
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
Prashanth Balasubramanian
962cc11f73 Cluster-loadbalancing addon 2015-10-29 15:07:25 -07:00
Alex Robinson
f0ebe4066f Update fluentd-gcp to include all recent improvements that are in the
new google-fluentd 1.5.4-1 build.
2015-10-29 11:54:07 +00:00
Brendan Burns
90d9e6e935 Make heapster config creation dynamic 2015-10-22 12:05:49 -07:00
Abhishek Shah
de44e4cbc6 update skydns config so that it does not rely on /etc/hosts 2015-10-20 11:19:08 -07:00
k8s-merge-robot
bd1c26c152 Merge pull request #15765 from mqliang/importAlias-kSelector
Auto commit by PR queue bot
2015-10-19 08:03:15 -07:00
mqliang
bea0fc7cb6 Del capatical local packagename for kSelector 2015-10-16 16:09:09 +08:00
combk8s
59b392c4fa Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
Abhishek Shah
f2c8d1bdd5 New SkyDNS build (Oct 13, 2015, 8c72f8c). Set ns-rotate to false. rtimeout is now defaulting to 2 seconds. SkyDNS container includes its sources in /skydns_sources.tar.gz 2015-10-13 14:11:56 -07:00
Dawn Chen
92fcbb6b54 Merge pull request #15182 from thockin/registry-doc
Add a README for private registry
2015-10-12 14:41:53 -07:00
k8s-merge-robot
8e25b7c7bf Merge pull request #15341 from vishh/grafana-update
Auto commit by PR queue bot
2015-10-10 14:21:01 -07:00
k8s-merge-robot
8580804f77 Merge pull request #15138 from mattmoor/limited-beta-rewrite
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
Vishnu kannan
64218c5edb Update grafana to v2.1.1. Default dashboards in Grafana will be setup
automatically.
2015-10-08 17:01:16 -07:00
Tim Hockin
0b50b7e00f Add a README for private registry
It's not perfect but it is better than no docs.
2015-10-08 12:33:43 -07:00
k8s-merge-robot
074da2e05d Merge pull request #15208 from mikedanese/v3-bump
Auto commit by PR queue bot
2015-10-08 11:22:15 -07:00
Abhishek Shah
d92d4124dd changed localhost to 127.0.0.1 for dns healthcheck 2015-10-08 09:34:07 -07:00
Mike Danese
2b22b252f3 bump kube-ui to v3 2015-10-06 18:34:03 -07:00
Matt Moore
eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
Piotr Szczesniak
94080973b1 Bumbed Heapster to v0.18.2 and changed its config
The new version fixes problem with missing metrics.
The new config decreases load on GCM/InfluxDB.

Increased stats resolution from default 5s to 30s.
Decreased sink frequency from 2m to 1m.
2015-10-05 09:51:01 +02:00
k8s-merge-robot
ff5c0f95c1 Merge pull request #14663 from vishh/grafana
Auto commit by PR queue bot
2015-09-30 21:30:50 -07:00
eulerzgy
71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Abhi Shah
29c3c23aa0 Merge pull request #14625 from ArtfulCoder/dnstest
adjust read timeout for skydns. default is too high. (changed 4 seconds-> 2seconds)
2015-09-29 22:04:09 -07:00
Vishnu kannan
76d7cbc9cf 1. Make grafana accessible via api-server proxy
2. Add a persistent storage for grafana.
3. Do not enable LoadBalancer by default for Grafana service. This breaks in many deployments.
2015-09-28 17:17:07 -07:00
Abhishek Shah
5d2f3e6683 adjust read timeout for skydns. default is too high (2 seconds.) 2015-09-28 14:07:25 -07:00
Steve Sloka
717660aa35 Allow pods to have dns 2015-09-25 17:22:38 -04:00
Vishnu kannan
989aaef94f Upgraded heapster to v0.18.1, influxDB to v0.8.9, and Grafana to v2.0. 2015-09-21 15:42:24 -07:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Alex Mohr
943d7160d5 Merge pull request #14033 from gosharplite/patch-8
nslookup in different namespace
2015-09-16 14:31:22 -07:00
k8s-merge-robot
14ccba8924 Merge pull request #13886 from a-robinson/logtags
Auto commit by PR queue bot
2015-09-16 05:51:32 -07:00
Tony Hsu
bab127e094 nslookup in different namespace
Since skydns is created in namespace 'kube-system' and kubernetes service is created in namespace 'default', if busybox is created in namespace 'kube-system' then nslookup will work with 'kubernetes.default'.
2015-09-16 17:44:02 +08:00
Alex Robinson
8040f75594 Update fluentd-gcp to use a new google-fluentd build with my recent
changes to fluent-plugin-google-cloud to attach Kubernetes metadata to
logs.

Along with this, separate logs from containers in the cluster out from
logs from the daemons running on the node by instantiating two instances
of the output plugin, one which uses the new metadata (for containers)
and one which doesn't (for things like docker and the kubelet).
2015-09-15 23:14:43 +00:00
Alex Robinson
f691dca96e Don't install unused configs in the fluentd-gcp Dockerfile. 2015-09-11 16:52:52 -07:00
Alex Robinson
614b1cf3c1 Replace /varlog with /var/log in the fluentd-gcp config to match the
recently updated fluent-es config.
2015-09-11 16:52:49 -07:00
k8s-merge-robot
8491a6028b Merge pull request #13843 from thockin/dns-docs-cleanup
Auto commit by PR queue bot
2015-09-10 23:03:39 -07:00
Tim Hockin
248881d44f Update DNS docs to cover --resolv-conf 2015-09-10 22:12:28 -07:00
Daniel Smith
b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Quinton Hoole
dd68f0b23f Merge pull request #13551 from eparis/cloudplatfrom-to-kubernetes
s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kub…
2015-09-04 12:36:01 -07:00
Quinton Hoole
27c4041778 Merge pull request #13172 from parikhyash/kube-dns-ha
#11471 Readiness probe for kube-dns RC (HA)
2015-09-04 09:08:08 -07:00
Abhi Shah
9b24100c22 Merge pull request #13561 from yuvipanda/patch-1
Update kube2dns usage flags
2015-09-03 15:49:26 -07:00
Abhi Shah
a1d5e84385 Merge pull request #13274 from mikedanese/kube-ui-v2
bump kube-ui addon version to v2
2015-09-03 15:42:56 -07:00
Abhi Shah
34476cd758 Merge pull request #13510 from Huawei-PaaS/fix_hostnet_in_dns
Fix a typo `hostNet` to `hostNetwork`in DNS
2015-09-03 15:36:40 -07:00
Yuvi Panda
e35d06fd17 Update kube2dns usage flags
Update some of the commandline flags for kube2sky
2015-09-03 18:57:45 +02:00
Eric Paris
04fc8ae3dd s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
k8s-merge-robot
9c4802420b Merge pull request #8632 from jimmidyson/logging-kube-metadata
Auto commit by PR queue bot
2015-09-02 19:08:34 -07:00
Yash Parikh
207dfe54f0 Fixes #11471 Readiness probe for kube-dns RC (HA) 2015-09-02 10:05:15 -07:00
qiaolei
59b6a6d2b8 Fix a typo hostNet to hostNetwork
Where `hostNet` should be `hostNetwork`
2015-09-02 20:21:10 +08:00
Marcin Wielgus
f7bb05f58e Merge pull request #13504 from Huawei-PaaS/fix_heapster_cadvisor_port
Fix a typo `-cadvisor_port` to `--cadvisor-port`
2015-09-02 12:13:49 +02:00
qiaolei
d2a0f2b66f Fix a typo -cadvisor_port to --cadvisor-port
Where `-cadvisor_port` should be `--cadvisor-port`
2015-09-02 17:52:52 +00:00
Jimmi Dyson
e07da97447 Switch to fluentd kubernetes metadata plugin to enrich logs with more searchable kubernetes metadata 2015-09-02 10:33:15 +01:00
Alex Robinson
d02dc64036 Let fluentd-es log by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
b3154a7815 Remove the garbage log file in the fluentd-gcp that gets filled with
gunk when installing the google-fluentd agent.

Also let it log things by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Mike Danese
c64d0d56dd bump kube-ui to v2 2015-08-27 10:59:33 -07:00
Alex Robinson
f6f8cb07ae Transfer maintainer responsibilities for fluentd configs/images. 2015-08-26 21:48:51 +00:00
Muhammed Uluyol
3dc10a209b Use gcr.io for proxy image 2015-08-21 13:32:08 -07:00
Muhammed Uluyol
14b554cef6 Use a persistent volume for the docker registry. 2015-08-20 18:44:11 -07:00
Muhammed Uluyol
7129d477d3 Launch a cluster-local registry.
This registry can be accessed through proxies that run on each node
listening on port 5000. We send the proxy images to the nodes directly
to avoid requests that hit the network during cluster launch. For now,
we continue to pull the registry itself over the network, especially
given its large size (we should be able to dramatically shrink the
image). On GCE we create a PD and use that for storage, otherwise we
use an emptyDir. The registry is not enabled outside of GCE. All
communication is currently plain HTTP. In order to use SSL, we will
need to be able to request a certificate/key from the apiserver signed
by the apiserver's CA cert.
2015-08-20 18:44:05 -07:00
Satnam Singh
278a3911fd Fetch fluentd td agent securely 2015-08-19 13:34:03 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Piotr Szczesniak
eed7d24c02 Removed align_stats flag from Heapster config
The flag caused inaccuracy in compute cpu/usage_rate metric
2015-08-17 14:40:41 +02:00
Patrick Reilly
bf02aaa97d remove other cluster addon references for container build 2015-08-13 10:23:55 -07:00
Alex Robinson
a0330fe31a Merge pull request #12371 from a-robinson/logs
Stop collecting monit logs via fluentd
2015-08-10 11:06:21 -07:00
Ed Costello
35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Alex Robinson
c887ad75b8 Stop collecting monit logs via fluentd. 2015-08-07 00:12:21 +00:00
Wojciech Tyczynski
4c42e1302d Merge pull request #12190 from piosz/heapster-version
Bumped Heapster version
2015-08-06 12:00:39 +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
Alex Robinson
0945c2cfb8 Bump the heapster pod's memory limit from 200MiB to 300MiB. 2015-08-05 16:16:20 -07:00
Alex Robinson
cc02e50fc7 Collect more of the VM's log files (monit, salt) in fluentd-es. 2015-08-05 00:22:38 +00:00
Alex Robinson
7430181d65 Collect more of the VM's log files (monit, salt) in fluentd-gcp. 2015-08-05 00:21:47 +00:00
Piotr Szczesniak
7fef2a9daf Bumped Heapster version 2015-08-04 09:19:30 +02:00
Alex Mohr
0f17038f0a Merge pull request #12103 from piosz/heapster-for-autoscaling
Added exporting autoscaling metrics in Heapster config
2015-08-03 17:53:02 -07:00
Alex Mohr
6df4d6703b Merge pull request #10787 from mesosphere/kube-ui-liveness
Add liveness probe to kube-ui
2015-08-03 13:24:07 -07:00
Piotr Szczesniak
2bf447caae Added exporting autoscaling metrics in Heapster config 2015-07-31 20:54:58 +02:00
Piotr Szczesniak
f251ba5163 Revert "Avoid mounting ssl volumes for heapster container."
This reverts commit c08ad6b7c1.
2015-07-31 20:20:49 +02:00
Mike Danese
bfaa527139 Merge pull request #12045 from a-robinson/logs
Fix fluentd configs to collect etcd logs on the master
2015-07-30 17:36:46 -07: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
Alex Robinson
69ab7026af Update fluentd-es to collect etcd logs and remove merge conflict cruft. 2015-07-30 22:21:01 +00:00
Alex Robinson
9e18c29e9f Make fluentd-gcp collect etcd's logs on the master. 2015-07-30 22:20:57 +00:00
Brendan Burns
f89c9e3878 Merge pull request #11998 from vishh/update_heapster
Auto commit by PR queue bot
2015-07-30 13:10:02 -07:00
Vishnu Kannan
c08ad6b7c1 Avoid mounting ssl volumes for heapster container. 2015-07-30 10:45:26 -07:00
Wojciech Tyczynski
3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Vishnu Kannan
b36ae6efba Upgrading heapster to v0.17.0 2015-07-29 16:13:33 -07:00
Bryan Stenson
85b04f9e6c minor doc typo 2015-07-28 09:24:17 -07: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
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
45def3f3f3 Merge pull request #11768 from mr-salty/remove-fluent-plugin-gem-update
Remove gem update for fluent-plugin-google-cloud
2015-07-23 16:43:28 -07:00
Tim Hockin
4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -07: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
Piotr Szczesniak
06b3406cef Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
It's for autoscaling tests purposes and making the config consistent with
other flags like ENABLE_NODE_LOGGING
2015-07-23 10:25:06 +02:00
David Oppenheimer
dec9adfe2e Replace ``shell with ``sh 2015-07-19 21:38:53 -07:00
Tim Hockin
25cec6ebb5 Fix errant quad-tick in docs 2015-07-18 14:06:08 -07:00
Abhishek Shah
bc99a57915 Assigned emptyDir for etcd data dir in skydns pod 2015-07-10 09:27:42 -07:00
Rohit Jnagal
906cc743be Merge pull request #11004 from bprashanth/dns_sidecar
Use the exec-sidecar as a healthz probe for the syndns container
2015-07-10 09:24:43 -07:00
Prashanth Balasubramanian
412467fe27 Use the exec-sidecar as a healthz probe for the syndns container 2015-07-09 15:13:46 -07:00
BC Broussard
1220d3cf01 Update kube-ui pod to v1.1 2015-07-08 09:54:38 -06:00
Yu-Ju Hong
f7e1a00477 Merge pull request #10884 from dchen1107/cleanup
Disable liveness for dns due to #10659
2015-07-07 17:59:17 -07:00
Yu-Ju Hong
1cf9a71aa2 Merge pull request #10872 from nikhiljindal/latestHeapster
Use latest heapster image
2015-07-07 17:35:40 -07:00
Dawn Chen
c6a0fd1eaf Upgrade to v6 from v5 2015-07-07 16:29:27 -07:00
Dawn Chen
4f947ce8ed Disable liveness for dns due to #10659 2015-07-07 16:27:38 -07:00
nikhiljindal
e17e3579f3 Use latest heapster image 2015-07-07 14:40:18 -07:00
Satnam Singh
691c07763c Remove use of v1beta3 from ES logging 2015-07-06 18:47:45 -07:00
Daniel Smith
cfc68e9055 Built & pushed kube-ui v1.1 2015-07-06 16:04:28 -07:00
Karl Isenberg
fdf9515777 Add liveness probe to kube-ui 2015-07-06 16:04:23 -07:00
Brendan Burns
988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong
4a5b80fcb2 Merge pull request #10771 from ArtfulCoder/kube2sky-usev1
rebuilt kube2sky to use v1 api. new image ver is 1.11
2015-07-06 15:00:21 -07:00
Dawn Chen
747f84d553 Set resource limit for kube-ui addon container. 2015-07-06 13:36:22 -07:00
Abhishek Shah
1edfc82d96 rebuilt kube2sky to use v1 api. new image ver is 1.11 2015-07-06 12:32:23 -07:00
Zach Loafman
a2250d1caf Merge pull request #10597 from a-robinson/fluentd
Run fluentd on the master to collect the core master logs
2015-07-04 21:12:47 -07:00
Alex Robinson
4bfbd5f553 Add limits to the fluentd buffer size. 2015-07-03 23:24:08 +00:00
Zach Loafman
1d16be675c Merge pull request #10653 from dchen1107/resource_management
Set resource limit for addon containers
2015-07-01 19:35:28 -07:00
Dawn Chen
6b61918b67 Set resource limit for both elasticsearch and kibana containers based on data collected by #10335 2015-07-01 16:01:09 -07:00
Zach Loafman
b60c8e567f Merge pull request #10077 from timstclair/ui-server
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Dawn Chen
ce520dd6e8 Set resource limit for skydns containers based on data collected by #10335 2015-07-01 14:47:29 -07:00
Dawn Chen
4f2d22263e Set resource limit for both heapster and influxdb container based on data collected
by #10335. Please noted that both influxdb and heapster could be oom-killed due to
memory leakage here.
2015-07-01 14:39:10 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Tim St. Clair
b6b2d6df42 Add kube-ui cluster addon for serving k8s dashboard UI.
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Alex Robinson
8855371763 Configure fluentd to collect additional log files, including master log files.
This also merges the output blocks together because there's no compelling
reason to have a separate output block for each input.
2015-07-01 20:07:47 +00:00
Mike Danese
6ecddd9290 fix heapster configs so that heapster has a CA cert for googleapis 2015-07-01 11:26:30 -07:00
Zach Loafman
502103cdc6 Merge pull request #10453 from satnam6502/fix-es
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
Dawn Chen
ff17623742 Persistent influxdb data to directory on local host. 2015-06-30 22:08:40 -07:00
Satnam Singh
4e58e001da Change port names to avoid validation failure 2015-06-30 10:56:20 -07:00
Alex Robinson
799c0a09e0 Merge pull request #10369 from mikedanese/heapster-in-cluster-config
bump heapster addon version to use inClusterConfig
2015-06-29 10:56:50 -07:00
Robert Bailey
ad12c98e6d Merge pull request #10150 from thockin/kube2sky-with-token-fix
Make DNS not need its own token
2015-06-26 18:17:03 -07:00
Dawn Chen
1a4d3ef680 Revert "Set resource limit for both heapster and influxdb container based on" 2015-06-26 15:45:26 -07:00
Mike Danese
bfc80095d4 bump heapster addon version to use inClusterConfig 2015-06-26 15:43:32 -07:00
Tim Hockin
6757a1ce94 Use the svc.cluster.local name for DNS health checks 2015-06-25 17:11:53 -07:00
Tim Hockin
07e75c1dec Use v1 API 2015-06-25 17:04:47 -07:00
Tim Hockin
1ce7f1b5be Stop using special tokens for DNS 2015-06-25 17:04:47 -07:00
Tim Hockin
2b4da35499 Make kube2sky fall back on service accounts
Service accounts are as yet unverified (no CA cert) but at least it will work.
2015-06-25 17:04:47 -07:00
Tim Hockin
88ce0ad8e9 Clean up Changelog
- sort newest-first
- add missing entry
- format consistently
2015-06-25 17:04:47 -07:00
Jeff Lowdermilk
c1a7055701 Merge pull request #10260 from dchen1107/clean
Set resource limit for both heapster and influxdb container based on
2015-06-23 15:57:53 -07:00
Dawn Chen
e0186c3bd0 Set resource limit for both heapster and influxdb container based on
data collected by #5880
2015-06-23 14:28:51 -07:00
Satnam Singh
cb9f7d17f5 Add readiness probes to Elasticsearch and Kibana logging 2015-06-22 12:40:15 -07:00
Vishnu Kannan
3800fe1884 Updating heapster to v0.14.3. 2015-06-19 13:30:50 -07:00
Marek Biskup
dfb702a6e4 addon doc improved 2015-06-19 11:14:01 +02:00
Tim St. Clair
f5830edbbc s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
Satnam Singh
ce49c32d6a Add readiness probe to Elasticsearch and Kibana logging pods 2015-06-18 10:46:05 -07:00
Vishnu Kannan
b6e4480463 Updating heapster to v0.14.2 2015-06-16 17:15:24 -07:00
Vishnu Kannan
c70014d399 Updating heapster service labels to make it compatible with kubectl cluster-info 2015-06-16 14:46:50 -07:00
Vishnu Kannan
31f7ea10c6 Updating heapster version to v0.14.1.
Adding a standalone version of heapster which exposes stats via REST API.
2015-06-16 11:56:23 -07:00
Justin Santa Barbara
0d2f587cea Minor typos in cluster/addons/README.md 2015-06-16 09:18:23 -04:00
Satnam Singh
33311b46a2 Adjust Fluentd source format for Docker files to be JSON for Cloud Logging 2015-06-15 10:22:27 -07:00
Alex Robinson
8b1f2d2bf2 Update heapster's combined googleinfluxdb version to 0.14.0. 2015-06-12 01:32:50 +00:00
Abhi Shah
0e3633d404 Merge pull request #9615 from vishh/heapster_v0.14.0
Update to heapster v0.14.0
2015-06-11 15:14:34 -07:00
Abhi Shah
59a347d119 Merge pull request #9309 from saad-ali/issue9028
Enable InfluxDB/Grafana for GCE in addition to GCL. Disable GCM
2015-06-11 11:04:09 -07:00
Abhi Shah
30558d259d Merge pull request #9548 from brendandburns/docsfix3
Add instructions for validating the DNS server.
2015-06-11 10:53:45 -07:00
Vishnu Kannan
a38204a498 Update to heapster v0.14.0 2015-06-10 16:38:34 -07:00
Brendan Burns
ebe43fd5ca Add instructions for validating the DNS server. 2015-06-10 14:56:41 -07:00
Abhi Shah
fdf2d6057f Merge pull request #9226 from erictune/makefile
Clarify where DNS resolution works.
2015-06-10 12:57:24 -07:00
Eric Tune
1c1272a3e4 Clarify where resolution works. 2015-06-10 12:55:49 -07:00
Robert Bailey
2feb658ed7 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Marek Biskup
13ba177668 kube-addon-update.sh 2015-06-08 15:10:40 +02:00
saadali
a839f47d4a Disable GCM for GCE 2015-06-05 17:54:06 -07:00
Quinton Hoole
4384b57a27 Merge pull request #9327 from ArtfulCoder/srv_doc
README.md updated to explain SRV Record support.
2015-06-05 12:56:20 -07:00
Abhishek Shah
bd36b0d315 README.md updated to explain SRV Record support. 2015-06-05 12:33:22 -07:00
Abhishek Shah
7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
saadali
bc53533c83 Enable InfluxDB/Grafana for GCE in addition to GCM/GCL 2015-06-05 01:17:45 -07:00
Quinton Hoole
a39a6013cb Merge pull request #8469 from satnam6502/heapster
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
Daniel Smith
40eb1599dd fix elasticsearch 2015-06-03 15:41:09 -07:00
Daniel Smith
5d6b8d7de6 doc updates 2015-06-03 15:41:09 -07:00
Brian Grant
36a4ece87a Merge pull request #9080 from thockin/dns-new-search-kubelet
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant
aa2f0be626 Merge pull request #8718 from vishh/kube2sky
Avoid making connections to the apiserver insecure by default in kube2sky
2015-06-02 14:11:58 -07:00
Tim Hockin
be4b700ccb Document the supported DNS schema 2015-06-01 17:02:17 -07:00
Vishnu Kannan
404558f29c New release of kube2sky v1.8 2015-06-01 16:59:53 -07:00
Kris
f4e2c738f6 Delete deprecated API versions
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Tim Hockin
4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Vishnu Kannan
0ae4defc9d Avoid making connections to the apiserver insecure by default in kube2sky. 2015-05-28 11:04:09 -07:00
Vishnu Kannan
d3c7edb78f New release of kube2sky (v1.7) 2015-05-25 19:43:57 -07:00
Vishnu Kannan
f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Dawn Chen
9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Abhishek Shah
dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
Satnam Singh
32842b4d22 Update Fluentd GCP image 2015-05-19 16:12:50 -07:00
Lv Lv
e8fe157a7f Fix influxdb external url and its port 2015-05-19 20:35:19 +08:00
Satnam Singh
702bf625ce Add explicit version to name of monitoring RCs 2015-05-18 18:13:18 -07:00
Tim Hockin
6b6b47a777 Merge pull request #8452 from satnam6502/skydns
Embed version number in kube-dns RC
2015-05-18 16:36:43 -07:00
Tim Hockin
931f448af1 Merge pull request #8456 from satnam6502/doc
Document process for updating version of kube-dns
2015-05-18 16:35:54 -07:00
Victor Marmol
7dde223c2a Merge pull request #8458 from satnam6502/elasticsearch
Give explicit version number to Elasticsearch logging RC
2015-05-18 16:27:08 -07:00
Satnam Singh
3337cea8bb Give explicit version number to Kibana RC 2015-05-18 16:04:13 -07:00
Victor Marmol
e83a4e3fd8 Merge pull request #8450 from satnam6502/kibana
Add version label to Kibana controller and service
2015-05-18 15:56:27 -07:00
Satnam Singh
83cd97a2e7 Give explicit version number to Elasticsearch logging RC 2015-05-18 15:53:01 -07:00
Satnam Singh
c7d5b4fa2f Document process for updating version of kube-dns 2015-05-18 15:41:08 -07:00
Satnam Singh
fbf6d36e1c Embed version number in kube-dns RC 2015-05-18 15:18:44 -07:00
Satnam Singh
4a0c6b3e0b Add version label to Kibana controller and service 2015-05-18 14:49:12 -07:00
Satnam Singh
c84fd94b11 Update Elasticsearch cluster level service to add version label 2015-05-18 14:43:58 -07:00
Victor Marmol
397b7d1bf2 Merge pull request #8427 from vishh/heapster_v0.12.1
Updating heapster to v0.12.1.
2015-05-18 14:01:20 -07:00
Vishnu Kannan
63a5e3895c Updating heapster to v0.12.1. This adds support for tokens and improves scalability
in large clusters.
2015-05-18 12:04:46 -07:00
Paul Weil
e565b20b37 fix gendocs 2015-05-18 13:32:55 -04:00
Victor Marmol
d064e843ab Merge pull request #8287 from vishh/kube2sky
Adding unit tests for existing kube2sky logic
2015-05-18 08:40:19 -07:00
Victor Marmol
4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol
d0e7040b94 Merge pull request #8367 from thockin/kube2sky
Add docs on making a release
2015-05-18 08:37:28 -07:00
Vishnu Kannan
684122f2a7 Adding unit tests for existing kube2sky logic. 2015-05-17 19:13:50 -07: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
Tim Hockin
284f87040c Add docs on making a release 2015-05-15 17:51:01 -07:00
Vishnu Kannan
50522a207b Revert kube2sky to use kubernetes-ro service until the dns-token is updated
to not use dns names.
2015-05-15 16:44:20 -07:00
Daniel Smith
ce4b54ec70 Merge pull request #8209 from krousey/v1beta1_cluster
Removing some v1beta1 uses in cluster/
2015-05-15 14:56:41 -07:00
Kris Rousey
98c457c397 Updating /cluster to use v1beta 3 specs, and change a lot of polling to
healthz instead of api endpoints.
2015-05-15 14:17:55 -07:00
Tim Hockin
850e0e682e Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Satnam Singh
e8f55e81e5 Add a TAG Makefile variable for the kube2sky image 2015-05-14 10:57:45 -07:00
Tim Hockin
1b1010621f Fix spurious quote in DNS healthcheck 2015-05-14 09:39:02 -07:00
Vish Kannan
f49757cba5 Merge pull request #8221 from ArtfulCoder/use_https
Use https to access apiserver from kube2sky
2015-05-13 17:21:41 -07:00
Abhishek Shah
71a10c2044 Use https 2015-05-13 17:03:29 -07:00
Vish Kannan
5b8e70181f Merge pull request #8199 from satnam6502/es
Revert to using emptyDir for Elasticsearch data
2015-05-13 14:47:03 -07:00
Satnam Singh
ca121ee98d Revert to using emptyDir for Elasticsearch data 2015-05-13 12:52:56 -07:00
Tim Hockin
ab30484a4f Fix DNS health check 2015-05-13 08:51:06 -07:00
Nikhil Jindal
c2fecff3d5 Merge pull request #8067 from piosz/kubectl
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Satnam Singh
7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Tim Hockin
e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
Daniel Smith
caddcd8cd3 Merge pull request #7901 from vishh/kube2sky
Updated kube2sky to use the controller framework.
2015-05-11 13:49:20 -07:00
Alex Robinson
8bec62e42c Merge pull request #7995 from satnam6502/es-logging
Upgrade to Kibana 4 for cluster logging
2015-05-11 10:40:41 -07:00
Piotr Szczesniak
12e44ff8a9 Added label kubernetes.io/name to cluster services
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Piotr Szczesniak
02aa97d695 Added name to kube-dns service
Fixes #7922
2015-05-11 12:42:22 +02:00
Satnam Singh
fcbe2229df Kibana by itself
Upgrade to Kibana 4 for cluster logging
2015-05-08 14:55:52 -07:00
Vishnu Kannan
e521b3f1af Updated kube2sky to use the controller framework.
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
Tim Hockin
ec8ba4a62f Expose 53/TCP on DNS service 2015-05-07 00:40:39 -07:00
Tim Hockin
9eb1fb85bd Convert DNS service to v1beta3 2015-05-07 00:40:35 -07:00
Tim Hockin
58a18447fa Expose 53/TCP in DNS pod (not service yet) 2015-05-07 00:40:31 -07:00
Tim Hockin
dfe81b7974 Cleanups in DNS pod YAML. 2015-05-07 00:40:23 -07:00
saadali
4569de7a46 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
António Meireles
24a0e5618a skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
per https://github.com/coreos/etcd/blob/master/Documentation/backward_compatibility.md
(there are no functional changes, we just stop using the legacy flags, for
consistency.)

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-05-06 10:07:34 +01:00
Alex Robinson
9ea76dc004 Add a liveness probe to the DNS container. 2015-05-05 17:41:08 +00:00
Alex Robinson
07adb84c23 Update the DNS replication controller to be v1beta3. 2015-05-05 17:41:08 +00:00
CJ Cullen
1ec0fb2e3d Make changes suggested in #7675 2015-05-04 21:58:13 -07:00
CJ Cullen
a21713a771 Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7 2015-05-04 13:01:35 -07: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
Ido Shamun
e86316bc4d revert back INFLUXDB_EXTERNAL_URL to api v1beta1 2015-05-01 21:13:04 +03:00
Ido Shamun
37040fb0e3 bump heapster to v0.11.0 and grafana to v0.7.0 2015-05-01 19:42:30 +03:00
Alex Robinson
8d24f73bab Merge pull request #7579 from satnam6502/fluentd-es-image
Improve comment in Fluentd to ES logging config file
2015-04-30 13:45:03 -07:00
Satnam Singh
95007d7217 Improve comment in Fluentd to ES logging config file 2015-04-30 13:42:30 -07:00
Satnam Singh
941a457851 Trim Fleuntd tag for Cloud Logging 2015-04-30 13:39:35 -07:00
Alex Robinson
58ede77a58 Merge pull request #7539 from satnam6502/master
Trim cluster log tags to pod name and container name
2015-04-30 10:29:41 -07:00
Satnam Singh
e65f0aafd5 Trim cluster log tags to pod name and container name 2015-04-29 18:24:13 -07:00
CJ Cullen
44cffec157 Bump kube2sky to 1.2. Point it at https endpoint (3rd try). 2015-04-29 14:58:56 -07:00
Zach Loafman
89195b0a14 Merge pull request #7461 from cjcullen/dns
Revert kube2sky from 1.2 back to 1.1 until we figure out why it's flaky.
2015-04-28 17:23:55 -07:00
Satnam Singh
dc31c58443 Upgrade Elasticsearch to 1.5.2 for cluster logging 2015-04-28 16:20:03 -07:00
CJ Cullen
2b50ee53e0 Revert the change that bumped kube2sky from 1.1->1.2 until we figure out why it's flaky. 2015-04-28 14:57:44 -07:00
Alex Robinson
3e841510de Merge pull request #7393 from satnam6502/fluentd-gcp-image
New Fluentd to Cloud Logging Dockerfile with args
2015-04-28 11:01:14 -07:00
Satnam Singh
20a0905d61 New Fluentd to Cloud Logging Dockerfile with args 2015-04-28 10:30:32 -07: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
Robert Bailey
a9f8f17299 Fetch the kibana tar.gz over SSL. 2015-04-26 21:57:49 -07:00
saadali
acbd3d78f1 Specify host/container ports for InfluxDB, so that the UI is accessible. 2015-04-24 16:22:50 -07:00
Nikhil Jindal
84cb48be11 Merge pull request #7246 from satnam6502/es
Convert Elasticsearch logging to v1beta3 and de-salt
2015-04-24 09:21:41 -07:00
CJ Cullen
80af1c9e40 kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes. Override in clients that can't use DNS. 2015-04-23 18:13:16 -07:00
Satnam Singh
c9b9e7651e Convert Elasticsearch logging to v1beta and de-salt 2015-04-23 13:06:15 -07:00
Satnam Singh
0abc34245a Update Kibana RC and service to v1beta3 2015-04-23 12:19:17 -07:00
Dawn Chen
f9156c281a Merge pull request #7123 from satnam6502/logging
Propagate pod and container name for log files
2015-04-23 10:13:08 -07:00
Fabio Yeon
0a0bd88db6 Revert "Change kube2sky to use token-system-dns secret, point at https endpoint ..." 2015-04-22 17:56:34 -07:00
Satnam Singh
e4e830badc Update Kibana pod to speak to Elasticsearchusing v1beta3 2015-04-22 17:37:47 -07:00
Satnam Singh
2444c1f943 Propagate pod and container name for log files 2015-04-22 15:08:51 -07:00
CJ Cullen
e982ac5b55 Change kube2sky to use token-system-dns secret, point at https endpoint (instead of kubernetes-ro service). 2015-04-21 23:10:12 -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
Tim Hockin
c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Satnam Singh
4c0f06ec66 Convert es-image for gcr.io 2015-04-15 16:28:02 -04:00
Rohit Jnagal
013653bd58 Fix heapster config to talk to the right kubelet port.
The config was updated for v1bet1, but the tests are using v1beta3.
2015-04-10 22:58:38 +00:00
Satnam Singh
cfb8577324 Update Kibana to v1.2 which paramaterizes location of Elasticsearch 2015-04-03 14:55:00 -07:00
Satnam Singh
e4c91df35f Merge pull request #5776 from jonlangemak/fluentd-elasticsearch-kibanafix
Added API variables so Kibana could access ES through the API server
2015-04-03 14:43:05 -07:00
Jon Langemak
35038dc19a Added ES ENV variables so Kibana can be access in other ways 2015-04-02 21:58:10 -05:00
Robert Bailey
4488ff95a2 Create an insecure (http) read-only port on the kubelet so that
heapster can collect metrics. Update the heapster config to
point to the non-secured port.
2015-04-02 10:45:49 -07:00
Vishnu Kannan
e6833639a2 Update heapster version to v0.10.0 2015-04-02 00:39:24 +00: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
Tim Hockin
eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Tim Hockin
186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Jeff Lowdermilk
bec982774b Merge pull request #6038 from satnam6502/fluentd-es-image
Create a gcr.io image for Flunentd to Elasticsearch node level logging
2015-03-27 09:05:00 -07:00
Satnam Singh
19e621c951 Create a gcr.io image for Flunentd to Elasticsearch node level logging 2015-03-26 21:07:15 -07:00
Jeff Lowdermilk
2b71857816 Pull cluster addon images from gcr.io 2015-03-26 19:59:27 -07:00
Dawn Chen
7a6490f572 Merge pull request #5729 from thockin/plural_endpoints_30_restart
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Tim Hockin
4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Abhishek Gupta
b0c23c1046 Headless Services: Adding option to specify None for PortalIP 2015-03-20 12:10:03 -07:00
Subin M
bd52a0cb80 update v1beta3 yaml files 2015-03-19 20:31:10 +05:30
Salvatore Dario Minonne
31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Satnam Singh
985d5c1f95 Add a prefix to the POS file for Fluentd to Elasticsearch 2015-03-17 13:13:03 -07:00
Vishnu Kannan
e89dd7e235 Updating heapster version to v0.9.
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Victor Marmol
c03b080328 Merge pull request #5332 from vishh/heapster_e2e
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Piotr Szczesniak
db5fc4ff90 Added label name to kube-dns service
It will be displayed in kubectl clusterinfo command.
2015-03-12 13:15:35 +01:00
Vishnu Kannan
425dd7e3ee Adding a heapster ginkgo e2e test. 2015-03-11 21:47:47 +00:00
Kieran O'Mahony
2b05820619 Update SkyDNS version
I had some trouble with the kubernetes docker image for SkyDNS being outdated. In my experience the version in `kubernetes/skydns:2014-12-23-001` will not behave correctly if it manages to startup before etcd, for details see skynetservices/skydns#142

 Updating to SkyDNS latest fixes this.
2015-03-11 09:46:46 +00:00
Satnam Singh
3ce0ede78e Modify Fluentd to ES setup to pass flags 2015-03-10 10:11:26 -07:00
Satnam Singh
2486de1287 Change Fluentd config to read from head of Docker container logs 2015-03-09 23:25:52 -07:00
rsokolowski
5aa46e6342 Update version of kube2sky to 1.1. 2015-03-06 10:00:57 +01:00
Fabio Yeon
01f7d459d3 Add etcd server check at startup to kube2sky (with retry loop). 2015-03-05 11:43:16 -08:00
rsokolowski
5026142636 Crash kube2sky after repeated etcd mutation failures. 2015-03-05 08:31:14 +01:00
Vish Kannan
5aed317ffc Merge pull request #4853 from sub-mod/grafana_v1beta3
v1beta3 api json for grafana example
2015-03-03 15:43:16 -08:00
Satnam Singh
709476cb5b Merge pull request #4657 from piosz/kubectl
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00
Piotr Szczesniak
e92192d379 Added new command clusterinfo to kubectl
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341.

It requires label kubernet.io/cluster-service=true set for cluster services.

Follow up cl after discussion in #4417.
2015-03-03 20:14:24 +01:00
Piotr Szczesniak
3abaa6b3c8 Added cluster-service lavel to monitoring services
Monitoring services will be now displayed in kubectl cluster command (#4657).

This partially addresses #4620
2015-03-03 10:44:46 +01:00
Satnam Singh
72183c064c Use proxy instead of load balancer 2015-03-02 13:44:41 -08:00
Tim Hockin
e0e6741027 Stop using named ports in examples and scripts. 2015-03-01 21:30:45 -08:00
Zach Loafman
e10f54eebf Merge pull request #4762 from satnam6502/es-image
Make a Kubernetes specific version of an Elasticsearch Docker container
2015-02-26 11:24:09 -08:00
Subin M
fc21144d4e v1beta3 api json for grafana example 2015-02-27 00:10:08 +05:30
rsokolowski
b05274e237 Update skydns's etcd to version 2.0.3 2015-02-25 18:22:23 +01:00
Satnam Singh
eda8a676f4 Make a Kubernetes specific version of an Elasticsearch Docker container 2015-02-23 18:41:56 -08:00
Vishnu Kannan
e9271dabde Use heapster v0.8. 2015-02-23 18:11:02 +00:00
Zach Loafman
ea5d2f99ae Merge pull request #4622 from satnam6502/cluster-logging
Update cluster logging documentation to use kubectl for public IPs
2015-02-23 09:57:46 -08:00
Vishnu Kannan
e2cdcad555 Update to heapster version v0.7.
Added the new label required for cluster addon services.
Made Grafana UI accessble via the proxy on the api-server.
2015-02-20 03:22:41 +00:00
Satnam Singh
df2dfd6695 Add kubernetes.io/cluster-service label to cluster level logging services 2015-02-19 16:03:41 -08:00
Tim Hockin
fcfe420685 Add cluster-service label to DNS
Also rename the rc, pod, and service, which I have meant to do for a long time.
2015-02-19 14:15:48 -08:00
Satnam Singh
b2fcb14db1 Update cluster logging documentation to use kubectl for obtaining the public IPs 2015-02-19 14:05:16 -08:00
Zach Loafman
ae27f29c56 Reinstate cluster logging URLs to the end of kube-up.sh
Adds labels to the services, waits for them to be created (which
should be instant, but just in case), query the forwarding rules like
as we did before.

Fixes #3893
2015-02-03 08:27:02 -08:00
Clayton Coleman
053c2b2100 Fix grafana and heapster RC names 2015-01-29 16:26:39 -05:00
Vishnu Kannan
82bbb3e78b Update monitoring components to the latest released versions. 2015-01-23 18:59:05 +00:00
Tim Hockin
61293afad6 better DNS docs 2015-01-22 12:18:25 -08:00
Zach Loafman
a305269e18 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08: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
Tim Hockin
2367360321 Update DNS doc 2015-01-17 19:42:09 -08:00
Vishnu Kannan
50c32fbba4 Adding a replication controller for all monitoring pods.
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 18:37:46 +00:00
Zach Loafman
43cd9e91f6 Revert "Adding a replication controller for all monitoring pods." 2015-01-16 07:16:54 -08:00
Satnam Singh
d443dd8ea6 Merge pull request #3489 from vishh/monitoring_rc
Adding a replication controller for all monitoring pods.
2015-01-15 18:18:54 -08:00
Vishnu Kannan
ca2267e3e9 Adding a replication controller for all monitoring pods.
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 00:56:51 +00:00
Satnam Singh
cd5a44e381 Remove curl check from Kibana image 2015-01-14 21:32:29 -08:00
Satnam Singh
295bd3768d Launch Elasticsearch and Kibana automatically 2015-01-09 13:41:46 -08:00
Joe Beda
9aa48b7628 Move heapster data files to cluster/addons.
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Joe Beda
6df6aab077 Move DNS from contrib to cluster/addons
This fixes #3190.
2015-01-05 12:32:35 -08:00