Commit Graph

110 Commits

Author SHA1 Message Date
calvinh
28b5587594 fixed the bad branch merge issue 2018-06-01 18:58:55 +01:00
calvinh
7322f7f137 fixed branch and changed values to true 2018-06-01 18:03:11 +01:00
Cory Johns
38144e5c0f Update status handling and retry network status poking, per review 2018-05-14 13:45:00 -04:00
Cory Johns
2b0612247c Add support for GCP charm 2018-05-11 11:03:42 -04:00
Kubernetes Submit Queue
002078dc97
Merge pull request #62354 from johnsca/feature/aws-charm
Automatic merge from submit-queue (batch tested with PRs 62354, 62934, 63502). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add support for AWS charm

Support AWS integration via proxy charm.



**What this PR does / why we need it**: Add support for Juju charms to connect to AWS integration charm to automatically manage IAM tags and roles, and cloud-provider setting for AWS.

**Release note**:

```release-note
NONE
```
2018-05-09 09:30:08 -07:00
George Kraft
e31fa616b1 juju: Make kubernetes-master status handling more robust 2018-05-02 16:43:22 -05:00
Cory Johns
bebad08dd9 Add support for AWS charm
Support AWS integration via proxy charm.
2018-04-10 15:25:30 -04:00
George Kraft
236fb17426 juju: Set apiserver advertise-address to kube-control ingress address 2018-04-04 16:19:56 -05:00
Konstantinos Tsakalozos
578cf9bd57 Work on master and worker to accomodate the new kind of gpu support 2018-04-02 21:20:12 +03:00
Kubernetes Submit Queue
2550bab1e3
Merge pull request #60174 from hyperbolic2346/mwilson/metrics-server
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Adding metrics server

**What this PR does / why we need it**:
Adds support for the metrics server in the kubernetes-master charm. This allows the use of a horizontal pod autoscaler.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/484
**Special notes for your reviewer**:
Needs to go in after https://github.com/juju-solutions/cdk-addons/pull/28
**Release note**:

```release-note
kubernetes-master charm now supports metrics server for horizontal pod autoscaler.
```
2018-04-02 02:47:26 -07:00
Mike Wilson
939ed152b0 Fixing whitespace issue in kubernetes-master 2018-03-28 11:08:03 -04:00
Kubernetes Submit Queue
f9c9a25e64
Merge pull request #61427 from hyperbolic2346/mwilson/admission
Automatic merge from submit-queue (batch tested with PRs 61402, 61143, 61427, 60592). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Changing admission controller settings

**What this PR does / why we need it**:
By default, the admission controller settings in a CDK cluster didn't match the set recommended here:
https://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-admission-controllers-to-use

Now they do.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/517
**Special notes for your reviewer**:

**Release note**:
```release-note
Updated admission controller settings for Juju deployed Kubernetes clusters
```
2018-03-27 15:33:12 -07:00
Mike Wilson
69e264fce6 Clearing out the client-ca-file option in case it exists on the snap from long ago. 2018-03-21 09:52:38 -04:00
Mike Wilson
ffaab76223 Changing admission controller settings to match https://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-admission-controllers-to-use 2018-03-20 15:03:39 -04:00
Mike Wilson
265e3035e1 Adding metrics server 2018-02-21 19:23:15 -05:00
Konstantinos Tsakalozos
9dd222d3b5 Fix: change basic auth password should keep admin in masters group 2018-02-13 11:22:28 +02:00
Di Xu
48388fec7e fix all the typos across the project 2018-02-11 11:04:14 +08:00
Mike Wilson
33dac2d0f3 Adding lower() to kubernetes master's usage of allow-privileged. 2018-01-31 12:20:37 -05:00
Kubernetes Submit Queue
46cd37480e
Merge pull request #58843 from hyperbolic2346/mwilson/spaces-fixes
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fixing spaces issue found with tests.

Had some missing parameters for some functions.



**What this PR does / why we need it**:
Fixing charms when setting extra sans on load balancer or master
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/477
**Special notes for your reviewer**:

**Release note**:

```release-note
Fixing extra_sans option on master and load balancer.
```
2018-01-26 07:40:06 -08:00
Mike Wilson
5acf24db79 Fixing spaces issue found with tests. Had some missing parameters for some functions. 2018-01-25 21:20:35 -05:00
Kubernetes Submit Queue
cd2692c49d
Merge pull request #58830 from wwwtyro/rye/storage-backend-config
Automatic merge from submit-queue (batch tested with PRs 53778, 58378, 58830). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add storage-backend configuration option to kubernetes-master charm.

**What this PR does / why we need it**: Add storage-backend configuration option to kubernetes-master charm.

**Release note**:
```release-note
Add storage-backend configuration option to kubernetes-master charm.
```
2018-01-25 17:09:36 -08:00
Rye Terrell
6db03cf471 Add storage-backend configuration option to kubernetes-master charm. 2018-01-25 15:30:41 -06:00
Mike Wilson
2afc76fadd Adding network spaces support for kubernetes-master. 2018-01-23 11:17:05 -05:00
George Kraft
f56463bf32 Fix flake8 lint error in kubernetes-master charm 2018-01-18 13:53:13 -06:00
Konstantinos Tsakalozos
e3cafd8303 Enable support for etcd3 2018-01-08 14:44:56 +02:00
Konstantinos Tsakalozos
bd8eaa7f18 Even better 2017-12-20 17:25:54 +02:00
Konstantinos Tsakalozos
c9688155f6 Much better 2017-12-20 17:14:00 +02:00
Konstantinos Tsakalozos
d3ca7a0eb8 reason key should exist 2017-12-20 16:56:18 +02:00
Konstantinos Tsakalozos
b2a6eb99c1 Evicted pods should respawn 2017-12-20 16:30:07 +02:00
Kubernetes Submit Queue
4db2245a9f
Merge pull request #57403 from wwwtyro/rye/deprecated-dns-ip-handling
Automatic merge from submit-queue (batch tested with PRs 57400, 57403, 57303). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Use old dns-ip mechanism with older cdk-addons.

**What this PR does / why we need it**: Use old dns-ip mechanism with older cdk-addons.

**Release note**:
```release-note
Use old dns-ip mechanism with older cdk-addons.
```
2017-12-19 11:27:35 -08:00
Rye Terrell
d8e3861991 Use old dns-ip mechanism with older cdk-addons. 2017-12-19 07:48:16 -06:00
Konstantinos Tsakalozos
f4e8385a3b Minor lint fix 2017-12-19 09:13:28 +02:00
Kubernetes Submit Queue
4c36d487f0
Merge pull request #57337 from wwwtyro/rye/wait-kube-dns
Automatic merge from submit-queue (batch tested with PRs 55751, 57337, 56406, 56864, 57347). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Wait for kubedns to be ready when collecting the cluster IP.

**What this PR does / why we need it**: Wait for kubedns to be ready when collecting the cluster IP.

**Release note**:
```release-note
Wait for kubedns to be ready when collecting the cluster IP.
```
2017-12-18 18:50:40 -08:00
Rye Terrell
23c81bb3d4 wait for kubedns to be ready 2017-12-18 09:28:03 -06:00
Kubernetes Submit Queue
3492467178
Merge pull request #57113 from wwwtyro/rye/optional-kube-dns
Automatic merge from submit-queue (batch tested with PRs 56676, 57050, 54881, 56822, 57113). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

make kube-dns addon optional

**What this PR does / why we need it**: Makes the kube-dns addon optional so that users can deploy their own DNS solution.

**Release note**:
```release-note
Makes the kube-dns addon optional so that users can deploy their own DNS solution.
```
2017-12-16 19:19:49 -08:00
Kubernetes Submit Queue
7a3fa9d58e
Merge pull request #56633 from juju-solutions/bug/restarts
Automatic merge from submit-queue (batch tested with PRs 56337, 56546, 56550, 56633, 56635). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Remove do-restart states

**What this PR does / why we need it**: Simplify juju reactive part of the master.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/448

**Special notes for your reviewer**:

**Release note**:

```NONE```
2017-12-16 01:53:52 -08:00
Rye Terrell
6559e4dede make kube-dns addon optional 2017-12-12 14:33:38 -06:00
Konstantinos Tsakalozos
0f591aeabc Fix flake8 error 2017-12-01 16:28:32 +02:00
Konstantinos Tsakalozos
85ac2dc9fa Remove do-restart states 2017-11-30 16:50:40 +02:00
Konstantinos Tsakalozos
f0ace95218 Handling the case of an upgrade from a non-rolling master with resource change 2017-11-29 09:56:42 +02:00
Konstantinos Tsakalozos
61d9848438 Improve handling of snap resources 2017-11-28 20:47:19 +02:00
Konstantinos Tsakalozos
1550df99eb The change in channels will be caught config change after the upgrade. 2017-11-28 12:24:40 +02:00
Konstantinos Tsakalozos
280b833f39 Fix master upgrade cornercases 2017-11-27 21:53:22 +02:00
Mike Wilson
c8f6eaccba Master now supports delayed upgrades. It will wait until specifically told to upgrade with an action unless the configuration option require-manual-upgrade is false. 2017-11-18 01:04:13 -05:00
George Kraft
9036d07cb8 Add extra-args configs to kubernetes-worker charm 2017-11-08 12:49:37 -06:00
George Kraft
18a42bee37 Add extra-args configs for scheduler and controller-manager 2017-11-06 15:56:43 -06:00
Konstantinos Tsakalozos
dce7a87d26 Removing flush_auth_for_departed 2017-11-03 23:24:57 +02:00
Konstantinos Tsakalozos
b134ce7621 New master takes over 2017-11-03 20:47:43 +02:00
Mike Wilson
21c8253dfe Changing the way we clear the certificate written flag to use a helper function in the tls layer. 2017-11-01 17:53:29 -04:00
Mike Wilson
b77b2b91c7 Merge branch 'master' into lb 2017-11-01 12:00:28 -04:00