Skip to content

Commit d89fc21

Browse files
authored
Merge pull request #51 from puppetlabs/1.0.1
1.0.1
2 parents 2f174c8 + c0a41d9 commit d89fc21

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
$Version 1.0.0
1+
#Version 1.0.1
2+
3+
Support for weave and flannel
4+
EPEL module removed as dependency
5+
Added `$apiserver_extra_arguments` PR #47
6+
Added support for PDK
7+
Added support for stdlib 4.24.0
8+
Updated kubetool to include CNI information in hiera (see README)
9+
10+
#Version 1.0.0
211
Officially supported version of puppetlabs-kubernetes
312

413
#Version 0.2.0

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ image to simplify installation and use.
3939
If you do not already have Docker installed on your workstation, install it [here](https://www.docker.com/community-edition)
4040

4141
The kubetool docker image takes each of the parameters as environment variables. When run as follows it will output a `kubernetes.yaml` file in your current working directory:
42-
43-
```puppet
44-
docker run --rm -v $(pwd):/mnt -e OS=debian -e VERSION=1.9.1 -e CONTAINER_RUNTIME=docker -e CNI_PROVIDER=weave -e FQDN=kubernetes -e IP=172.17.10.101 -e BOOTSTRAP_CONTROLLER_IP=172.17.10.101 -e ETCD_INITIAL_CLUSTER="etcd-kube-master=http://172.17.10.101:2380" -e ETCD_IP="%{::ipaddress_enp0s8}" -e KUBE_API_ADVERTISE_ADDRESS="%{::ipaddress_enp0s8}" -e INSTALL_DASHBOARD=true puppet/kubetool
42+
```
43+
docker run --rm -v $(pwd):/mnt -e OS=debian -e VERSION=1.9.2 -e CONTAINER_RUNTIME=docker -e CNI_PROVIDER=weave -e FQDN=kubernetes -e IP=172.17.10.101 -e BOOTSTRAP_CONTROLLER_IP=172.17.10.101 -e ETCD_INITIAL_CLUSTER="etcd-kube-master=http://172.17.10.101:2380" -e ETCD_IP="%{::ipaddress_enp0s8}" -e KUBE_API_ADVERTISE_ADDRESS="%{::ipaddress_enp0s8}" -e INSTALL_DASHBOARD=true puppet/kubetool
4544
```
4645

4746
The parameters are:
@@ -186,6 +185,9 @@ An example with hiera would be `kubernetes::kube_api_advertise_address:"%{::ipad
186185

187186
Defaults to `undef`.
188187

188+
#### `apiserver_extra_arguments`
189+
An array of extra configuration you can pass to the Kubernetes api container
190+
defaults to []
189191
#### `etcd_version`
190192

191193
The version of etcd to use.

manifests/init.pp

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
# An example with hiera would be kubernetes::kube_api_advertise_address: "%{::ipaddress_enp0s8}"
5151
# defaults to undef
5252
#
53+
# [*$apiserver_extra_arguments*]
54+
# This is an array to pass extra configuration to the Kubernetes api.
55+
# Defaults to []
56+
#
5357
# [*etcd_version*]
5458
# The version of etcd that you would like to use.
5559
# Defaults to 3.0.17

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-kubernetes",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"author": "Puppet",
55
"summary": "The module installs and configures a Kubernetes cluster",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)