8b3ce6e418
bump upgrade tests to v2.5.0 commit ( #3087 )
2018-08-10 13:05:05 +03:00
d8e77600e2
Merge pull request #3066 from luisyonaldo/fix-conditional
...
fix bad conditional
2018-08-10 10:38:52 +02:00
e3dcd96301
kubedns & kubedns-autoscaler: Stick to master nodes. ( #2909 )
...
* kubedns & kubedns-autoscaler: Stick to master nodes.
- Tolerate only master nodes and not any NoSchedule taint
- Pods are on different nodes
- Pods are required to be on a master node.
* kubedns: use soft nodeAffinity.
Prefer to be on a master node, don't require.
* coredns: Stick to (different) master nodes.
- Pods are on different nodes
- Pods are preferred to be on a master node.
2018-08-09 10:42:53 -05:00
001cae5894
Merge pull request #3028 from Kami-no/cilium
...
cilium v1.1.2
2018-08-09 10:35:29 -05:00
fd380615a0
fix bad conditional
2018-08-09 10:20:45 +02:00
039180b2ca
Merge pull request #3022 from alvistack/weave-2.4.0
...
weave: Upgrade to 2.4.0
2018-08-09 15:01:05 +08:00
22b89edbbc
cilium v1.1.2
...
Update all configs to current upstream state.
Add more resources (unable to pass tests now)...
2018-08-08 22:42:50 +03:00
4650f04b37
Merge pull request #3075 from okamototk/fix_skipdownloads_condition
...
Fix skip_downloads condition.
2018-08-08 20:23:01 +08:00
82f9652fd8
Fix skip_downloads condition.
2018-08-08 10:56:02 +00:00
94ae945bea
Merge pull request #2904 from mirwan/var_lib_kubelet_should_not_be_unmounted_when_having_its_own_partition
...
Only subdirectories in /var/lib/kubelet should be unmounted at reset time
2018-08-08 15:00:54 +08:00
f6189885c2
Merge pull request #3037 from okamototk/fix_skipdownload
...
Fixed checking skip_downloads condition.
2018-08-08 14:58:22 +08:00
5c039d87aa
Merge pull request #3054 from reverson/1.10-admission
...
Add support for admission controllers in 1.10 and above
2018-08-08 14:32:11 +08:00
08dfb7b59f
Merge pull request #3073 from riverzhang/delete-istio
...
Remove istio support
2018-08-08 13:00:57 +08:00
4c0e723ead
Merge pull request #3069 from magnuhho/master
...
contrib/terraform/terraform.py: fix for Ansible 2.6.2+, issue #3067
2018-08-08 11:52:07 +08:00
ea6af449a8
Remove istio support
...
Use helm install or support in future
2018-08-08 11:10:09 +08:00
f72d74f951
Merge pull request #3072 from mathieuherbert/dns-tags
...
Add tags for coredns and kubedns
2018-08-08 09:58:25 +08:00
d285565475
Add tags for coredns and kubedns
2018-08-07 20:55:38 +02:00
4eadf3228e
Only add admission plugins if defined
2018-08-07 11:25:03 -07:00
99c5aa5a02
Use k8s default plugin list
2018-08-07 11:25:03 -07:00
6ed65d762b
Separate out plugins into 2 variables
2018-08-07 11:25:03 -07:00
ac18f6cf8b
Add support for admission controllers in 1.10 and above
2018-08-07 11:25:03 -07:00
1f7a42f3a4
Fixed checking skip_downloads condition.
2018-08-07 12:03:57 -04:00
e71f261935
Merge pull request #3068 from riverzhang/swap
...
Enable swap
2018-08-07 21:29:41 +08:00
fcfe12437c
contrib/terraform/terraform.py: fix for Ansible 2.6.2+, issue #3067
2018-08-07 15:22:14 +02:00
b902602d16
Enable swap
2018-08-07 21:13:12 +08:00
b1ef336ffa
Merge pull request #3001 from alvistack/ingress-nginx-0.17.0
...
ingress-nginx: Upgrade to 0.17.1
2018-08-07 20:50:53 +08:00
538cb3b1bd
weave: Upgrade to 2.4.0
...
Upstream Changes:
- weave 2.4.0 (https://github.com/weaveworks/weave/releases/tag/v2.4.0 )
- Support `externalTrafficPolicy: Local` (https://github.com/weaveworks/weave/issues/2924 )
- Make the ipset list size bigger (https://github.com/weaveworks/weave/pull/3305 )
- Break out of kube rm-peers loop if nothing changes (https://github.com/weaveworks/weave/pull/3317 )
Our Changes:
- Revamp weave-net.yml.j2 with upstream changes
- Add more variables for customization
- Replace WEAVE_PASSWORD with k8s secret
- Remove hard-corded seed mode support, in favor of variables customization
2018-08-07 18:34:51 +08:00
17e335c6a7
ingress-nginx: Upgrade to 0.17.1
...
Upstream Changes:
- ingress-nginx 0.17.1 (https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.17.1 )
- Remove duplicated `securityContext` (https://github.com/kubernetes/ingress-nginx/pull/2705 )
- Remove --publish-service flag, in favor of DaemonSet + hostPort
Close #2998
Close #2999
2018-08-07 18:31:08 +08:00
280d6cac1a
Merge pull request #2997 from alvistack/cert-manager-0.4.0
...
cert-manager: Upgrade to 0.4.0
2018-08-07 18:00:46 +08:00
c288ffc55d
Merge pull request #2342 from southquist/add-ca-cert
...
allow for setting the cacert on openstack cloud provider
2018-08-07 17:46:01 +08:00
9075dbdd3c
Merge pull request #2875 from bradbeam/movault
...
Adding cluster_name to api cert alt name for vault
2018-08-07 17:36:04 +08:00
16bd0d2b5d
Merge pull request #2900 from drekle/configure_openstack_subnet_CIDR
...
Configure openstack subnet cidr
2018-08-07 17:27:01 +08:00
7850bce254
Merge pull request #2994 from DBLaci/master
...
dashboard_token_ttl option override possibility with default
2018-08-07 17:16:25 +08:00
3d19e03294
Merge pull request #3015 from podnov/kube_proxy_healthz_bind_address
...
Variablize kube_proxy_healthz_bind_address
2018-08-07 17:10:33 +08:00
496cb306bc
Merge pull request #3050 from woosley/master
...
update .gitignore
2018-08-07 17:01:51 +08:00
b1f8bfdf7c
Merge pull request #3055 from reverson/17.09-docker
...
Add support for docker 17.09
2018-08-07 16:57:50 +08:00
2c38e4e1ac
Merge pull request #3059 from okumin/fix-glusterfs-group_vars
...
Fix a broken symbolic link for group_vars
2018-08-07 16:55:32 +08:00
411d07a4f6
Merge pull request #3047 from rguichard/openstack-az-support
...
availability zones support for OpenStack
2018-08-07 16:51:41 +08:00
7d3a6541d7
Merge pull request #3065 from freeseacher/patch-1
...
Service file binary place mismatch
2018-08-07 16:48:56 +08:00
0f400a113c
cert-manager: Upgrade to 0.4.0
...
Upstream Changes:
- cert-manager 0.4.0 (https://github.com/jetstack/cert-manager/releases/tag/v0.4.0 )
2018-08-07 14:29:28 +08:00
e8447e3d71
Service file binary place mismatch
...
According to cluster/binary.yml vault binary will be placed to `{{ bin_dir }}` and according to `inventory/sample/group_vars/all.yml` that is
`inventory/sample/group_vars/all.yml`
2018-08-06 14:44:13 +03:00
f086b6824e
Merge pull request #3064 from riverzhang/yamlroles
...
Fix yaml roles error
2018-08-05 18:51:02 +08:00
ac644ed049
Fix yaml roles error
2018-08-05 18:48:07 +08:00
453fea1977
Merge pull request #3034 from cornelius-keller/library_fix
...
fix missing libraries on newer coreos versions
2018-08-05 12:54:03 +08:00
a953f1ca8b
Fix a broken symbolic link for group_vars
2018-08-04 23:49:06 +09:00
4b5cb1185f
fix missing libraries on newer coreos versions
2018-08-03 15:29:05 +02:00
275cdc1ce3
Add support for docker 17.09
2018-08-02 11:35:16 -07:00
8d6f67e476
update .gitigonre
...
- add vim default backup file *~
- remove duplicated *sw[pon]
2018-08-02 11:30:55 +08:00
9172150966
Merge pull request #3044 from jerryrelmore/patch-4
...
Clarify etcd deployment script failure mechanism
2018-08-01 22:57:14 +08:00
1f2831967e
Merge pull request #3041 from woosley/master
...
set LC_ALL=C for growpart
2018-08-01 22:54:19 +08:00
c19643cee2
availability zones support for OpenStack
...
allow masters, nodes and gluster nodes (within each group) to be scheduled
on differents AZ.
2018-08-01 16:42:58 +02:00
a5c165bb13
Merge pull request #3033 from rguichard/remotes/fork/master
...
add openstack security group for traffic to 30000-32767/tcp on worker nodes
2018-08-01 22:34:14 +08:00
d43f09081e
Merge pull request #1 from kubernetes-incubator/master
...
Follow upstream
2018-08-01 16:34:10 +02:00
1385091768
Clarify etcd deployment script failure mechanism
...
Attempting to clarify the language surrounding the etcd node deployment script failure mechanism. I had this error when doing a new cluster deployment last night and, though it should have been, it wasn't immediately apparent to me what was causing the issue (since my default master node hostnames do not specify whether they are also acting as etcd replicas).
2018-07-31 15:15:49 -04:00
72074f283b
set local for growpart part 2
2018-07-31 06:56:09 +08:00
a5db3dbea9
set locale for growpart
2018-07-31 06:52:56 +08:00
a2c9331b56
Merge pull request #3031 from a14n/patch-1
...
Fix label of registry in README
2018-07-27 21:38:27 +08:00
1a38a9df88
add security groups for traffic to 30000-32767/tcp
...
This will make NodePort services work out of the box
2018-07-27 14:57:29 +02:00
9b349a9049
Fix label of registry in README
2018-07-27 11:42:21 +02:00
329e97c4d3
Merge pull request #3018 from seungkyua/remove_double_slash
...
Remove double slash
2018-07-25 12:31:46 -05:00
0366600b45
Remove double slash
...
Even without this PR, the operation works well.
However, it is better to use a single slash rather than
a double slash in the path.
2018-07-20 07:34:33 +00:00
6a4ce96b7d
Variablize kube_proxy_healthz_bind_address
...
This fixes #3014
2018-07-19 14:19:09 -05:00
b61c64a8ea
token-ttl default value is int in seconds
2018-07-19 12:15:47 +02:00
ca62c75bdf
Merge pull request #2990 from Miouge1/update-adding-node-doc
...
Include etcd and masters in adding node doc
2018-07-19 11:55:55 +02:00
38bd328abb
Merge pull request #2995 from okamototk/fix_kubectl_path
...
Fixed kubectl path.
2018-07-18 22:31:38 +08:00
37ccf7e405
Fixed kubectl path.
2018-07-13 15:32:08 +00:00
cb91003cea
dashboard_token_ttl option override possibility with default
2018-07-13 15:26:18 +02:00
4ad7b229d3
Include etcd and masters in adding node doc
2018-07-12 17:22:11 +02:00
97e0de7e29
Fix vault file owner issues and k8s apiserver cert creation ( #2985 )
...
apiserver cert should be created only once
2018-07-11 14:58:02 +03:00
83d1486a67
Merge pull request #2984 from mattymo/docker_tag
...
add docker upgrade tag doc
2018-07-10 20:57:34 +08:00
9081b3f914
add docker upgrade tag doc
2018-07-10 13:37:37 +03:00
cf445fd4fe
Merge pull request #2930 from alvistack/ingress-nginx-0.16.1
...
ingress-nginx: Upgrade to 0.16.2
2018-07-10 14:42:37 +08:00
72f053d9bb
Merge pull request #2972 from mattymo/force_cni_cp
...
Force copy cni files
2018-07-10 09:40:10 +03:00
a0defefb3f
ingress-nginx: Upgrade to 0.16.2
...
ingress-nginx 0.16.2 (https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.16.2 )
This patch simplify ingress-nginx deployment by default deploy on
master, with customizable options; on the other hand, remove the
additional Ansible group "kube-ingress" and its k8s node label
injection.
Reference to https://kubernetes.io/docs/concepts/services-networking/ingress/#prerequisites :
GCE/Google Kubernetes Engine deploys an ingress controller on the master.
By changing `ingress_nginx_nodeselector` plus custom k8s node
label, user could customize the DaemonSet deployment target.
If `ingress_nginx_nodeselector` is empty, will deploy DaemonSet on
every k8s node.
2018-07-10 12:26:06 +08:00
9e19159547
Merge pull request #2935 from alvistack/cert-manager-0.3.1
...
cert-manager: Upgrade to 0.3.2
2018-07-10 12:05:31 +08:00
62b1166911
cert-manager: Upgrade to 0.3.2
...
Upstream Changes:
- cert-manager 0.3.2 (https://github.com/jetstack/cert-manager/releases/tag/v0.3.2 )
Our Changes:
- Remove legacy addon dir, manifests and namespace before upgrade
2018-07-10 08:48:44 +08:00
810596c6d8
Merge pull request #2974 from alvistack/cephfs-provisioner-1.1.0-k8s1.10
...
cephfs-provisioner: Upgrade to 1.1.0-k8s1.10
2018-07-09 13:53:07 +08:00
a488d55c2c
Merge pull request #2975 from daohoangson/remove_force_disable_kube_basic_auth
...
Remove step that disables `kube_basic_auth`.
2018-07-08 21:18:36 +08:00
8106f1c86d
Merge pull request #2977 from pennycoders/master
...
Fix 2976
2018-07-08 21:17:37 +08:00
e63bc65a9d
Fix 2976
...
Fix failure when the container attribute is not set for a download
2018-07-08 13:36:47 +03:00
d306c9708c
Remove step that force disable kube_basic_auth
.
...
The referenced issue (https://github.com/kubernetes/kubeadm/issues/441 ) has already been fixed.
2018-07-08 16:57:43 +07:00
6a65345ef3
cephfs-provisioner: Upgrade to 1.1.0-k8s1.10
...
Upstream Changes:
- Update CEPH_VERSION to mimic (https://github.com/kubernetes-incubator/external-storage/pull/841 )
Our Changes:
- Using image from official repo which contain latest changes (https://quay.io/repository/external_storage/cephfs-provisioner )
2018-07-08 00:37:08 +08:00
f1e348ab95
Merge pull request #2971 from elementyang/calico-pr
...
change create to apply
2018-07-07 09:13:57 +08:00
1a3b9dd864
Force copy cni files
2018-07-06 16:39:42 +03:00
8fee1ab102
change create to apply
2018-07-06 19:36:19 +08:00
5c617c5a8b
Add tags to deploy components by --tags option ( #2960 )
...
* Add tags for cert serial tasks
This will help facilitate tag-based deployment of specific components.
* fixup kubernetes node
2018-07-06 09:12:13 +03:00
0b939a495b
Improve vault etcd initialization check ( #2959 )
2018-07-05 12:27:45 +03:00
4d7426ec95
Fix terraform env Not effective ( #2966 )
...
Add TF_VAR_ to terraform env
2018-07-05 12:20:02 +03:00
4092f96dd8
Merge pull request #2946 from Miouge1/remove-pid-predicate
...
CheckNodePIDPressure is not supported in v1.10
2018-07-04 18:30:19 +03:00
fa003af8f0
Merge pull request #2954 from aioue/patch-1
...
Update README.md
2018-07-03 19:43:22 +08:00
77c870b7d0
Merge pull request #2951 from alvistack/cephfs-provisioner-06fddbe2
...
cephfs-provisioner: Upgrade to 06fddbe2
2018-07-03 19:36:42 +08:00
32a6ca4fd6
Merge pull request #2948 from qeqar/remove-node-limit
...
move node selection from --limit to --extra-vars=node<nodename>"
2018-07-03 18:41:57 +08:00
958eca2863
Update README.md
2018-07-03 11:39:51 +02:00
af635ff3ff
[remove-node] add doku for nodeselector
2018-07-03 10:38:37 +02:00
728024e8ff
cephfs-provisioner: Upgrade to 06fddbe2
...
- cephfs-provisioner 06fddbe2 (https://github.com/kubernetes-incubator/external-storage/tree/06fddbe2/ceph/cephfs )
Noteable changes from upstream:
- Added storage class parameters to specify a root path within the backing cephfs and, optionally, use deterministic directory and user names (https://github.com/kubernetes-incubator/external-storage/pull/696 )
- Support capacity (https://github.com/kubernetes-incubator/external-storage/pull/770 )
- Enable metrics server (https://github.com/kubernetes-incubator/external-storage/pull/797 )
Other noteable changes:
- Clean up legacy manifests file naming
- Remove legacy manifests, namespace and storageclass before upgrade
- `cephfs_provisioner_monitors` simplified as string
- Default to new deterministic naming
- Add `reclaimPolicy` support in StorageClass
With legacy non-deterministic naming style (where $UUID are generated ramdonly):
- cephfs_provisioner_claim_root: /volumes/kubernetes
- cephfs_provisioner_deterministic_names: false
- Generated CephFS volume: /volumes/kubernetes/kubernetes-dynamic-pvc-$UUID
- Generated CephFS user: kubernetes-dynamic-user-$UUID
With new default deterministic naming style (where $NAMESPACE and $PVC are predictable):
- cephfs_provisioner_claim_root: /volumes
- cephfs_provisioner_deterministic_names: true
- Generated CephFS volume: /volumes/$NAMESPACE/$PVC
- Generated CephFS user: k8s.$NAMESPACE.$PVC
2018-07-03 10:15:24 +08:00
b548f6f320
move node selection from --limit to --extra-vars=node<nodename>"
2018-07-02 20:04:36 +02:00
62df6ac724
Merge pull request #2952 from scality/coredns-typo
...
Fix `coreos_dual` -> `coredns_dual` typo
2018-07-02 23:50:59 +08:00
8bcad4f5ef
Fix coreos_dual
-> coredns_dual
typo
...
See: e40368ae2b
2018-07-02 17:19:35 +02:00
31e6c44b07
Merge pull request #2924 from elementyang/make-ssl-etcd-pr
...
fix the time of ca files are changed in make-ssl-etcd
2018-07-02 20:44:20 +08:00
77c910c1c3
Fixup vault etcd check ( #2938 )
...
* Fixup vault etcd
* Update main.yml
2018-07-02 15:37:37 +03:00
c20196f9a0
Remove modprobe binary from kubelet rkt deployment ( #2917 )
2018-07-02 15:37:24 +03:00
f6a15b1829
Merge pull request #2918 from elementyang/fix-pr
...
fix add etcd_events_access_address
2018-06-30 11:55:38 +08:00
7c22def422
add etcd_events_access_address
2018-06-30 07:32:29 +08:00
87e49f0055
Merge pull request #2921 from elementyang/index-out-of-range-pr
...
fix template index out of range for pull images
2018-06-30 00:53:53 +08:00
a36e3fbec3
Add rkt gc task ( #2945 )
2018-06-29 19:53:21 +03:00
4bceaf77ee
Merge branch 'master' of https://github.com/kubernetes-incubator/kubespray
2018-06-29 16:40:16 +00:00
35a3597416
Merge pull request #2941 from amaya382/fix-dns-doc
...
Fix default value for dns_mode on the document
2018-06-29 22:24:31 +08:00
2a279e30b0
CheckNodePIDPressure is not supported in v1.10
2018-06-28 20:10:38 +02:00
c685dc493f
allow for setting the cacert on openstack cloud provider
2018-06-28 16:00:13 +02:00
aacc89e4e6
Fix default value for dns_mode on the document
2018-06-28 17:08:27 +09:00
e24f888bc4
Merge pull request #2923 from bradbeam/vaultrkt
...
Adding uuidfile for rkt based vault to properly cleanup after itself
2018-06-27 11:18:39 +02:00
3d2ea28c96
Merge pull request #2926 from neith00/coreos_rkt
...
No need to install rkt on CoreOS
2018-06-26 10:58:16 +02:00
a643f72d93
No need to install rkt on CoreOS
2018-06-25 09:38:24 +02:00
73a2a18006
Merge pull request #2795 from gfkse/baremetal-override-calico-hostname
...
Make Calico nodename overridable on bare metal
2018-06-25 08:45:09 +03:00
2ef05fb3b7
Merge pull request #2763 from ameukam/update_efk_stack
...
Update efk stack
2018-06-24 19:01:32 +08:00
e06d02365e
Merge pull request #2338 from southquist/template-openstack-storage-class
...
allow for configurable openstack storage class
2018-06-24 18:42:29 +08:00
d6f2dbc723
fix the time of ca files are changed in make-ssl-etcd
2018-06-24 13:05:43 +08:00
20dba8b388
Adding uuidfile for rkt based vault to properly cleanup after itself
2018-06-23 15:14:40 -05:00
f624ba47fb
Merge pull request #2922 from riverzhang/remove-node
...
Add run_once to remove-node
2018-06-23 15:09:16 +08:00
94aa062d51
Add run_once to remove-node
2018-06-23 07:05:24 +00:00
c0935e161b
fix template index out of range for pull images
2018-06-23 05:32:44 +08:00
70fbc01cc1
fix etcd_events_access_addresses
2018-06-23 00:04:19 +08:00
6c2f169ea2
update test-pr2 ( #2911 )
2018-06-22 13:22:26 +03:00
c230e617f0
Merge pull request #2891 from earlruby/fix-python-pip-version-flag-in-readme
...
Fix the Python and pip version flag in the README
2018-06-22 14:10:39 +08:00
1aee6ec371
Merge pull request #2903 from riverzhang/swap
...
Add manage swap on the worker node
2018-06-21 22:20:23 +08:00
d3fdfee211
Only subdirectories in /var/lib/kubelet should be unmounted
2018-06-21 11:50:02 +02:00
3232e2743e
Add manage swap on the worker node
2018-06-21 08:15:01 +00:00
cbb959151c
Merge pull request #2737 from Miouge1/update-scheduler
...
Update kube-scheduler policy
2018-06-19 14:53:22 +02:00
c3d8b131db
Merge pull request #2801 from dvazar/bugfix/undefined__network_plugin__variable
...
Fixed "network_plugin" variable
2018-06-19 10:01:06 +02:00
236d1a448d
Merge pull request #2898 from kubernetes-incubator/default_true_authtoken
...
Enable by default the kubelet token auth
2018-06-19 09:56:32 +02:00
cfd51b1ac7
Merge pull request #2899 from mattymo/etcd_events_var_clarity
...
Improve variable handling for disabling etcd events cluster
2018-06-19 09:55:56 +02:00
61e97251a5
Improve variable handling for disabling etcd events cluster
2018-06-18 16:58:29 +03:00
c192a01b20
Enable by default the kubelet token auth
2018-06-18 14:20:05 +02:00
97a05ff34a
Fix the Python and pip version flag in the README
...
The README says to check if Python and pip are installed type:
```
python -v && pip -v
```
Lowercase `-v` is `--verbose`, uppercase `-V` is `--version`. The
command should be:
```
python -V && pip -V
```
2018-06-15 11:10:29 -07:00
6aaaf4a272
Limit the maximum number of revisions saved per helm release ( #2894 )
...
* Limit the maximum number of revisions saved per helm release
2018-06-15 12:50:18 +02:00
cd64f41524
Merge pull request #2844 from chechiachang/fix-inconsistent-variable-in-task-name-and-msg
...
Fix inconsistent variables in task name and task message
2018-06-15 09:19:31 +02:00
df279b1ff6
Merge pull request #2890 from drekle/bugfix/dns-domain-incorrect-for-coredns
...
CoreDNS uses cluster_name instead of dns_domain
2018-06-15 09:06:11 +02:00
aa859bc640
Merge pull request #2 from drekle/configure_openstack_subnet_CIDR
...
Configure openstack subnet cidr
2018-06-14 15:15:51 -06:00
6ac601fd2d
Merge pull request #2876 from neith00/docker_iptables
...
parametrized iptables options for docker daemon
2018-06-14 22:23:27 +02:00
3a569c9dcb
Merge pull request #2750 from w-leads/feature/add-vmname-to-vcp-config
...
Add vm_name option to vsphere cloud provider config
2018-06-14 22:22:34 +02:00
27d62941b2
Add the subnet_cidr as a required argument to the network module
2018-06-14 17:41:58 +00:00
ab345c5f69
Change was not picked up
2018-06-14 17:31:04 +00:00
a06f641b6c
Configurable openstack subnet cidr
2018-06-14 16:40:32 +00:00
f2f1e7f9d1
parametrized iptables options for docker daemon
2018-06-14 12:16:16 +02:00
0686b8452e
Merge pull request #2860 from alvistack/cert-manager-0.3.0
...
cert-manager: Upgrade to v0.3.0
2018-06-14 10:35:23 +08:00
72504d26dc
Merge pull request #1 from drekle/bugfix/dns-domain-incorrect-for-coredns
...
appropriately use dns_domain instead of cluster_name for coredns for coredns config map
2018-06-13 14:01:00 -06:00
1e98e8444e
Using dns domain instead of cluster name for coredns, incase they differ
2018-06-13 18:52:35 +00:00
f216e7339b
Merge pull request #2629 from alvistack/cephfs-provisioner-namespace
...
Fixup #2545 , cephfs-provisioner: Individual Namespace for Add-on
2018-06-13 22:42:20 +08:00
291dd1aca8
Fixup #2545 , cephfs-provisioner: Individual Namespace for Add-on
2018-06-13 21:52:58 +08:00
38da0adead
cert-manager: Upgrade to v0.3.0
2018-06-13 21:47:44 +08:00
81b3343796
Merge pull request #2857 from alvistack/ingress-nginx-0.15.0
...
ingress-nginx: Upgrade to 0.15.0
2018-06-13 21:16:17 +08:00
f2c160e7e0
Merge pull request #2872 from riverzhang/kube-proxy
...
Reconfigure kube-proxy to access kube-apiserver via the LB(kubeadm)
2018-06-13 17:43:34 +08:00
3d819a6edd
Adding cluster_name to api cert alt name for vault
2018-06-12 14:15:07 -05:00
20bd656975
Reconfigure kube-proxy to access kube-apiserver via the LB(kubeadm)
2018-06-12 12:53:50 +00:00
9f245dd9b2
ingress-nginx: Upgrade to 0.15.0
2018-06-08 16:05:15 +08:00
cf8e9eed69
Merge pull request #2853 from pomverte/patch-1
...
docs(azure arm): update link azure cli login
2018-06-08 01:24:29 +08:00
10c9fe96b0
Merge pull request #2859 from riverzhang/nginx
...
Fix nginx-proxy HA when kubeadm enable
2018-06-08 01:10:01 +08:00
42b24616ac
Merge pull request #2856 from alvistack/kubernetes-1.10.4
...
Upgrade Kubernetes to 10.0.4 and etcd to 3.2.18
2018-06-07 23:54:03 +08:00
f9ccb93825
Fix nginx-proxy HA when kubeadm enable
2018-06-07 14:27:19 +00:00
daeea75fbb
Merge pull request #2835 from oracle/bm_fix-apiserver-access-ip
...
roles/kubernetes/client: kubeconfig template should use access_ip
2018-06-07 11:50:57 +03:00
0ad0202e8f
Upgrade Kubernetes to 10.0.4 and etcd to 3.2.18
2018-06-07 16:20:29 +08:00
a2a26755fe
docs(azure cli): update links
...
install and login links
2018-06-07 07:10:33 +02:00
1f02cc70f1
Merge pull request #2825 from dshuvar/dshuvar/docker-options.conf
...
Changed /etc/systemd/system/docker.service.d/docker-options.conf file for successful parsing mount aguments
2018-06-06 12:56:18 -05:00
fe010504aa
Merge pull request #2851 from bradbeam/vaultnotify
...
Adding wait for vault up handler in service restart
2018-06-06 12:49:03 -05:00
05e3c76b1d
Merge pull request #2852 from bradbeam/etcdeventsrkt
...
Adding missing rkt template for etcd-events
2018-06-06 12:48:31 -05:00
63a458063b
Adding missing rkt template for etcd-events
2018-06-06 10:43:30 -05:00
a8715f9f0f
Adding wait for vault up handler in service restart
2018-06-06 10:40:27 -05:00
59be578842
Revert "wip pr for improved cert sync" ( #2849 )
2018-06-06 17:22:25 +03:00
cb0a257349
Merge pull request #2819 from oleh-ozimok/fix-cidr-assert
...
Fix enough network address space assert
2018-06-06 07:32:16 +03:00
e1cfe83825
Fix inconsistent variables in task name and task message
2018-06-05 16:45:02 +08:00
69ea28e187
Merge pull request #2827 from mattymo/testpr
...
wip pr for improved cert sync
2018-06-04 12:43:00 +03:00
2f5a9e180c
kubernetes/client: kubeconfig template should use the access_ip for the chosen master node
2018-06-04 09:51:05 +01:00
f912a4ece5
Fix compare AnsibleUnsafeText with int ( #2828 )
2018-06-04 11:34:10 +03:00
d1e66f9cc8
Add label to kubelet env for kubeadm deploy cluster ( #2841 )
2018-06-04 11:26:47 +03:00
1a25903583
Merge pull request #2838 from kubernetes-incubator/ant31-patch-1
...
Remove the HUGE gitlab logo
2018-06-02 13:19:22 +03:00
0728a2a78a
Update README.md
...
Remove the HUGE gitlab logo
2018-06-01 11:30:40 +02:00
b67cf74c5e
Merge pull request #2823 from scality/dashboard_in_cluster_info
...
Dashboard in cluster info
2018-05-31 15:48:25 +03:00
2832a1cdcd
Merge pull request #2821 from MithunMJ/patch-1
...
Update README.md
2018-05-31 11:43:59 +03:00
4e0ed1ea50
Adding SECURITY_CONTACTS fixes #2816 ( #2833 )
2018-05-31 10:48:49 +03:00
164122555d
Merge pull request #2822 from mirwan/contiv_etcd_init_image
...
contiv-etcd-init image as default instead hardcoded
2018-05-31 09:35:39 +02:00
11d87ecc37
removed surnumerary definition of contiv_etcd_init_image_* (already in download role)
2018-05-31 00:02:11 +02:00
7433348aae
wip pr for improved cert sync
2018-05-30 12:15:11 +03:00
3673ed6262
include contiv_etcd_init_image to downloads role
2018-05-29 17:05:33 +02:00
16f860bbc2
Update docker-options.conf.j2
...
Changed /etc/systemd/system/docker.service.d/docker-options.conf file for successful parsing mount aguments
try fix ci error previous commit
2018-05-29 12:40:33 +03:00
d973ecf5cc
fix error message: '[/etc/systemd/system/docker.service.d/docker-options.conf:3] Failed to parse mount flag , ignoring.'
2018-05-28 18:23:15 +03:00
f88cd27686
Add dashboard url as part of kubectl cluster-info
output
2018-05-28 11:46:11 +02:00
2a4fc70e1c
contiv-etcd-init image as default instead hardcoded
2018-05-28 11:11:18 +02:00
c9c12129fd
Update README.md
...
fix gitlab logo
2018-05-28 13:04:40 +05:30
38f7ba2584
Fix enough network address space assert
2018-05-27 18:01:17 +03:00
c4b1808983
Use relative paths for data_files in setup.cfg ( #2812 )
...
pip install doesn't work with absolute paths
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2018-05-25 11:57:03 +02:00
f3ed740a75
Merge pull request #2793 from lpaulmp/use-env-python-header
...
Set widely used header to execute python scripts in different OS
2018-05-25 08:27:41 +03:00
b3f9cae820
fixed a check unknown networks (cilium & contiv)
2018-05-22 16:43:19 +07:00
a67bdff28c
Merge pull request #2743 from mrostecki/opensuse-tumbleweed-openssl
...
opensuse: Fix OpenSSL package name
2018-05-22 11:21:04 +02:00
e3c8b230a0
Merge pull request #2806 from Miouge1/no-kpm
...
Remove KPM support
2018-05-22 11:17:52 +02:00
9689a28d15
Merge pull request #2805 from mvasilenko/helm_v291
...
Update Helm to latest version 2.9.1
2018-05-22 11:14:39 +02:00
095d33bc51
Remove KPM support
2018-05-21 22:28:08 +02:00
821966b319
Update Helm version to 2.9.1
2018-05-21 17:36:51 +03:00
ab46687a8a
Merge pull request #2777 from spinside/patch-2
...
Update README.md
2018-05-19 19:29:53 +03:00
be7278ce9d
Update README.md
2018-05-19 17:11:57 +02:00
428218dbf0
Update README.md
2018-05-19 17:10:27 +02:00
d110999d31
Update README.md
2018-05-19 17:09:38 +02:00
4b8daa22f6
Fixes #2800
2018-05-19 00:57:09 +07:00
3f1887316b
Set widely used header for python for different OS
2018-05-17 17:00:49 -05:00
e60a63ea51
Merge pull request #2577 from woopstar/etcd-fix-4
...
Makeover of etcd- and etcd-cluster setup.
2018-05-16 20:49:54 +02:00
a2a7bcd43d
Merge pull request #2786 from cruwe/cjr-assert-maximum-pods-on-node-cidr
...
assert that number of pods on node does not exceed CIDR address range
2018-05-16 19:57:43 +02:00
c1bc4615fe
assert that number of pods on node does not exceed CIDR address range
...
The number of pods on a given node is determined by the --max-pods=k
directive. When the address space is exhausted, no more pods can be
scheduled even if from the --max-pods-perspective, the node still has
capacity.
The special case that a pod is scheduled and uses the node IP in the
host network namespace is too "soft" to derive a guarantee.
Comparing kubelet_max_pods with kube_network_node_prefix when given
allows to assert that pod limits match the CIDR address space.
2018-05-16 11:55:46 +00:00
76dca877da
Set the vars explicit
2018-05-16 13:14:13 +02:00
38e727dbe1
Merge pull request #2744 from girikuncoro/fix-tf-aws-readme
...
Remove unnecessary loadbalancer_apiserver binding on terraform AWS readme
2018-05-16 14:10:38 +03:00
eba486f229
add posibility to provide different yum repository directory ( #2787 )
2018-05-16 13:56:04 +03:00
4ac79993e2
Merge pull request #2666 from AnatolyRugalev/master
...
Added MountFlags variable to docker options
2018-05-16 09:34:34 +02:00
7c93e71801
Upgrade k8s to 1.10.2 ( #2748 )
...
* Upgrade k8s to 1.10.2
Bumped etcd version to 3.2.16 as recommended
* Add ipvs fix for v1.10
* change flannel addons test to ha
2018-05-15 16:00:29 +03:00
1be399ab7b
Merge pull request #2772 from cruwe/cjr-correct-perms-on-kubeconfig
...
make admin.conf -> .kube/config non-executable
2018-05-15 13:26:33 +02:00
eae4fa040a
Added docker_mount_flags option ( fixes #2624 )
2018-05-15 11:57:18 +02:00
a3c53efaf7
Update README.md
2018-05-15 10:29:41 +02:00
0f7fefd1b5
Update README.md
2018-05-15 10:27:44 +02:00
76fc786c07
Merge pull request #2782 from riverzhang/kube-dns-upgrade
...
Bump kube-dns to 1.14.10
2018-05-15 16:12:37 +08:00
76a1fd37ff
Merge pull request #2779 from lvthillo/patch-2
...
Update README.md
2018-05-15 10:04:34 +02:00
73800ef111
make certificates non-executable
2018-05-15 07:54:32 +00:00
742a8782dd
Bump kube-dns to 1.14.10
...
Upgrade kube-dns to 1.14.10
https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns
2018-05-15 03:29:10 +00:00
8f6c863d7b
Update README.md
...
https://github.com/kubernetes-incubator/kubespray/issues/2764
2018-05-14 20:11:57 +02:00
cd7c58e8d3
correct some indentation issues in the fluentd daemonset.
2018-05-14 19:56:18 +02:00
a1de8a07d6
Update README.md
...
Added the requirement of pip for Vagrant users in readme.
See issue #2766
2018-05-14 16:22:38 +02:00
476b14b06e
Make Calico nodename overridable on bare metal
...
Signed-off-by: Daniel Mohr <daniel.mohr@supercrunch.io >
2018-05-14 14:13:51 +02:00
49d106f615
make admin.conf -> .kube/config non-executable
...
Almost certainly, the .kube/config file (YAML) should not be executable.
2018-05-14 09:29:48 +00:00
63fdfae918
Merge pull request #2770 from Miouge1/notify-policy
...
Restart scheduler when policy changes
2018-05-14 10:57:16 +02:00
ad48606e4e
Restart scheduler when policy changes
2018-05-14 10:09:30 +02:00
32f312f4a6
Merge pull request #2757 from qbl/master
...
Fix issue #2702 : 'docker_bin_dir' is undefined when running ansible-playbook remove-node.yml
2018-05-14 09:54:57 +08:00
52ffd5dae4
Fix issue #2702 : 'docker_bin_dir' is undefined when running ansible-playbook remove-node.yml
2018-05-14 07:20:45 +05:30
c75da43f22
add missing field in fluentd
2018-05-13 21:39:27 +02:00
65f14f636d
remove support of other CRI runtimes than Docker in the efk stack
2018-05-13 18:37:36 +02:00
d7d85d2d3e
Merge pull request #2758 from girikuncoro/fix-remove-node
...
Fix privilege escalation timeout for remove-node playbook
2018-05-13 21:42:10 +08:00
363627d9f8
serviceName added in elasticsearch. Required when a Statefulset is used
2018-05-13 14:23:37 +02:00
322b528ee0
Merge pull request #2765 from alirezaDavid/debug_docs
...
add svc to netchecker-service.default.svc.cluster.local
2018-05-13 12:31:38 +08:00
0fe5f120a3
add svc to netchecker-service.default.svc.cluster.local
2018-05-12 17:34:51 +04:30
7950a49e28
update fluentd deployment and configmap
2018-05-11 18:56:14 +02:00
698da78768
update kibana docker image
2018-05-11 18:36:50 +02:00
ba320e918d
update elasticsearch image
2018-05-11 18:22:44 +02:00
07cc981971
refactor vault role ( #2733 )
...
* Move front-proxy-client certs back to kube mount
We want the same CA for all k8s certs
* Refactor vault to use a third party module
The module adds idempotency and reduces some of the repetitive
logic in the vault role
Requires ansible-modules-hashivault on ansible node and hvac
on the vault hosts themselves
Add upgrade test scenario
Remove bootstrap-os tags from tasks
* fix upgrade issues
* improve unseal logic
* specify ca and fix etcd check
* Fix initialization check
bump machine size
2018-05-11 19:11:38 +03:00
e23fd5ca44
Merge pull request #2762 from woopstar/fix-coreos-bootstrap-fact
...
Fix path for pip and python when already bootstrapped
2018-05-11 17:06:28 +02:00
7df5edef52
Fix path for pip and python
2018-05-11 16:01:52 +02:00
1eaa6925b9
Fix privilege escalation timeout for remove-node playbook
2018-05-10 11:53:48 +05:30
86212d59ae
Fix issue #2702 : 'docker_bin_dir' is undefined when running ansible-playbook remove-node.yml
2018-05-10 10:10:59 +05:30
82deb2c57f
Merge pull request #2725 from desaintmartin/coreos-pip-path
...
coreos: explicitely set pip executable.
2018-05-09 09:47:14 +02:00
7507031cb1
CoreOS bootstrap: set bin_dir and PATH for pip.
2018-05-08 22:20:58 +02:00
51a9379d3c
Add vm_name option to vsphere cloud provider config
2018-05-08 12:23:58 -07:00
d73d60c9b0
Merge pull request #2600 from maximegaillard/master
...
Add Openstack tenant name
2018-05-08 12:03:01 +02:00
004b4a0436
Merge pull request #2729 from Ashon/issues/fix-python-compat
...
Use 'items()' for python compatibility
2018-05-08 12:02:28 +02:00
67ce8925e4
Merge pull request #2742 from woopstar/coredns-update
...
Update CoreDNS to version 1.1.2
2018-05-08 12:01:42 +02:00
3a1f6810b7
Remove loadbalancer_apiserver binding on readme
2018-05-08 14:55:52 +05:30
066016cd3e
opensuse: Fix OpenSSL package name
...
OpenSSL 1.1 package in openSUSE Tumbleweed is named openssl-1_1,
not openssl-1_1_0.
2018-05-08 10:03:30 +02:00
28d6eb6af1
Merge pull request #2644 from cp3hu/master
...
Fix apiserver manifest and kubelet for kube version < 1.9
2018-05-08 09:22:36 +02:00
1a47a9b850
Update CoreDNS to version 1.1.2
2018-05-08 09:14:01 +02:00
addd67dc63
Merge pull request #2738 from krystan/master
...
tiny spacing change "can be"
2018-05-04 20:58:26 +02:00
70e0998a70
Update kube-scheduler policy
2018-05-03 21:56:51 +02:00
988bd88468
tiny spacing change "can be"
2018-05-03 20:56:07 +01:00
0d88972d3e
Merge pull request #2732 from Towmeykaw/patch-1
...
Update aws.md
2018-05-03 12:45:08 +02:00
0e012e5987
Update aws.md
...
I had an issue with DNS not working because i didn't add the "kubernetes.io/cluster/$cluster_name" to the route table my subnets where using.
2018-05-02 22:32:41 +02:00
595e96ebf1
Merge pull request #2693 from romaindequidt/sync-certs-tasks-fix
...
sync certs tasks (fix #2596 #2667 )
2018-05-02 12:17:23 -05:00
4c81cd2a71
Merge branch 'master' of https://github.com/kubernetes-incubator/kubespray into etcd-fix-4
2018-05-02 14:45:58 +02:00
32a8ea8094
Fix wrong var used
2018-05-02 12:44:05 +02:00
c594bd7feb
Do not run setup on all the nodes.
2018-05-02 10:58:38 +02:00
223ed98828
Merge pull request #2728 from hswong3i/ingress-nginx-0.14.0
...
ingress-nginx: Upgrade to 0.14.0
2018-05-02 10:20:46 +02:00
39e3df25a3
Merge pull request #2731 from girikuncoro/fix-aws-readme
...
Fix broken terraform aws readme
2018-05-02 09:35:59 +02:00
0fb017b9c1
Rename ansible user env vars
2018-05-02 14:07:54 +07:00
fb465f8b4b
Use 'items()' for python compatibility
2018-05-01 16:55:50 +09:00
3501eb6916
ingress-nginx: Upgrade to 0.14.0
2018-05-01 15:42:07 +08:00
00db751646
Add Openstack tenant name
2018-05-01 09:21:37 +02:00
df6c5b28a1
[contrib/terraform/openstack] Backward compatibility changes ( #2539 )
...
* [terraform/openstack] Restores ability to use existing public nodes and masters as bastion.
* [terraform/openstack] Uses network_id as output
* [terraform/openstack] Fixes link to inventory/local/group_vars
* [terraform/openstack] Adds supplementary master groups
* [terraform/openstack] Updates documentation avoiding manual setups for bastion (as they are not needed now).
* [terraform/openstack] Supplementary master groups in docs.
* [terraform/openstack] Fixes repeated usage of master fips instead of bastion fips
* [terraform/openstack] Missing change for network_id to subnet_id
* [terraform/openstack] Changes conditional to element( concat ) form to avoid type issues with empty lists.
2018-04-30 18:11:07 +03:00
59789ae02a
ISSUE-2706: Provide consistent usage of supplementary_addresses_in_ssl_keys across vault and script mode ( #2707 )
2018-04-30 14:48:17 +03:00
414e420bd2
Merge pull request #2701 from desaintmartin/netchecker-update
...
Update netchecker to v1.2.2.
2018-04-30 10:55:18 +02:00
03de4c0806
Merge pull request #2695 from suzutan/add-oidc-prefix-args
...
Add oidc-user-prefix and oidc-group-prefix args
2018-04-30 09:17:02 +02:00
4fb8e6d455
Merge pull request #2653 from kidk/fixed-incorrect-mem-tag
...
Replaced 'mem' with 'memory/ in elasticsearch and kibana deployment
2018-04-30 09:14:15 +02:00
06cdb260f6
labelvalue must be formatted to handle non string values ( #2722 )
2018-04-29 19:02:14 +03:00
c3c5817af6
sysctl file should be in defaults so that it can be overriden ( #2475 )
...
* sysctl file should be in defaults so that it can be overriden
* Change sysctl_file_path to be consistent with roles/kubernetes/preinstall/defaults/main.yml
2018-04-27 18:50:58 +03:00
9168c71359
Revert "Revert "Add openSUSE support" ( #2697 )" ( #2699 )
...
This reverts commit 51f4e6585a
.
2018-04-26 12:52:06 +03:00
1a14f1ecc1
Fix vol format for local volume provisioner in rkt ( #2698 )
2018-04-24 20:32:08 +03:00
44cb126e7d
Update netchecker to v1.2.2.
...
Using official image from mirantis at dockerhub.
2018-04-24 09:13:56 +02:00
51f4e6585a
Revert "Add openSUSE support" ( #2697 )
2018-04-23 14:28:24 +03:00
f81e6d2ccf
Add oidc-user-prefix and oidc-group-prefix args
2018-04-23 12:23:59 +09:00
80dd230a65
sync certs tasks ( fix #2596 #2667 )
2018-04-22 10:00:31 +02:00
d1b4ea5807
Merge pull request #2687 from noris-network/master
...
Document how to allow ipip traffic with calico on OpenStack
2018-04-21 10:38:21 +03:00
f5db403c45
Merge pull request #2689 from lpaulmp/run-once-preinstall-upgrade
...
run_once pre_upgrade tasks which are executing in localhost
2018-04-21 10:37:10 +03:00
75950344fb
run_once pre_upgrade tasks which are executing in localhost
2018-04-19 11:38:13 -05:00
a49e06b54b
Document how to allow ipip traffic with calico on OpenStack
2018-04-19 16:00:01 +02:00
0945eb990a
Make it possible to skip docker role as a var ( #2686 )
2018-04-19 16:47:20 +03:00
a498cc223b
Merge pull request #2673 from hswong3i/cephfs-provisioner-a71a49d4
...
cephfs-provisioner: Upgrade to a71a49d4
2018-04-19 11:39:10 +02:00
ddd200bbfa
Merge pull request #2604 from shravanpn7/shravan-pr
...
kubectl get pods from 'test' namespace as the pods were created in test ns
2018-04-19 09:27:53 +02:00
9707aa8091
Merge pull request #2677 from woopstar/bootstrap-fix-1
...
Properly check need_pip, always run pip to check if needed
2018-04-19 09:23:26 +02:00
2e6a260ab1
Merge pull request #2683 from rsmitty/custom-etcd-vars
...
support custom env vars for etcd
2018-04-18 16:07:43 -04:00
49c6bf8fa6
support custom env vars for etcd
2018-04-18 14:03:24 -04:00
296b92dbd4
Replaced 'mem' with 'memory/ in elasticsearch and kibana deployment
2018-04-18 11:25:29 +02:00
b2756d148a
Merge pull request #2671 from hswong3i/cert-manager-0.2.4
...
cert-manager: Upgrade to v0.2.4
2018-04-18 10:17:39 +02:00
756af57787
Properly check need_pip, always run pip to check if needed
...
pip was always being downloaded on subsequent runs, This PR always runs the pip command, and checks the rc of it before downloading pip
Fix in favor of #2582
2018-04-18 10:15:46 +02:00
cb7096f2ec
Merge pull request #2672 from hswong3i/ingress-nginx-0.13.0
...
ingress-nginx: Upgrade to 0.13.0
2018-04-18 10:10:13 +02:00
3c4871d9b8
Merge pull request #2670 from hswong3i/weave-2.3.0
...
weave: Upgrade to 2.3.0
2018-04-18 10:09:38 +02:00
f90673ac68
Merge pull request #2662 from ganeshmaharaj/vagrant-gitignore
...
Vagrantfile: Add vagrant inventory file in any directory to .gitignore
2018-04-17 19:16:00 +03:00
d435e17681
cephfs-provisioner: Upgrade to a71a49d4
2018-04-17 13:41:34 +08:00
23e9737b85
ingress-nginx: Upgrade to 0.13.0
2018-04-17 12:19:44 +08:00
54beb27eaa
cert-manager: Upgrade to v0.2.4
2018-04-17 12:08:10 +08:00
7968437a65
Weave: Upgrade to 2.3.0
2018-04-17 08:51:24 +08:00
693b7c5fd0
Merge pull request #2668 from Arslanbekov/kubernetes-logo
...
Kubernetes logo in README.md
2018-04-16 20:06:46 +02:00
1bd49ff125
Add production uri
2018-04-16 17:33:24 +03:00
9f460dd1bf
Change uri
2018-04-16 17:32:00 +03:00
2441dd6f6f
Usage kubernetes-logo in README.md
2018-04-16 17:30:53 +03:00
ea44ad4d75
Added img kubernetes-logo.png
2018-04-16 17:29:55 +03:00
4b4786f75d
Merge pull request #2381 from vikas027/inventory_fixes
...
Replaced ansible_ssh_host with ansible_host in sample inventory file and fixed usage of bastion
2018-04-16 10:06:19 +03:00
02cd5418c2
Weave limits ( #2660 )
...
* Raise limits for weave
* Adjust weave limits
2018-04-15 18:32:49 +03:00
c432697667
Vagrantfile: Add vagrant inventory file in any directory to .gitignore
...
Follow-on fix for #2654
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com >
2018-04-13 10:54:21 -07:00
c7683f33cb
Merge pull request #2654 from ganeshmaharaj/fix-vagrant-default-inventory
...
Vagrantfile: Fix default inventory path.
2018-04-13 19:10:42 +03:00
49e3665d96
Remove prometheus operator from Kubespray ( #2658 )
...
Kubespray should not install any helm charts. This is a task
that a user should do on his/her own through ansible or another
tool. It opens the door to wrapping installation of any helm
chart.
2018-04-13 18:53:39 +03:00
e95ba800ea
Define local volume provisioner dirs in defaults ( #2656 )
2018-04-13 17:23:10 +03:00
5d9bb300d7
Merge pull request #2646 from Atoms/fix-sync-container
...
move when condition to main.yml
2018-04-13 09:10:21 +03:00
afcd5997b9
Vagrantfile: Fix default inventory path.
...
Change to support multiple inventory path led to Vagrant environment not
getting a default group_vars in it's inventory path. Using sample as the
default path if none specified.
Fix issue #2541
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com >
2018-04-12 14:24:41 -07:00
f73717ea35
Mount local volume provisioner dirs for containerized kubelet ( #2648 )
2018-04-12 22:55:13 +03:00
1967963702
Merge pull request #2380 from hwoarang/add-opensuse-support
...
Add openSUSE support
2018-04-12 20:28:50 +03:00
76dd0cd777
Merge pull request #2609 from chadswen/front-proxy-client-ca
...
Use dedicated front-proxy-ca for front-proxy-client
2018-04-12 12:19:41 -05:00
d87b6fd9f3
Use dedicated front-proxy-ca for front-proxy-client
2018-04-12 11:03:22 -05:00
a6a47dbc96
Merge pull request #2617 from bradbeam/savaultcert
...
Adding missing service-account certificate for vault
2018-04-12 11:02:24 -05:00
61791bbb3d
Remove condition for docker pull when using download delegate
2018-04-12 19:01:13 +03:00
298c6cb790
Merge pull request #2633 from grebois/patch-3
...
Enabling MutatingAdmissionWebhook for Istio Automatic sidecar injection
2018-04-12 11:53:58 +03:00
a561ee6207
Merge pull request #2647 from riverzhang/build_rpm
...
Fix missing install remove-node feature
2018-04-12 15:44:40 +08:00
3fa7468d54
Copy ca-key.pem to etcd and kube-masters accordingly
2018-04-12 10:17:54 +03:00
bc3abad602
tests: Add CI jobs for openSUSE
2018-04-11 20:55:20 +01:00
d75b5d6931
README.md: Add openSUSE Leap and Tumbleweed as supported distributions
2018-04-11 20:55:20 +01:00
02bf742e15
roles: rkt: Add support for SUSE distributions
...
The RPM file that's provided by upstream can be used for SUSE
distributions as well. Moreover we simplify the playbook to use
the 'package' module to install packages across different distros.
Link: https://github.com/rkt/rkt/pull/3904
2018-04-11 20:55:20 +01:00
d07f75b389
roles: kubernetes: secrets: Add SUSE support
...
Add path for certificate location for SUSE distributions. Also make sure
the 'update-ca-certificates' command is executed on SUSE hosts as well.
2018-04-11 20:55:02 +01:00
2d34781259
roles: etcd: Add support for SUSE distributions
...
Add path for certificate location for SUSE distributions. Also make sure
the 'update-ca-certificates' command is executed on SUSE hosts as well.
2018-04-11 20:53:43 +01:00
cdb63a8c49
roles: docker: Ensure service is started if docker is already installed
...
If the 'docker' package is already installed, then the handlers will not
run and the service will not be (re-)started. As such, lets make sure
that the service is started even if the packages are already installed.
2018-04-11 17:46:14 +01:00
44a0626fc8
roles: docker: Add support for SUSE distributions
...
Add support for installing Docker on SUSE distributions. The Docker
repository at https://yum.dockerproject.org/repo/main/ does not support
recent openSUSE distributions so the only alternative is to use the
packages from the distro repositories. This however renders the
'docker_version' Ansible variable useless on SUSE.
2018-04-11 17:46:14 +01:00
45eac53ec7
roles: kubernetes: preinstall: Install openssl-1.1.0 on Tumbleweed
...
The openssl package on Tumbleweed is actually a virtual package covering
openssl-1.0.0 and openssl-1.1.0 implementations. It defaults to 1.1.0 so
when trying to install it and openssl-1.0.0 is installed, zypper fails
with conflicts. As such, lets explicitly pull the package that we need
which also updates the virtual one.
Co-authored-by: Markos Chandras <mchandras@suse.de >
2018-04-11 17:46:14 +01:00
e42203a13e
roles: kubernetes: preinstall: Add SUSE support
...
Add support for installing package dependencies and refreshing metadata
on SUSE distributions
Co-authored-by: Nirmoy Das <ndas@suse.de >
2018-04-11 17:46:14 +01:00
4ba25326ed
roles: bootstrap-os: Use 'hostname' command on Tumbleweed
...
openSUSE Tumbleweed is having the same problems with CoreOS when it
comes to using the hostname ansible module (#1588 , #1600 ) so we need
to apply a similar workaround.
Co-authored-by: Markos Chandras <mchandras@suse.de >
Link: http://bugzilla.opensuse.org/show_bug.cgi?id=997614
2018-04-11 17:46:14 +01:00
dca4777347
roles: bootstrap-os: Add support for SUSE distributions
...
Install some required packages when running on SUSE distributions.
2018-04-11 17:46:14 +01:00
e113d1ccab
Vagrantfile: Use rsync to copy working directory to VM
...
Depending on the VM configuration, vagrant may either use 'rsync' or
vboxfs for populating the working directory to the VM. However, vboxfs
means that any files created by the VM will also be present on the host.
As such, lets be explicit and always use 'rsync' to copy the directory
to the VM so we can keep the host copy clean. Moreover, the default
rsync options include '--copy-links' and this breaks rsync if there are
missing symlinks in the working directory like the following one:
Error: symlink has no referent:
"/home/user/kubespray/contrib/network-storage/glusterfs/group_vars"
As such, we override the default options to drop --copy-links.
2018-04-11 17:44:55 +01:00
112ccfa9db
Vagrantfile: Add support for openSUSE Tumbleweed
...
Add support for provisioning kubespray on openSUSE Tumbleweed virtual
machines.
2018-04-11 16:58:03 +01:00
0ed1919a38
Vagrantfile: Add support for openSUSE Leap 42.3
...
Add support for provisioning kubespray on openSUSE Leap 42.3 virtual
machines.
2018-04-11 16:58:03 +01:00
ff003cfa3c
Fix missing install remove-node feature
2018-04-11 17:30:01 +08:00
6c954df636
move when condition to main.yml
2018-04-11 12:05:33 +03:00
981e61fb51
Merge pull request #2625 from kaarolch/master
...
Add note about ansible_become to coreos section
2018-04-11 08:32:43 +03:00
5db1c3eef7
Add note about privilege escalation method to the README
2018-04-10 22:22:08 +02:00
3535c29e59
Fix apiserver manifest for kube version < 1.9
2018-04-10 18:17:56 +02:00
88765f62e6
Updating order
...
https://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-admission-controllers-to-use
2018-04-10 17:17:39 +02:00
0f35e17e23
Fix new envvar for setting openstack_tenant_id ( #2641 )
...
Changed from OS_PROJECT_ID to OS_PROJECT_NAME.
2018-04-10 17:23:31 +03:00
77b3f9bb97
Removing default for volume-plugins mountpoint ( #2618 )
...
All checks test if this is defined meaning there is no way to undefine it.
2018-04-10 17:19:25 +03:00
09f93d9e0c
Fix CI upgrade scenario by using dynamic inventory file ( #2635 )
...
Also updates the commit ID we use as a basis for upgrade tests.
2018-04-10 16:02:33 +03:00
45f15bf753
Revert "Fix new envvar for setting openstack_tenant_id" ( #2640 )
2018-04-10 14:37:24 +03:00
913cc5a9af
Merge pull request #2639 from ironhouzi/openstack_tenant_id_fix
...
Fix new envvar for setting openstack_tenant_id
2018-04-10 14:35:28 +03:00
a46acfcdd8
Merge pull request #2627 from mattymo/no_more_do_do
...
Remove jinja2 dependency of do
2018-04-10 14:32:29 +03:00
0c0f6b755d
Fix new envvar for setting openstack_tenant_id
...
Changed from OS_PROJECT_ID to OS_PROJECT_NAME.
2018-04-10 13:30:48 +02:00
94eb18b3d9
Replaced ansible_ssh_host with ansible_host in sample inventory file as the former is deprecated since Ansible v2.0
...
Fixed the reference of ansible_user in kubespray-defaults role
References:
- http://docs.ansible.com/ansible/latest/intro_inventory.html
2018-04-10 15:21:40 +10:00
af5943f7e6
Merge branch 'master' of github.com:kubernetes-incubator/kubespray
2018-04-10 15:07:35 +10:00
ecda4e3a8c
Merge pull request #2632 from Atoms/permission_fix
...
fix kubectl download location and kubectl.sh helper owner/group remove
2018-04-09 15:33:04 +03:00
4c12b273ac
Enabling MutatingAdmissionWebhook for Istio Automatic sidecar injection
...
https://istio.io/docs/setup/kubernetes/sidecar-injection.html#automatic-sidecar-injection
2018-04-09 12:49:05 +02:00
b68854f79d
fix kubectl download location and kubectl.sh helper owner/group remove
2018-04-09 13:19:26 +03:00
f954bc0a5a
Remove jinja2 dependency of do
...
While `do` looks cleaner, forcing this extra option in ansible.cfg
seems to be more invasive. It would be better to keep the traditional
approach of `set dummy = ` instead.
2018-04-09 12:27:53 +03:00
7b8359df4d
Merge pull request #2613 from riverzhang/atomic-docker
...
Fix check docker error for atomic
2018-04-08 20:58:42 +08:00
66b61866cd
Fix check docker error for atomic
...
Fix issues #2611
2018-04-08 17:53:16 +08:00
3736bfa04a
Merge pull request #2612 from riverzhang/os
...
Fix issues #2522 Support Debian stretch
2018-04-08 16:29:05 +08:00
dfc46f02d7
Adding missing service-account certificate for vault
...
Missed in #2554
2018-04-06 15:29:52 -05:00
9086665013
Fix issues #2522 Support Debian stretch
...
https://download.docker.com/linux/debian/dists/
2018-04-06 18:31:46 +08:00
0210e53bb7
Merge pull request #2610 from danielhoherd/master
...
Fix typos (no logic changes)
2018-04-06 16:53:40 +08:00
ca40d51bc6
Fix typos (no logic changes)
2018-04-05 15:54:58 -07:00
ca6a07f595
Add VMware vSphere to deployed
2018-04-05 22:36:50 +08:00
b5bd959a97
Merge pull request #2598 from chenhonggc/persist_ipvs_module
...
Persist ip_vs modules
2018-04-05 09:53:47 +02:00
f26e16bf79
kubectl get pods from 'test' namespace as the pods were created in 'test' ns
2018-04-04 13:26:16 -07:00
973e7372b4
content: |
2018-04-04 23:05:27 +08:00
b54e091886
Persist ip_vs modules
2018-04-04 18:18:51 +08:00
6c220e4e4b
Merge pull request #2495 from holmsten/rotate-provisioner-token
...
Rotate local-volume-provisioner token
2018-04-04 10:21:12 +02:00
2511e14289
Merge pull request #2346 from Miouge1/kube-scheduler-mode
...
Use legacy policy config to apply the scheduler policy
2018-04-04 10:20:51 +02:00
0f5ea5474c
Merge pull request #2593 from vterdunov/fix-check-vsphere_cloud_provider
...
Properly check vsphere_cloud_provider.rc
2018-04-03 20:35:59 +02:00
6567b8e012
Merge pull request #2590 from hswong3i/istio-download
...
istio: container download related things should defined in the download role
2018-04-03 13:57:43 +02:00
aee3ec682e
Merge pull request #2587 from tossmilestone/update-ingress-nginx-version
...
Bump ingress-nginx-controller to version 0.12.0
2018-04-03 13:56:41 +02:00
428a554ddb
istio: container download related things should defined in the download role
2018-04-03 14:29:50 +08:00
32f4194cf8
Bump ingress-nginx-controller to version 0.12.0
2018-04-03 10:39:17 +08:00
6f3ff70b17
Merge pull request #2585 from georgejdli/fix-sa-token-signing
...
check if dedicated service account token signing key exists
2018-04-02 14:23:49 -05:00
76bb5f8d75
check if dedicated service account token signing key exists
2018-04-02 10:57:24 -05:00
4b98537f79
Properly check vsphere_cloud_provider.rc
2018-04-02 18:45:42 +03:00
cac2196ad5
Merge pull request #2575 from hswong3i/local-volume-provisioner-download
...
local-volume-provisioner: container download related things should defined in the download role
2018-04-02 10:32:43 +02:00
ba24fe3226
Merge pull request #2570 from avoidik/transfer-cloud-configs
...
Move cloud config configurations to proper location
2018-04-02 10:31:38 +02:00
3004791c64
Add pre-upgrade task for moving credentials file ( #2394 )
...
* Add pre-upgrade task for moving credentials file
This reverts commit 7ef9f4dfdd
.
* add python interpreter workaround for localhost
2018-04-02 11:19:23 +03:00
b1a7889ff5
local-volume-provisioner: container download related things should defined in the download role
2018-04-02 13:50:11 +08:00
86e3506ae6
Etcd cluster setup makeover
...
The current way to setup the etc cluster is messy and buggy.
- It checks for cluster is healthy before the cluster is even created.
- The unit files are started on handlers, not in the task, so you mess with "flush handlers".
- The join_member.yml is not used.
- etcd events cluster is not configured for kubeadm
- remove duplicate runs between running the role on etcd nodes and k8s nodes
2018-04-01 21:38:33 +02:00
92fc2df214
Merge pull request #2574 from hswong3i/cephfs-provisioner-download
...
cephfs-provisioner: container download related things should defined in the download role
2018-04-01 18:26:08 +02:00
4f714b07b8
cephfs-provisioner: container download related things should defined in the download role
2018-04-01 20:35:44 +08:00
eb4038a6b9
Merge pull request #2573 from hswong3i/registry-download
...
registry: container download related things should defined in the download role
2018-04-01 11:39:04 +02:00
4c0e9ba890
registry: container download related things should defined in the download role
2018-04-01 06:51:57 +08:00
deac627dc7
Merge pull request #2571 from hswong3i/ingress-nginx-download
...
ingress-nginx: container download related things should defined in the download role
2018-03-31 20:51:50 +02:00
6ee3c053b7
Merge pull request #2547 from bobahspb/master
...
prometheus operator, metrics for k8s cluster
2018-03-31 20:51:24 +02:00
16961f69f2
Merge branch 'master' into master
2018-03-31 21:48:39 +03:00
b9b028a735
Update etcd deployment to use correct cert and key ( #2572 )
...
* Update etcd deployment to use correct cert and key
* Update to use admin cert for etcdctl commands
* Update handler to use admin cert too
2018-03-31 14:06:09 -04:00
5fe144aa0f
ingress-nginx: container download related things should defined in the download role
2018-04-01 00:22:33 +08:00
5b0da4279f
Merge pull request #2543 from hswong3i/cert-manager-0.2.3
...
Integrate jetstack/cert-manager 0.2.3 to Kubespray
2018-03-31 18:15:25 +02:00
1ac978b8fa
Merge pull request #2567 from mirwan/node_labels_doc_plus_kube_ingress_handling
...
node_labels documentation and kube-ingress label definition as role_node_label
2018-03-31 18:05:52 +02:00
c1a2e9a8c6
Merge pull request #2569 from avoidik/allow-ssh-key-openstack
...
Allow ansible_ssh_private_key_file for Openstack
2018-03-31 18:05:00 +02:00
195d6d791a
Integrate jetstack/cert-manager 0.2.3 to Kubespray
2018-03-31 19:29:11 +08:00
aa301c31d1
Move credential checks into proper folder
2018-03-31 13:29:00 +03:00
d9418b1dc4
Merge pull request #2554 from georgejdli/fix-sa-token-signing
...
Fix kubespray's ServiceAccount token signing keys
2018-03-31 09:59:22 +02:00
2c89a02db3
Only download container/file if host is in defined group ( #2565 )
...
* Only download container/file if host is in defined group
* Set correct when clause
* Fix last entries
* Update download groups
2018-03-30 22:40:01 -04:00
0ca08e03af
Merge pull request #2566 from woopstar/etcd-fix-2
...
Fix etcd from import task to include task
2018-03-30 20:53:32 -04:00
15efdf0c16
Move credential checks
2018-03-31 03:26:37 +03:00
ab8760cc83
Move credentials pre-check
2018-03-31 03:24:57 +03:00
b6da596ec1
Move default configuration parameters for cloud-config
2018-03-31 03:18:23 +03:00
3c12c6beb3
Move cloud config configurations to proper location
2018-03-31 02:59:59 +03:00
26caad4f12
Allow ansible_ssh_private_key_file for Openstack
2018-03-31 02:38:01 +03:00
8ece922ef0
node_labels documentation + kube-ingress label handling as role_node_label
2018-03-31 00:36:11 +02:00
887a468d32
Merge pull request #2562 from avoidik/fix-indexes-pr-2251
...
Fix kubecert_node.results indexes
2018-03-31 00:16:11 +02:00
859a7f32fb
Fix import task. Has to be include task to evalutate etcd_cluster_setup variable at run time
2018-03-31 00:06:34 +02:00
1f28764ca1
Merge pull request #2512 from woopstar/hyperkube-fix-1
...
Switch hyperkube from CoreOS to Google
2018-03-30 21:58:03 +02:00
76cb37d6b5
Merge pull request #2544 from woopstar/cert-fix-2
...
Update openssl.conf to count better and work with Jinja 2.9
2018-03-30 21:57:17 +02:00
7ddd4cd38c
Merge pull request #2561 from rsmitty/no_proxy
...
only set no_proxy if other proxy vars are defined
2018-03-30 21:43:23 +02:00
c1eb975545
Merge pull request #2557 from chenhonggc/vault_health_check_delay
...
Maybe vault health check needs delay
2018-03-30 21:39:15 +02:00
414b739641
Merge pull request #2564 from rsmitty/jinja-ext
...
include do extension for jinja
2018-03-30 15:30:15 -04:00
572ab650db
copy dedicated service account token signing key for kubeadm migration
2018-03-30 13:03:32 -05:00
e296ccb4d0
include do extension for jinja
2018-03-30 12:31:38 -04:00
72c2a8982b
Fix kubecert_node.results indexes
2018-03-30 17:24:50 +03:00
13c57147eb
only set no_proxy if other proxy vars are defined
2018-03-30 09:48:55 -04:00
7e58b96328
Merge pull request #2525 from avoidik/openstack_subnet_fix
...
Return subnet_id as defined in kubespray.tf
2018-03-30 13:42:12 +02:00
ac4a71452e
Merge pull request #2062 from wanix/ansible-vagrant-update
...
replace ansible.sudo by ansible.become for vagrant
2018-03-30 13:41:45 +02:00
03bcfa7ff5
Stop templating kube-system namespace and creating it ( #2545 )
...
Kubernetes makes this namespace automatically, so there is
no need for kubespray to manage it.
2018-03-30 14:29:13 +03:00
af5f376163
Revert
2018-03-30 11:42:20 +02:00
004b0a3fcf
Fix merge conflict
2018-03-30 11:38:59 +02:00
4bb7d2b566
Merge branch 'master' of https://github.com/kubernetes-incubator/kubespray into cert-fix-2
2018-03-30 11:34:05 +02:00
94a0562c93
adding prometheus_operator_enabled, k8s_metrics_enabled parameters to tests
2018-03-30 12:29:04 +03:00
f619eb08b1
Merge pull request #2350 from whereismyjetpack/kubeadm-nodename
...
set nodeName to "{{ inventory_hostname }}" in kubeadm-config
2018-03-30 11:15:52 +02:00
55195fe546
Merge pull request #2500 from gorazio/patch-1
...
Add prometheus annotations to spec in ingress
2018-03-30 11:02:31 +02:00
5711074c5a
Merge pull request #2290 from mirwan/node_labels_from_inventory
...
Node labels definition in kubelet params from inventory
2018-03-30 03:42:52 -05:00
4a705b3fba
May vault health check needs delay
2018-03-30 16:42:08 +08:00
31e386886f
Merge pull request #2555 from chenhonggc/redundancy
...
remove redundancy code
2018-03-29 22:03:37 -05:00
4d85e3765e
remove redundancy code
2018-03-30 09:19:00 +08:00
f0a04b4d65
wait 5 * 4 secs until Tiller starts
2018-03-30 00:09:36 +03:00
760ca1c3a9
adding checking for prometheus_operator_enabled
2018-03-29 23:03:43 +03:00
23b3833806
running on the first master only.
2018-03-29 22:51:46 +03:00
daeeae1a91
Added retries in pre-upgrade.yml and retries while applying kube-dns.yml ( #2553 )
...
* Added retries in pre-upgrade.yml and retries while applying kube-dns.yml
* Removed trailing spaces
2018-03-29 11:37:32 -05:00
c8f857eae4
configure kubespray to sign service account tokens with a dedicated and stable key
2018-03-29 09:50:31 -05:00
270d21f5c1
Merge pull request #2540 from mattymo/cloud_config_timing
...
Write cloud-config during kubelet configuration
2018-03-29 09:12:18 +02:00
bf29198efd
Fix merge conflict
2018-03-29 09:11:13 +02:00
db4e225342
Merge pull request #2548 from kmadnani/fix-openssl-conf
...
Added a fix in openssl.conf template to check for loadbalancer IP.
2018-03-28 16:37:24 -05:00
9ebbf1c3cd
Added a fix in openssl.conf template to check if IP of loadbalncer is available or not.
2018-03-28 16:34:26 -05:00
ef7f5edbb3
Remove old docker packages and other docker upgrade fixes ( #2536 )
...
* Remove old docker packages
This removes docker packages that are obsolete if docker-ce packages are to be installed, which fixes some package conflict issues that can occur during upgrades.
* Add support for setting obsoletes=0 when installing docker with yum
2018-03-28 15:10:39 -05:00
0b5404b2b7
Fix
2018-03-28 20:28:04 +02:00
19e1b11d98
prometheus operator, metrics for k8s cluster
...
install using Helm:
- Prometheus Operator
- metrics for k8s cluster including: grafana dashboard, alertmanager, node exporters
base project:
https://github.com/coreos/prometheus-operator
the issue:
https://github.com/kubernetes-incubator/kubespray/issues/2042
Previous PR, raw ansible without Helm:
https://github.com/kubernetes-incubator/kubespray/pull/2499
2018-03-28 21:23:30 +03:00
0df32b03ca
Update openssl.conf to count better and work with Jinja 2.9
2018-03-28 17:48:56 +02:00
72a4223884
Write cloud-config during kubelet configuration
...
This file should only be updated during kubelet upgrade so that
master components are not accidentally restarted first during
preinstall stage.
2018-03-28 16:26:36 +03:00
03117d9572
Merge pull request #2488 from LuckySB/ingress-nginx-node-role
...
Dedicated node for ingress nginx controller
2018-03-28 14:07:40 +02:00
c78f5393c3
Merge pull request #2538 from hswong3i/weave-2.2.1-fixup
...
Fixup #2523 : Upgrade Weave to 2.2.1
2018-03-28 11:06:33 +02:00
fda49564bf
Merge pull request #2492 from chenhonggc/gather_all_instances
...
gather all facts
2018-03-28 09:52:39 +02:00
ed48b6e4b7
Merge pull request #2537 from hswong3i/calico-2.6.8-docs
...
Fixup #2262 : Update README.md for calico v2.6.8
2018-03-28 09:50:07 +02:00
848fc323db
Fixup for #2523 :
...
- Rename template for /etc/cni/net.d/00-weave.conflist to 00-weave.conflist.j2
- Apply resources requests/limits to both container weave and weave-npc
2018-03-28 11:16:42 +08:00
e6f57f27ee
Fixup #2262 : Update README.md for calico v2.6.8
2018-03-28 10:44:54 +08:00
015ea62e92
Merge pull request #2262 from tmjd/calico-canal-v2-6-7
...
Update Calico and Canal
2018-03-27 21:07:28 -05:00
2ca7087018
Merge pull request #2524 from avoidik/systemd_user_kubelet
...
Set exact user for Kubelet services
2018-03-27 16:41:10 +02:00
d665f14682
Merge pull request #2526 from mzehrer/patch-1
...
Remove kibana_base_url
2018-03-27 12:40:31 +02:00
e375678674
Set exact user for Kubelet services
2018-03-27 11:13:52 +03:00
076b5c153f
Return subnet_id as defined in kubespray.tf
2018-03-27 11:13:36 +03:00
d33a482c91
Merge pull request #2529 from dvazar/bugfix/azurerm_generate_inventory
...
Fixed inventory file creation
2018-03-26 21:11:28 +02:00
d64839e7d2
Merge pull request #2532 from LuckySB/etcd_tuning
...
add etc tunning options
2018-03-26 21:10:38 +02:00
31705a502d
change vagrant version
2018-03-26 18:02:14 +02:00
5f5d0ffe14
replace sudo by become
2018-03-26 18:02:14 +02:00
4f7479d94d
add etc tunning options
...
https://coreos.com/etcd/docs/latest/tuning.html
etcd_snapshot_count
and
ionice priority
2018-03-26 17:25:51 +03:00
9511178666
fixed: creation of an inventory template
2018-03-26 12:00:02 +07:00
b8d1652baf
Remove kibana_base_url
...
The default for kibana_base_url does not make sense an makes kibana unusable. The default path forces a 404 when you try to open kibana in the browser. Not setting kibana_base_url works just fine.
2018-03-25 16:08:07 +02:00
f7dc73b830
Merge pull request #2521 from f84anton/patch-1
...
optional calico_ip_auto_method variable with IP_AUTODETECTION_METHOD
2018-03-24 18:37:03 +01:00
8eac37fabd
Merge pull request #2523 from hswong3i/weave-2.2.1
...
Upgrade Weave to 2.2.1
2018-03-24 18:36:28 +01:00
1d0415a6cf
fixes typo in kube_override_hostname for kubeadm
2018-03-24 13:29:07 -04:00
3f5c60886b
Upgrade Weave to 2.2.1
...
- Fix #2414 , so namespace isolation should now works
- Update weave-net.yml.j2 as per latest https://cloud.weave.works/k8s/net
- Other minor fixup
2018-03-24 17:27:12 +08:00
a75598b3f4
IP_AUTODETECTION_METHOD docs
2018-03-24 01:54:17 +03:00
60a057cace
Update calico-node.yml.j2
2018-03-24 01:46:26 +03:00
dd9d0c0530
optional calico_ip_auto_method variable with IP_AUTODETECTION_METHOD
...
can be set to one of
first-found
can-reach
interface
2018-03-23 16:33:20 +03:00
9fa995ac9d
only sets nodeName in kubeadm-config when kube_override_hostname is set
2018-03-23 08:33:25 -04:00
f07734596e
Merge pull request #2333 from hswong3i/cephfs_provisioner_fixup
...
CephFS Provisioner Addon Fixup
2018-03-23 11:57:11 +01:00
caec3de364
Updating to use calico-node v2.6.8
2018-03-22 12:33:04 -05:00
60bfc56e8e
Update Calico and Canal
...
- Updating to use calico-node v2.6.7
- A few updates to their manifests too
2018-03-22 12:30:23 -05:00
206e24448b
CephFS Provisioner Addon Fixup
2018-03-22 23:03:13 +08:00
4175431dcd
Merge pull request #2332 from hswong3i/registry_fixup
...
Registry Addon Fixup
2018-03-22 11:01:22 -04:00
bb1eb9fec8
Add labels for namespace
2018-03-22 21:33:32 +08:00
b0d7115e9b
hswong3i/kubespray#3 : Use {{ cluster_name }} for valid FQDN in REGISTRY_HOST
2018-03-22 21:33:32 +08:00
f8ebd08e75
Registry Addon Fixup
2018-03-22 21:33:32 +08:00
6ac7840195
Update to correct versions in README
...
Some of the versions does not match. Fix this.
2018-03-22 11:59:58 +01:00
30e4b89837
Merge pull request #2504 from brtknr/patch-1
...
Update kube-apiserver.manifest.j2 and kubeadm-config.yaml.j2 to incorporate `endpoint-reconciler-type: lease`
2018-03-22 09:15:55 +01:00
405c711edb
Remove v in tag
2018-03-22 09:07:28 +01:00
0e6b4e80f7
Merge pull request #2490 from woopstar/workaround-fix-1
...
Only apply roles from first master node to fix regression
2018-03-21 20:29:59 -05:00
9949782e96
Merge pull request #2489 from woopstar/token-fix-1
...
Only copy tokens if tokens_list contains any
2018-03-21 20:28:06 -05:00
bbb6e7b3da
Merge pull request #2508 from melkosoft/cilium
...
Cilium v.1.0.0-rc8
2018-03-21 20:25:43 -05:00
bc68188209
Merge pull request #2498 from zmsp/master
...
Upgraded kubernetes from 1.9.3 to 1.9.5
2018-03-21 20:25:05 -05:00
d3780e181e
Switch hyperkube from CoreOS to Google
2018-03-21 23:27:16 +01:00
2e202051e3
Merge pull request #2364 from whereismyjetpack/default-download
...
set local_release_dir in downloads to match others
2018-03-21 23:16:48 +01:00
448c1d5faa
Merge pull request #2509 from chadswen/flannel-update
...
Update flannel version to v0.10.0
2018-03-21 12:15:09 -05:00
ff2b8e5e60
Merge pull request #2503 from woopstar/kubelet-fix-1
...
Fix duplicate --proxy-client-cert-file and --proxy-client-key-file
2018-03-21 10:03:31 +01:00
8b71ef8ceb
Labels from role (node-role.k8s.io/node) and labels from inventory are merged into node-labels parameter in kubelet
2018-03-21 09:19:05 +01:00
ee8f678010
Addition of the .creds extension to the credentials files generated by password lookup in order for Ansible not to consider them as inventory files with inventory_ignore_extensions set accordingly ( #2446 )
2018-03-21 10:50:32 +03:00
6425c837d5
Added GCE Cilium Ubuntu test
2018-03-21 04:39:29 +00:00
a6b918c1a1
Merge pull request #2485 from LuckySB/flannel_iface_regexp
...
Add --iface-regex options to flannel
2018-03-20 21:18:01 -05:00
c025ab4eb4
Update flannel version to v0.10.0
2018-03-20 19:59:51 -05:00
ae30009fbc
changed version to 1.0.0-rc8
2018-03-20 14:18:56 -07:00
158d775306
changed cilium to 1.0.0-rc7. Set CI to use coreos for cilium test
2018-03-20 12:43:26 -07:00
9d540165c0
Set kube_api_aggregator_routing to default false as we use kube-proxy
2018-03-20 16:28:05 +01:00
0cb51e7530
Merge branch 'master' into patch-1
2018-03-20 13:36:25 +00:00
13e47e73c8
Update kubeadm-config.yaml.j2
...
As requested
2018-03-20 13:33:36 +00:00
6c4e5e0e3d
Update kubeadm-config.yaml.j2
2018-03-20 13:30:57 +00:00
d2fd7b7462
Update kube-apiserver.manifest.j2
2018-03-20 12:19:53 +00:00
d9453f323b
Update kube-apiserver.manifest.j2
2018-03-20 12:16:35 +00:00
b787b76c6c
Update kube-apiserver.manifest.j2
...
Ensure that kube-apiserver will respond even if one of the nodes are down.
2018-03-20 12:06:34 +00:00
a94a407a43
Fix duplicate --proxy-client-cert-file and --proxy-client-key-file
2018-03-20 12:08:36 +01:00
96e46c4209
bump after CLA signing
2018-03-20 10:23:50 +03:00
aa30fa8009
Add prometheus annotations to spec in ingress
...
Added annotations from metadata to spec.template.metadata. Without it, pod does not get any annotations, and Prometheus didn't see it
2018-03-20 08:47:36 +03:00
ebfee51aca
Upgraded kubernetes from 1.9.3 to 1.9.5
2018-03-19 15:42:24 -04:00
8b6a6a5a28
Merge pull request #2487 from MQasimSarfraz/upgrade-playbook-fix
...
Mark "calico-rr" as optional in fact gather
2018-03-19 20:25:24 +01:00
14ac7d797b
Rotate local-volume-provisioner token
...
When tokens need to rotate, include local-volume-provisioner
2018-03-19 13:04:18 +01:00
f253691a68
Merge pull request #2347 from hswong3i/multiple_artifacts_dir
...
Support multiple artifacts under individual inventory directory
2018-03-19 12:45:55 +01:00
038da7255f
check if group kube-ingress is not empty
...
fix spelling mistaker ingress_nginx_host_network
set default value for ingress_nginx_host_network: false
2018-03-19 12:59:38 +03:00
73cd24bf5a
gather facts from all instances, maybe include calico-rr
2018-03-19 14:35:45 +08:00
4ee9cb2be9
gather facts from all instances, maybe include calico-rr
2018-03-19 14:32:25 +08:00
f1d2f84043
Only apply roles from first master node to fix regression
2018-03-18 16:15:01 +01:00
b9a949820a
Only copy tokens if tokens_list contains any
2018-03-18 08:42:38 +01:00
50e5f0d28b
Merge pull request #2468 from LuckySB/master
...
change expirations period for generated certificate from 10y to 100 years
2018-03-17 19:43:40 +01:00
1481f7d64b
Dedicated node for ingress nginx controller
...
The ability to create dedicated node for ingress nginx controller
host type network for nginx controller
and add from example https://github.com/kubernetes/ingress-nginx/blob/master/docs/examples/static-ip/nginx-ingress-controller.yaml
terminationGracePeriodSeconds: 60
2018-03-17 02:54:46 +03:00
7d33650019
Merge pull request #2462 from woopstar/coredns-patch
...
Add CoreDNS support
2018-03-16 18:33:36 -05:00
728598b230
Mark "calico-rr" as optional in fact gathering
2018-03-16 21:09:47 +00:00
e40368ae2b
Add CoreDNS support with various fixes
...
Added CoreDNS to downloads
Updated with labels. Should now work without RBAC too
Fix DNS settings on hosts
Rename CoreDNS service from kube-dns to coredns
Add rotate based on http://edgeofsanity.net/rant/2017/12/20/systemd-resolved-is-broken.html
Updated docs with CoreDNS info
Added labels and fixed minor settings from official yaml file: https://github.com/kubernetes/kubernetes/blob/release-1.9/cluster/addons/dns/coredns.yaml.sed
Added a secondary deployment and secondary service ip. This is to mitigate dns timeouts and create high resitency for failures. See discussion at 'https://github.com/coreos/coreos-kubernetes/issues/641#issuecomment-281174806 '
Set dns list correct. Thanks to @whereismyjetpack
Only download KubeDNS or CoreDNS if selected
Move dns cleanup to its own file and import tasks based on dns mode
Fix install of KubeDNS when dnsmask_kubedns mode is selected
Add new dns option coredns_dual for dual stack deployment. Added variable to configure replicas deployed. Updated docs for dual stack deployment. Removed rotate option in resolv.conf.
Run DNS manifests for CoreDNS and KubeDNS
Set skydns servers on dual stack deployment
Use only one template for CoreDNS dual deployment
Set correct cluster ip for the dns server
2018-03-16 21:51:37 +01:00
4ff17cb5a5
Merge pull request #2457 from MQasimSarfraz/vsphere-volumes-rbac
...
Fix vsphere cloud_provider RBAC permissions
2018-03-16 14:08:49 -05:00
b7e6dd0dd4
Add --iface-regex options to flannel
...
Flannel use interface for inter-host communication setted on --iface options
Defaults to the interface for the default route on the machine.
flannel config set via daemonset, and flannel config on all nodes is the same.
But different nodes can have different interface names for the inter-host communication network
The option --iface-regex allows the flannel to find the interface on which the address is set from the inter-host communication network
2018-03-16 21:44:36 +03:00
8ee2091955
Merge pull request #3 from kubernetes-incubator/master
...
Sync Upstream
2018-03-16 17:21:54 +01:00
3fac550090
Merge remote-tracking branch 'upstream/master'
2018-03-16 14:09:54 +03:00
d29a1db134
Merge pull request #2461 from woopstar/patch-11
...
Add support to kubeadm too
2018-03-16 08:24:31 +01:00
653d97dda4
Merge pull request #2472 from woopstar/patch-12
...
Make sure output from extra args is strings
2018-03-16 08:23:50 +01:00
5364160d6a
Merge pull request #2476 from woopstar/patch-13
...
Enable encrypting the secrets
2018-03-16 08:22:54 +01:00
1a35948ff6
Enable encrypting the secrets
...
Enable the CI test to check the encryption of secrets
2018-03-15 20:33:57 +01:00
40c0f3756b
Encapsulate item instead of casting to string
2018-03-15 20:27:21 +01:00
3d6fd49179
Added option for encrypting secrets to etcd v.2 ( #2428 )
...
* Added option for encrypting secrets to etcd
* Fix keylength to 32
* Forgot the default
* Rename secrets.yaml to secrets_encryption.yaml
* Fix static path for secrets file to use ansible variable
* Rename secrets.yaml.j2 to secrets_encryption.yaml.j2
* Base64 encode the token
* Fixed merge error
* Changed path to credentials dir
* Update path to secrets file which is now readable inside the apiserver container. Set better file permissions
* Add encryption option to k8s-cluster.yml
2018-03-15 22:20:05 +03:00
d843e3d562
Fix indent Custom ConfigMap ingress-nginx ( #2447 )
2018-03-15 22:18:18 +03:00
d8d5474dcc
Merge pull request #2467 from huzhengchuan/fix/kubeadm_enable
...
Fix error in kubelet.kubeadm.env.j2
2018-03-15 08:50:40 +02:00
788e41a315
Make sure output from extra args is strings
...
Setting the following:
```
kube_kubeadm_controller_extra_args:
address: 0.0.0.0
terminated-pod-gc-threshold: "100"
```
Results in `terminated-pod-gc-threshold: 100` in the kubeadm config file. But it has to be a string to work.
2018-03-14 19:23:43 +01:00
1bcc641dae
Create vsphere clusterrole only if it doesnt exists
2018-03-14 11:29:35 +00:00
f8fed0f308
change expirations period for generated certificate from 10 years to 100 years
2018-03-14 13:33:36 +03:00
d1e6632e6a
Fix err in kubelet.kubeadm.env.j2
...
1. 404 link url
2. kubelet_authentication_token_webhook is not work
3. kube_reserved variable set twice
2018-03-14 17:25:21 +08:00
710295bd2f
Merge pull request #2434 from protomech/feature/azure-vnet-resource-group
...
add support for azure vnetResourceGroup
2018-03-13 17:42:09 +02:00
3e2d68cd32
Merge pull request #2455 from whereismyjetpack/kube-limits
...
uses new kube_memory_reserved/kube_cpu_reserved variables in kubelt
2018-03-13 06:28:07 -05:00
f3788525ff
fixes yamllint for docker defaults, and weave network plugin
2018-03-13 06:15:48 -04:00
39d247a238
Add support to kubeadm too
...
Explicitly defines the --kubelet-preferred-address-types parameter #2418
Fixes #2453
2018-03-13 10:31:15 +01:00
b37144b0b2
Merge pull request #2459 from riverzhang/remove-node-docs
...
Add remove node to getting-started doc
2018-03-13 11:12:42 +02:00
2e0b33f754
Add remove node to getting-started doc
2018-03-13 16:41:26 +08:00
adc3f79c23
Merge pull request #2458 from jouve/collect_info
...
use archive instead of command
2018-03-13 09:45:48 +02:00
7904b454ba
Merge pull request #2460 from riverzhang/fix-weave
...
Fix yamllint roles error for #2188 commit
2018-03-13 09:40:54 +02:00
d264da8f08
Fix yamllint roles error for #2188 commit
2018-03-13 14:28:49 +08:00
6abe78ff46
use archive instead of command
2018-03-12 19:59:22 +01:00
9a4aa4288c
Fix vsphere cloud_provider RBAC permissions
2018-03-12 18:07:08 +00:00
50e3ccfa2b
uses new kube_memory_reserved/kube_cpu_reserved variables in kubelt
2018-03-12 12:46:14 -04:00
69a3c33ceb
Merge pull request #2429 from riverzhang/patch-6
...
Fix Docker exits prematurely
2018-03-12 06:16:25 -05:00
649b1ae868
Merge pull request #2452 from riverzhang/dockerproject
...
Fix issues #2451 Support docker-ce and docker-engine
2018-03-12 06:15:44 -05:00
973cc12ca9
Merge pull request #2188 from cornelius-keller/fix_weave
...
fix nodePort for weave
2018-03-12 10:55:41 +02:00
436de45dd4
Merge pull request #2295 from manics/supplementary-bugfix
...
Fix indexing of supplementary DNS in openssl.conf
2018-03-12 10:54:56 +02:00
5f186a2835
Merge pull request #2418 from kubernetes-incubator/1439br
...
Explicitly defines the --kubelet-preferred-address-types parameter
2018-03-12 10:53:48 +02:00
ecec94ee7e
Fix Docker exits prematurely
...
details:https://github.com/moby/moby/pull/31490/files
2018-03-12 14:44:47 +08:00
196995a1a7
Fix issues#2451 Support docker-ce and docker-engine
...
Support docker-ce and docker-engine include redhat/centos ubuntu debian
2018-03-12 13:31:31 +08:00
3a714fd4ac
Merge pull request #2427 from hswong3i/local_volume_provisioner_default
...
FIXUP #2424 : local_provisioner directory should be created only if enabled
2018-03-10 09:00:35 -05:00
2132ec0269
Merge pull request #2378 from dleske/reorg-inventory-for-opst
...
Update OpenStack contrib to use per-cluster inventory layout
2018-03-09 15:21:21 -05:00
c47fdc9aa0
Merge pull request #2445 from chadswen/kube-cert-directory-fix
...
Fix kubernetes cert permission sync
2018-03-09 15:10:35 -05:00
5c4cfb54ae
Merge pull request #2444 from chadswen/system-node-crb-name
...
Prefix system:node CRB
2018-03-09 15:09:01 -05:00
cd153a1fb3
Fix kubernetes cert permission sync
...
Add `state: directory` to `file` task so that `recurse: yes` will actually take effect and ensure
certs/keys have the right file mode and owner
2018-03-09 00:11:10 -06:00
b0ab92c921
Prefix system:node CRB
...
Change the name of `system:node` CRB to `kubespray:system:node` to avoid
conflicts with the auto-reconciled CRB also named `system:node`
Fixes #2121
2018-03-08 23:56:46 -06:00
5007a69eee
Merge pull request #2437 from huzhengchuan/fix/callo-routereflector
...
Fix always download calico_rr image
2018-03-08 23:22:48 -06:00
8a46e050e3
Merge pull request #2433 from octarinesec/eyeofthefrog/systemd_command_fix
...
Fix systemd version detection
2018-03-08 22:28:12 -06:00
256fd12da5
Merge pull request #2440 from huzhengchuan/fix/proxy
...
clean http-proxy.conf
2018-03-08 20:36:26 -06:00
8e36ad09b4
clean http-proxy.conf
2018-03-08 23:16:02 +08:00
96a92503cb
Fix always download calico_rr image
2018-03-08 17:04:16 +08:00
5253153dbb
Merge pull request #2416 from riverzhang/delete-node
...
Remove nodes
2018-03-08 01:55:20 -06:00
12c78e622b
Remove nodes
...
Drain node except daemonsets resource
Use reset cluser for delete deploy data
Then delete node
2018-03-08 15:03:42 +08:00
216bf2e867
Merge pull request #2422 from riverzhang/patch-5
...
Enable OOM killing for etcd-events
2018-03-07 23:15:19 -06:00
a086686e9f
Support multiple artifacts under individual inventory directory
2018-03-08 11:57:53 +08:00
6402004018
FIXUP #2424 : local_provisioner directory should be created only if enabled
2018-03-08 11:57:46 +08:00
955f833120
Merge pull request #2430 from huzhengchuan/fix/kube-reserve
...
fix the name of some variable
2018-03-07 21:25:32 -06:00
f4476f25bd
Merge pull request #2435 from chadswen/kube-module-enhancements
...
kube Module Enhancements
2018-03-07 17:17:01 -06:00
8960d5bcfa
kube Module Enhancements
...
* Multiple files are now supported across operations.
* Can be specified as a list or a comma separated string.
* Single item per task params will still work without changes.
* Added `files`, `filenames`, and `file`, as aliases for the `filename` param.
* Improved output of error message to always include stderr
* `exists` now supports checking files
Follow up PRs encouraged across roles to start converting `with_items` loops on `kube` tasks into `files` param lists so we can improve performance.
2018-03-07 14:50:09 -06:00
605738757d
Fix systemd version detection
...
Change "command" to "shell" in order for the pipe to work correctly
2018-03-07 11:32:47 -08:00
569613f2a4
Merge pull request #2425 from hswong3i/ingress_nginx_configmap
...
Add Custom ConfigMap Support for ingress-nginx
2018-03-07 19:02:03 +02:00
cc182ea2f3
Merge pull request #2432 from kubernetes-incubator/remove-do-ci
...
Remove DigitalOcean
2018-03-07 16:29:45 +01:00
3f96b2da7a
Add Custom ConfigMap Support for ingress-nginx
2018-03-07 21:37:45 +08:00
9e44f94176
Remove DigitalOcean
2018-03-07 13:37:07 +01:00
f94a7c6d82
Merge pull request #2431 from huzhengchuan/fix/doc-large-deployment
...
add tip to large-deployments.doc
2018-03-07 14:14:30 +02:00
dbf40bbbb8
docker-ce instead of docker-engine repo ( #2423 )
...
* Use docker-ce 17.03.2
* Docker-engine may be discarded
2018-03-07 15:11:20 +03:00
954aae931e
Fix issues #2246 ( #2403 )
...
Support Centos/Fedora atomic host
2018-03-07 14:39:03 +03:00
0b1200bb49
add tip to large-deployments.doc
...
set the ``etcd_events_cluster_setup: true`` store events
in a separate dedicated etcd instance.
2018-03-07 19:00:00 +08:00
646d473e8e
fix the name of some variable
2018-03-07 18:30:34 +08:00
6975cd1622
Merge pull request #2419 from hswong3i/ingress_nginx_labels
...
Add labels for ingress_nginx_namespace
2018-03-06 08:01:13 +02:00
b7f9bf43c2
Merge pull request #2421 from ctlam/master
...
Adding ssh_private_key_file to ProxyCommand
2018-03-06 07:59:26 +02:00
388b627f72
Enable OOM killing for etcd-events
...
Enable OOM killing like docker run etcd
2018-03-05 20:46:39 -06:00
f9019ab116
Adding ssh_private_key_file to ProxyCommand
...
This is trying to match what the roles/bastion-ssh-config is trying to do. When the setup is going through bastion, we want to ssh private key to be used on the bastion instance.
2018-03-05 13:15:10 -08:00
07657aecf4
add support for azure vnetResourceGroup
2018-03-05 13:40:25 -06:00
e65904eee3
Add labels for ingress_nginx_namespace, also only setup serviceAccountName if rbac_enabled
2018-03-05 23:11:18 +08:00
89847d5684
Explicitly defines the --kubelet-preferred-address-types parameter
...
to the API server configuration.
This solves the problem where if you have non-resolvable node names,
and try to scale the server by adding new nodes, kubectl commands
start to fail for newly added nodes, giving a TCP timeout error when
trying to resolve the node hostname against a public DNS.
2018-03-05 15:25:14 +01:00
dada98143c
Fix kubespary rpm spec file some requires ( #2417 )
...
Fix kubespary rpm spec file some requires
2018-03-05 13:53:51 +03:00
713efff78e
Merge pull request #2184 from kongslund/kubelet-webhook-support
...
Added support for kubelet webhook authentication/authorization
2018-03-05 12:23:47 +02:00
585303ad66
Start with three dashes for consistency
2018-03-03 10:05:05 +04:00
a800ed094b
Added support for webhook authentication/authorization on the secure kubelet endpoint
2018-03-03 10:00:09 +04:00
84e47f4aaa
Merge pull request #2411 from MQasimSarfraz/patch-1
...
README.md update for default component versions
2018-03-02 18:59:36 +02:00
46ff9ce765
README.md update for default component versions
2018-03-02 16:37:41 +00:00
e31eb199c5
Merge pull request #2324 from hswong3i/nginx_ingress
...
Integrate kubernetes/ingress-nginx 0.10.2 to Kubespray
2018-03-02 17:35:40 +02:00
fd46442188
Integrate kubernetes/ingress-nginx 0.11.0 to Kubespray
2018-03-02 23:33:19 +08:00
9837b7926f
Use proper lookup of etcd host for calico ( #2408 )
...
Fixes #2397
2018-03-02 15:36:52 +03:00
5aeaa248d4
Merge pull request #2407 from brant4test/PR
...
remove + groups['calico-rr']
2018-03-02 12:04:43 +02:00
739f6c78ad
remove [calico-rr]
2018-03-02 15:41:04 +08:00
b75b6b513b
Merge pull request #2406 from riverzhang/fedora
...
Delete unused fedora docker repo
2018-03-02 09:33:57 +02:00
2a3b48edaf
Delete unused fedora docker repo
2018-03-02 14:39:13 +08:00
7c7b33a0f8
remove + groups['calico-rr']
2018-03-02 14:31:54 +08:00
40d72d1865
added [calico-rr]
2018-03-02 13:48:11 +08:00
cdc2e7d4fe
Test-for-release-(do-not-merge)
2018-03-02 11:30:55 +08:00
2628663590
Merge pull request #2376 from dleske/opst-deprecation-warning
...
Correct use of deprecated argument to TF/OpenStack module
2018-03-01 12:51:09 -05:00
5cc77eb6fd
Merge pull request #2294 from Nowaker/patch-1
...
Enable OOM killing
2018-03-01 14:56:26 +01:00
a1aa9d79c0
Merge pull request #2341 from trilogy-group/hotfix/single_node_limited_run
...
gather facts for all nodes, even if running for single one (--limit)
2018-03-01 15:50:45 +02:00
8b21034b31
Merge pull request #2344 from hswong3i/local_volume_provisioner_fixup
...
Upgrade Local Volume Provisioner Addon to v2.0.0
2018-03-01 13:12:44 +02:00
67ffd8e923
Add etcd-events cluster for kube-apiserver ( #2385 )
...
Add etcd-events cluster for kube-apiserver
2018-03-01 11:39:14 +03:00
af7edf4dff
Merge pull request #2369 from eviln1/fix-insecure-apiserver-port
...
fix apiserver manifest when disabling insecure_port
2018-02-28 17:48:08 -06:00
0fd3b9f7af
Merge pull request #2391 from Miouge1/latest-helm
...
Install latest version of Helm
2018-02-28 15:04:41 -05:00
7ef9f4dfdd
Revert "Add pre-upgrade task for moving credentials file" ( #2393 )
2018-02-28 22:41:52 +03:00
6ce507f39f
Merge pull request #2345 from mattymo/credentials_upgrade_fix
...
Add pre-upgrade task for moving credentials file
2018-02-28 12:39:02 -06:00
34cab91e86
Merge pull request #2366 from z1nkum/bump_dashboard_tag
...
Bump dashboard from 1.8.1 to 1.8.3 because of reload bug
2018-02-28 12:38:34 -06:00
63de9bdba3
Merge pull request #2363 from whereismyjetpack/default-kube-proxy
...
default kube_proxy_mode in kubernetes-defaults
2018-02-28 12:37:46 -06:00
afb6e7dfc3
Merge pull request #2362 from mattymo/calico_ignore_extra_pools_again
...
Use CNI to assign kube_pods_subnet for calico
2018-02-28 12:36:50 -06:00
ad89d1c876
Update pre_upgrade.yml
2018-02-28 19:07:44 +03:00
6b80ac6500
Fix indexing of supplementary DNS in openssl.conf
2018-02-28 16:04:52 +00:00
2257dc9baa
Install latest version of Helm
2018-02-28 16:29:38 +01:00
a40d9f3c72
Document a silent killer... ( #2373 )
...
Adding this into the default example inventory so it has less of a chance of biting others after weeks of random failures (as etcd does not express that it has run out of RAM it just stalls).. 512MB was not enough for us to run one of our products.
2018-02-28 15:36:51 +03:00
977e7ae105
remove obsolete init image, bump dashboard version 1.8.1 -> 1.8.3
2018-02-28 12:52:59 +03:00
bc0fc5df98
Use node cert for etcd tasks instead of delegating to first etcd ( #2386 )
...
For etcdctl commands, use admin cert instead of node because this file
doesn't exist on etcd only hosts.
2018-02-27 22:23:51 +03:00
810c10a0e9
Merge pull request #2382 from chechiachang/replace-tab-with-space-and-remove-redundant-spaces
...
Remove redundant spaces
2018-02-27 10:39:57 -06:00
bb469005b2
Add pre-upgrade task for moving credentials file
2018-02-27 17:35:15 +03:00
89ade65ad6
Fixing etcd certs for calico rr ( #2374 )
2018-02-27 17:34:07 +03:00
128d3ef94c
Fix run kubectl error ( #2199 )
...
* Fix run kubectl error
Fix run kubectl error when first master doesn't work
* if access_ip is define use first_kube_master
else different master use a different ip
* Delete set first_kube_master and use kube_apiserver_access_address
2018-02-27 16:32:20 +03:00
b7e06085c7
Upgrade to Kubernetes v1.9.3 ( #2323 )
...
Upgrade to Kubernetes v1.9.3
2018-02-27 14:31:59 +03:00
8875e25fe9
Replace tab with space. Remove redundant spaces
2018-02-27 14:34:58 +08:00
44f9739750
Merge pull request #2326 from merwan/patch-1
...
Fix link markdown markup
2018-02-26 18:40:11 -06:00
9e85a023c1
Merge pull request #2360 from mattymo/reset_fixes
...
retry unmount kubelet dirs
2018-02-26 18:30:38 -06:00
b6698e686a
Update README.md with minor fixes/clarifications
2018-02-23 16:54:13 -08:00
66bd570584
Update README.md with minor fixes and cleanup
2018-02-23 15:05:29 -08:00
e2c5a3895b
Rename sample inventory directory to be less awkward
2018-02-23 14:39:31 -08:00
fe719c1bc1
Update OpenStack contrib to use per-cluster inventory layout
...
Supports Kubespray workspace with multiple OpenStack-deployed k8s
clusters.
* Create sample inventory directory for template
* Moved broken `group_vars` symlink to sample directory
* Created sample cluster Terraform file
* Updated documentation
2018-02-23 12:08:45 -08:00
89fe6505f9
Correct use of deprecated argument to TF/OpenStack module
...
https://www.terraform.io/docs/providers/openstack/r/networking_router_v2.html#external_gateway
2018-02-22 22:41:19 -08:00
4b5f780ff0
Merge pull request #2357 from octarinesec/eyeofthefrog/set_TasksMax_infinity_for_ubuntu
...
Set TasksMax to infinity on any OS with systemd
2018-02-22 21:31:10 -06:00
31659efe13
Fixing cert name in calico/canal for etcd check ( #2358 )
2018-02-22 17:37:07 +03:00
2bd3776ddb
fix apiserver manifest when disabling insecure_port
2018-02-22 14:00:32 +01:00
c874f16c02
Fixing credential lookup for fe proxy and vault ( #2361 )
2018-02-22 15:09:26 +03:00
ba91304636
Fixed generate front proxy client certs with vault ( #2359 )
...
* Fixed generate front proxy client certs with vault
* fix vault cert management
* Distrebute etcd node certs to vault hosts
2018-02-22 15:08:50 +03:00
42a0f46268
Add health check to kube proxy ( #2356 )
...
Adding health checking to kube proxy. Fixes #2308
2018-02-21 23:14:45 +03:00
d84ff06f73
Set filemode to 0640 ( #2315 )
...
* Set filemode to 0640
weave-net.yml file is readable by all users on the host. It however contains the weave_password to encrypt all pod communication. It should only be readable by root.
* Set mode 0640 on users_file with basic auth
2018-02-21 23:13:46 +03:00
87f33a4644
Use CNI to assign kube_pods_subnet for calico
...
Now calico can be deployed if there are other existing pools
and not confuse IPAM and end up with pods in the wrong pools.
2018-02-21 20:32:28 +03:00
2d69b05c77
set local_release_dir in downloads to match others
2018-02-21 11:35:34 -05:00
2eb57ee5cd
default kube_proxy_mode in kubernetes-defaults
2018-02-21 11:33:25 -05:00
85c69c2a4a
Add check for atomic hosts in template
2018-02-21 08:26:18 -08:00
c20f38b89c
retry unmount kubelet dirs
2018-02-21 14:41:57 +03:00
bfe196236f
Merge pull request #2033 from ArchiFleKs/terraform-fix-cred
...
Update Terraform docs and authentication method
2018-02-21 12:16:24 +02:00
d4c61d2628
Fixup for gce_centos7-flannel-addons
2018-02-21 13:41:25 +08:00
deef47c923
Upgrade Local Volume Provisioner Addon to v2.0.0
2018-02-21 13:41:25 +08:00
c19d8994b9
Set TasksMax to infinity on any OS with systemd
2018-02-20 11:55:13 -08:00
2de6da25a8
Merge pull request #2312 from woopstar/patch-7
...
Added iptables lock fix and ajusted oom-score
2018-02-19 22:47:07 -06:00
f13e76d022
Added cilium support ( #2236 )
...
* Added cilium support
* Fix typo in debian test config
* Remove empty lines
* Changed cilium version from <latest> to <v1.0.0-rc3>
* Add missing changes for cilium
* Add cilium to CI pipeline
* Fix wrong file name
* Check kernel version for cilium
* fixed ci error
* fixed cilium-ds.j2 template
* added waiting for cilium pods to run
* Fixed missing EOF
* Fixed trailing spaces
* Fixed trailing spaces
* Fixed trailing spaces
* Fixed too many blank lines
* Updated tolerations,annotations in cilium DS template
* Set cilium_version to iptables-1.9 to see if bug is fixed in CI
* Update cilium image tag to v1.0.0-rc4
* Update Cilium test case CI vars filenames
* Add optional prometheus flag, adjust initial readiness delay
* Update README.md with cilium info
2018-02-16 21:37:47 -06:00
95e2bde15b
set nodeName to "{{ inventory_hostname }}" in kubeadm-config
2018-02-16 16:20:08 -05:00
5c0a41a6e0
Merge pull request #2340 from eduardobaitello/patch-1
...
Fix typo in aws.md docs
2018-02-16 19:03:14 +01:00
6424928ba3
Update typo in the tag necessary for the ELB role ( #2330 )
2018-02-16 17:20:03 +01:00
4c280e59d4
Use legacy policy config to apply the scheduler policy
2018-02-16 13:43:35 +01:00
56b7400dac
Merge pull request #2325 from kubernetes-incubator/ci_two_stages
...
rollback to a two stage CI
2018-02-15 23:27:45 +01:00
d095a1bb96
rollback to a two stage CI
2018-02-15 23:17:10 +01:00
76a89039ad
Merge pull request #2285 from jasdeep-hundal/do_not_install_python_apt
...
Remove redundant python-apt install
2018-02-15 17:04:08 +01:00
ba2107ea8c
is-default-class is case sensative so we must return a lowercase string
2018-02-15 10:51:42 +01:00
f90e509bf6
gather facts for all nodes, even if running for single one (--limit)
2018-02-14 15:45:50 +00:00
dd8902bfcd
Fix typo in aws.md docs
...
"kubernetes" is spelled wrong in the cluster tag example
2018-02-14 12:52:36 -02:00
3f44a33738
allow for configurable openstack storage class
2018-02-14 11:32:56 +01:00
911af3f331
Fix link markdown markup
2018-02-13 16:02:50 +01:00
e2f083f885
Merge pull request #2317 from kubernetes-incubator/add_digitalocean_ci
...
Additional CI platform (digital-ocean)
2018-02-13 14:59:08 +01:00
e5a450349b
Single step CI
2018-02-13 12:30:14 +01:00
7a20d69809
fix inventory paths
2018-02-12 17:38:32 +01:00
c187ae22e5
Force to /usr/bin/python in CI
2018-02-12 17:38:32 +01:00
cb202a76df
Fix tests
2018-02-12 17:38:32 +01:00
e1d139db2e
Use new CI image
2018-02-12 17:38:32 +01:00
51e695066a
Add dockerfile for the ci
2018-02-12 17:38:32 +01:00
ce25fa4302
Enable multiple CI platform / Add DigitalOcean
2018-02-12 17:38:32 +01:00
c403b61383
Update private key
2018-02-12 17:38:32 +01:00
3ef7c25a16
Add digitalocean test case
2018-02-12 17:38:32 +01:00
442d211ee3
Add DigitalOcean playbook to create VM
2018-02-12 17:38:32 +01:00
c0aad0a6d5
Fix install etcd by host service ( #2297 )
...
Fix bug issues #2289
2018-02-12 17:34:01 +01:00
5903aea86f
Update coreos-calico-aio scenario to test no group vars ( #2314 )
...
This updated scenario ensures deployment still passes without
having any group_vars available.
2018-02-12 12:38:06 +01:00
f4a68eae01
Merge pull request #2313 from hswong3i/multiple_inventory_dir
...
Update default CONFIG_FILE for contrib/inventory_builder/inventory.py
2018-02-12 11:24:35 +00:00
4a36b091f4
Update default CONFIG_FILE for contrib/inventory_builder/inventory.py
2018-02-12 18:01:56 +08:00
874ec8fc73
Merge pull request #2311 from brutus333/fix/wait4k8sapi
...
Increased timeout values for k8s API server restart
2018-02-12 10:25:16 +01:00
41ca67bf54
Added iptables lock fix and ajusted oom-score
...
xtables lock was missing. Added new option for oom-score to make sure it's not killed in an OOM situation before regular pods.
2018-02-12 10:21:38 +01:00
d72232f15b
Increased timeout values for k8s API server restart
2018-02-12 07:35:29 +00:00
03c61685fb
Added apiserver extra args variable for kubeadm config ( #2291 )
2018-02-12 10:29:46 +03:00
46284198f8
Merge pull request #2298 from clkao/patch-2
...
Fix version comparison
2018-02-11 17:22:39 +01:00
9916100835
Merge pull request #2299 from riverzhang/patch-4
...
Fix default_resolver is undefined
2018-02-10 17:26:51 +01:00
bbb1da1a83
Fix default_resolver is undefined
...
fix issues #2265
2018-02-10 10:08:26 -06:00
cf183288dd
Merge pull request #2287 from hswong3i/cephfs_provisioner_default
...
Add optional StorageClass name with cephfs_provisioner_storage_class
2018-02-10 14:13:48 +01:00
07075add3d
Add optional StorageClass name with cephfs_provisioner_storage_class
2018-02-10 20:31:34 +08:00
338238d086
Fix version comparison
...
`FAILED! => {"changed": false, "msg": "AnsibleFilterError: Version comparison: unorderable types: str() < int()"}`
2018-02-10 03:49:49 +08:00
c6c74616d8
Merge pull request #2293 from bradbeam/upgrade
...
Making node status and scheduling detection mo betta for upgrades
2018-02-09 13:15:55 -06:00
03bb729fea
Making status and detection mo betta
2018-02-09 12:30:46 -06:00
60460c025c
Merge pull request #2256 from mlushpenko/fix-kubeadm-safe-upgrade
...
Fix safe upgrade
2018-02-09 19:03:04 +01:00
f8a59446e8
Enable OOM killing
...
When etcd exceeds its memory limit, it becomes useless but keeps running.
We should let OOM killer kill etcd process in the container, so systemd can spot
the problem and restart etcd according to "Restart" setting in etcd.service unit file.
If OOME problem keep repeating, i.e. it happens every single restart,
systemd will eventually back off and stop restarting it anyway.
--restart=on-failure:5 in this file has no effect because memory allocation error
doesn't by itself cause the process to die
Related: https://github.com/kubernetes-incubator/kubespray/blob/master/roles/etcd/templates/etcd-docker.service.j2
This kind of reverts a change introduced in #1860 .
2018-02-09 11:00:13 -06:00
a37c642127
Remove obsolete token variables
...
Tokens are generated automatically during init process and on-demand for nodes joining process
2018-02-09 15:53:12 +01:00
4e61fb9cd3
Refactored kubeadm join process and fixed uncrodonng for master nodes
2018-02-09 15:51:47 +01:00
b472c2df98
Fix safe upgrade
...
Even though there it kubeadm_token_ttl=0 which means that kubeadm token never expires, it is not present in `kubeadm token list` after cluster is provisioned (at least after it is running for some time) and there is issue regarding this https://github.com/kubernetes/kubeadm/issues/335 , so we need to create a new temporary token during the cluster upgrade.
2018-02-09 15:51:47 +01:00
17f9242b58
Merge pull request #2292 from chapsuk/fix_miss_var
...
Added missing cephfs_provisioner_enabled to kubespray-defaults vars
2018-02-09 15:46:20 +01:00
bc67deee78
Added missing cephfs_provisioner_enabled to kubespray-defaults vars
2018-02-09 17:03:38 +03:00
f57abae01e
Remove redundant python-apt install
...
Ansible automatically installs the python-apt package when using
the 'apt' Ansible module, if python-apt is not present. This patch
removes the (unneeded) explicit installation in the Kubespray
'preinstall' role.
2018-02-08 18:59:37 -08:00
275b1d6897
Merge pull request #2274 from mirwan/local_volume_provisioner_configmap_in_daemonset
...
Local volume provisioner fixes
2018-02-09 00:59:47 +01:00
e9a676951b
storageClass name template as suggested by @eyeofthefrog
2018-02-09 00:11:07 +01:00
b31d905704
Merge pull request #2230 from hswong3i/cephfs_provisioner
...
Add cephfs_provisioner Support for Kubespray
2018-02-08 16:52:15 +01:00
c70c44b07b
Merge pull request #2257 from rzenker/tb/baremetal-tweaks
...
baremetal tweaks
2018-02-08 15:48:55 +00:00
20583e3d15
Merge pull request #2067 from manics/sysctl-net-brfilter
...
Always set net.bridge.bridge-nf-call-* sysctl
2018-02-08 15:43:46 +00:00
9f4588cd0c
Merge pull request #2266 from riverzhang/epel-release
...
Disalbe install epel-release rpm on Centos/Redhat
2018-02-08 15:42:28 +00:00
b25e0f82b1
Add cephfs_provisioner Support for Kubespray
2018-02-08 22:27:54 +08:00
cae1c683aa
Merge pull request #2271 from leseb/retry-get-token
...
kubernetes-apps: retry get default token name
2018-02-08 16:46:32 +03:00
57e7a5a34a
Merge pull request #2233 from hswong3i/multiple_inventory_dir
...
Support multiple inventory files under individual inventory directory
2018-02-08 11:57:04 +01:00
230f1e1208
Merge pull request #2273 from infernix/inventory-symlink-fix
...
Fix symlinking vagrant inventory
2018-02-08 11:52:55 +01:00
7bce70339f
Merge pull request #2251 from woopstar/metrics-server-patch-2
...
Adding metrics-server support for K8s version 1.9
2018-02-08 11:16:44 +01:00
e1aaef7d4d
Removal of surnumerary slash
2018-02-08 09:06:17 +01:00
1a1d154e14
Support multiple inventory files under individual inventory directory
2018-02-08 08:08:15 +08:00
384e5dd4c4
Merge pull request #2160 from kongslund/disable-read-only-port
...
Make the Kubelet read-only port configurable and disable it by default
2018-02-07 13:06:32 -06:00
abfb147292
MountDir in configmap and daemonset must be the same
2018-02-07 18:42:42 +01:00
44eb03f78a
typo
2018-02-07 17:57:54 +01:00
857784747b
local-provisioner:v1.0.1 still expects json configmap
2018-02-07 17:47:05 +01:00
7a2cb5e41c
local-provisioner:v1.0.1 still uses VOLUME_CONFIG_NAME env to read ConfigMap
2018-02-07 17:01:19 +01:00
e662ed4adc
Fix symlinking vagrant inventory
...
The default path assumes that the vagrant dir is called 'inventory'.
With custom defined inventory dirs that are not called 'inventory' this
fails to create the correct symlink under .vagrant.d.
2018-02-07 16:50:05 +01:00
712bdfc82f
Merge pull request #2260 from mirwan/local_volume_provisioner_fixes
...
local_volume_provisioner_enabled replacement
2018-02-07 13:42:00 +01:00
34bd47de79
kubernetes-apps: retry get default token name
...
In some installation, it can take up to 3sec to get the value. Retrying
for 5 sec will ensure the command won't return 1.
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-02-07 12:09:51 +01:00
fe57c13b51
Merge pull request #2172 from leseb/etcd-auth
...
etcd: ability to enable/disable ETCD_PEER_CLIENT_CERT_AUTH
2018-02-07 11:25:56 +01:00
f9df692056
Issue front proxy certs for vault
2018-02-07 11:03:10 +01:00
f193b12059
Kubeadm auto creates this
2018-02-07 10:50:34 +01:00
2cd254954c
Remove defaults of allowed names. Updated kubeadm
2018-02-07 10:07:55 +01:00
4dab92ce69
Rename from aggregator-proxy-client to front-proxy-client to match kubeadm design. Added kubeadm support too. Changed to use variables set and not hardcode paths. Still missing cert generation for Vault
2018-02-07 09:50:19 +01:00
d53f45d4e2
missing double quotes for ansible
2018-02-07 09:24:00 +01:00
ca08614641
yamllint fix
2018-02-07 09:12:28 +01:00
47adf4bce6
Disalbe install epel-release rpm on Centos/Redhat
...
1.Disalbe install epel-release rpm on Centos/Redhat
2.Use yum install epel-release
2018-02-07 14:58:50 +08:00
e69979d5a2
keep local_volumes_enabled as deprecated
2018-02-07 07:58:50 +01:00
2ae68df41b
Merge pull request #2153 from leseb/retry-rotate
...
Several enhancements and bug fixes
2018-02-07 00:54:13 +03:00
7928cd20fb
Merge pull request #2037 from tiewei/contiv-etcd-split
...
Split contiv etcd and etcd-proxy into two daemonsets
2018-02-06 15:37:16 -06:00
ad9049a49e
baremetal tweaks
...
* allow installs to not have hostname overriden with fqdn from inventory
* calico-config no longer requires local as and will default to global
* when cloudprovider is not defined, use the inventory_hostname for cni-calico
* allow reset to not restart network (buggy nodes die with this cmd)
* default kube_override_hostname to inventory_hostname instead of ansible_hostname
2018-02-06 13:52:22 -05:00
dfcd60a9e2
vagrant: use "centos/7" box to support libvirt provider
...
The "centos/7" box is the official centos box and supports all the major
providers:
virtualbox Externally hosted (cloud.centos.org)
vmware_desktop Externally hosted (cloud.centos.org)
libvirt Externally hosted (cloud.centos.org)
hyperv Externally hosted (cloud.centos.org)
Where bento/centos-7.3 only supports:
parallels Hosted by Vagrant Cloud (570 MB)
virtualbox Hosted by Vagrant Cloud (525 MB)
vmware_desktop Hosted by Vagrant Cloud (608 MB)
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-02-06 18:20:11 +01:00
0684df804d
vagrant: libvirt add vm_memory support
...
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-02-06 18:20:11 +01:00
f8d6b84cb6
vagrant: add ability to use drives in the VMs
...
When testing deployments of SDS, it is quite useful to get a Kubernetes
env with nodes having dedicated drives.
You can now enable this by setting: kube_node_instances_with_disks: true
Also you can chose the amount of drives per machine and their respective
size:
* kube_node_instances_with_disks_number: 10
* kube_node_instances_with_disks_size: "20G"
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-02-06 18:20:11 +01:00
a980731bed
vagrant: remove trailing line
...
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-02-06 18:20:10 +01:00
b4e264251f
JSON/YAML syntax fix
2018-02-06 17:17:10 +01:00
8006a6cd82
local_volumes_enabled replaced by local_volume_provisioner_enabled
2018-02-06 17:12:09 +01:00
a69db4169b
Merge pull request #2259 from woopstar/patch-5
...
Adding missing defaults for weave
2018-02-06 17:01:29 +01:00
5cd6b0c753
Adding missing defaults for weave
...
The PR #2203 add's missing defaults for weave, but no signed CLA. So this PR fixes it.
2018-02-06 14:25:07 +01:00
36ead3a720
Merge pull request #2258 from woopstar/patch-4
...
Set default registry_enabled to false
2018-02-06 14:19:24 +01:00
bb339265fc
Set default registry_enabled to false
...
In PR #2244 the `registry_enabled` is missing in defaults, causing a deployment to fail, if it is not set in k8s-cluster.yml
2018-02-06 14:17:06 +01:00
bb4446e94c
Merge pull request #2226 from manics/supplemental-addresses
...
Enable additional addresses to be added to certificates
2018-02-06 13:51:54 +01:00
d2102671cd
Merge pull request #2214 from woopstar/patch-3
...
Loadbalancer Apiserver Address is missing
2018-02-06 13:47:55 +01:00
138e0c2301
Merge pull request #2250 from woopstar/weave-mtu-patch
...
Added option to set MTU on Weave
2018-02-06 12:13:54 +01:00
37cfd289d8
Merge pull request #2248 from hswong3i/dashboard.yml.j2
...
Dashboard template should not suffix with .yml.j2
2018-02-06 11:25:02 +01:00
9f3081580a
Merge pull request #2249 from hswong3i/kubedns-deploy.yml.j2
...
KubeDNS template should not suffix with .yml.j2
2018-02-06 11:24:19 +01:00
2b6781bc65
Merge pull request #2232 from hswong3i/local_volume_provisioner
...
Update and cleanup Local volume provisioner
2018-02-06 09:28:41 +01:00
a3248379db
Merge branch 'master' into local_volume_provisioner
2018-02-06 09:28:27 +01:00
0774c8385c
Merge pull request #2244 from hswong3i/registry
...
Migrate Kubernetes v1.9.1 cluster/addons/registry to Kubespray
2018-02-06 09:20:48 +01:00
b2d30d68e7
Rename CN for aggreator back. Add flags to apiserver when version is >= 1.9
2018-02-05 20:37:14 +01:00
82d10b882c
Added fixes from whereismyjetpack
2018-02-05 20:07:12 +01:00
24ae85fa56
Merge pull request #2255 from rsmitty/kubespray-cli
...
remove references to deprecated kubespray-cli
2018-02-05 11:34:11 -05:00
1869aa3985
remove references to deprecated kubespray cli
2018-02-05 10:00:21 -05:00
95b8ac5f62
Added optional controller and scheduler extra args to kubeadm config ( #2205 )
2018-02-05 16:49:13 +03:00
0b4168cad4
WIP. Adding metrics-server support for K8s version 1.9
2018-02-05 10:37:41 +01:00
3289472e31
Added option to set MTU on Weave
2018-02-05 10:23:48 +01:00
4ad53339f6
KubeDNS template should not suffix with .yml.j2
2018-02-05 16:26:54 +08:00
a4d3da6a8e
Dashboard template should not suffix with .yml.j2
2018-02-05 16:18:21 +08:00
7954ea2525
Migrate Kubernetes v1.9.1 cluster/addons/registry to Kubespray
2018-02-05 12:21:09 +08:00
bd1f0bcfd7
Merge pull request #2201 from riverzhang/ipvs
...
Support ipvs mode for kube-proxy
2018-02-01 22:29:52 -06:00
bc2e26d7ef
update apiVersion
2018-02-01 14:16:32 +08:00
fd80013917
lint and cleanup local_volume_provisioner
2018-02-01 14:14:18 +08:00
f7d52564aa
Merge pull request #2084 from riverzhang/devicemapper
...
Fix can not use devicemapper driver
2018-01-31 20:52:22 -06:00
f7e8d1149a
Merge pull request #2229 from whereismyjetpack/etcd-quorum-read
...
--etcd-quorum-read is depricated in kube >= 1.9
2018-01-31 17:10:10 -05:00
bd091caaf9
Merge pull request #2200 from riverzhang/hyperkube
...
Upgrade to Kubernetes v1.9.2
2018-01-31 16:08:22 -05:00
b455a1bf76
Merge pull request #2212 from mattymo/missing_defaults
...
Add missing group var default values to kubespray-defaults
2018-01-31 16:07:53 -05:00
c0a3bcf9b3
Merge pull request #2221 from Xuxe/patch-vcp-v1.9.2
...
Updated vSphere cloud provider config for Kubernetes >= v1.9.2 and added resource pool deployment variable
2018-01-31 16:06:07 -05:00
5eedb5562f
Merge pull request #2228 from mattymo/vault_etcd_secure
...
Vault should use cert auth for etcd
2018-01-31 16:05:28 -05:00
dc6c703741
--etcd-quorum-read is depricated in kube >= 1.9
2018-01-31 15:49:52 -05:00
16629d0b8e
Vault should use cert auth for etcd
2018-01-31 20:37:14 +03:00
7f79210ed1
reworked vsphere-cloud-config template
2018-01-31 16:51:23 +01:00
27a1a697e7
supplementary_addresses_in_ssl_keys can be a hostname
2018-01-31 15:16:08 +00:00
c1267004ef
Merge pull request #2130 from ArchiFleKs/simplify_os_provider
...
Simplify and update OpenStack cloud provider
2018-01-31 12:02:02 +02:00
9cdd2214f9
render vsphere_resource_pool only if defined
2018-01-31 09:56:43 +01:00
fc29764911
fixed broken variables table
2018-01-31 09:27:45 +01:00
989e9174c2
Added vSphere cloud provider config update for Kubernetes >= 1.9.2
2018-01-31 09:15:46 +01:00
3993e12335
Fix can not be used devicemapper driver
...
Fix can not be used devicemapper driver
2018-01-31 15:51:11 +08:00
ac4d782937
Merge pull request #2074 from fangzhen/fix-domains-split
...
Make spliting system_search_domains more robust
2018-01-30 21:01:19 -06:00
32d18ca992
remove trailing space
2018-01-31 09:50:41 +08:00
2df4b6c5d2
Rename default_resolver to cloud_resolver ( #2209 )
...
Cloud resolvers are mandatory for hosts on GCE and OpenStack
clouds. The 8.8.8.8 alternative resolver was dropped because
there is already a default nameserver. The new var name
reflects the purpose better.
Also restart apiserver when modifying dns settings.
2018-01-31 00:26:07 +03:00
088d36da09
Increase the idx counter
...
Fix the idx counter to increase too, or you will end up with two same indexes.
2018-01-30 21:48:13 +01:00
6f36faa4f9
Loadbalancer Apiserver Address is missing
...
If you configure your external loadbalancer to do a simple tcp pass-through to the api servers, and you do not use a DNS FQDN but just the ip, then you need to add the ip adress to the certificates too.
Example config:
```
## External LB example config
apiserver_loadbalancer_domain_name: "10.50.63.10"
loadbalancer_apiserver:
address: 10.50.63.10
port: 8383
```
2018-01-30 17:33:00 +01:00
3846384d56
Bump kube-dns to 1.14.8 ( #2204 )
...
Bump kube-dns to 1.14.8
2018-01-30 19:23:37 +03:00
331f141f63
Fix DNS entries in etcd's openssl.conf by adding a newline. ( #2208 )
...
DNS entries generated from 'etcd_cert_alt_names' variable in etcd's
openssl.conf are not terminated by a newline.
This fixes issue #2207 .
2018-01-30 16:26:58 +03:00
62dd3d2a9d
Add missing group var default values to kubespray-defaults
2018-01-30 16:04:00 +03:00
fa8a128e49
etcd: ability to enable/disable ETCD_PEER_CLIENT_CERT_AUTH
...
Some installation are failing to authenticate with peers due to
etcd picking up/resoling the wrong node.
By setting 'etcd_peer_client_auth' to "False" you can disable peer client cert
authentication.
Signed-off-by: Sébastien Han <seb@redhat.com >
2018-01-30 11:19:12 +01:00
b10c308a5a
Support ipvs mode for kube-proxy
...
Support ipvs mode for kube-proxy
2018-01-30 13:09:01 +08:00
e22c70e431
Upgrade to Kubernetes v1.9.2
2018-01-30 13:04:38 +08:00
f4fe9e3421
Merge pull request #2171 from ArchiFleKs/kubeproxy-lvs
...
Add lib/modules to kube-proxy to enable LVS
2018-01-29 22:58:02 -06:00
da173615e4
Merge pull request #2048 from xizhibei/master
...
Fix: always only one container got synced after download
2018-01-29 16:01:11 -06:00
dc6a17e092
Use include/import tasks ( #2192 )
...
import_tasks will consume far less memory, so it should be
used whenever it is compatible.
2018-01-29 14:37:48 +03:00
f4180503c8
Merge pull request #2196 from Miouge1/network-size-large-deploy
...
Network size large deploy documentation
2018-01-26 15:26:03 +01:00
240d4193ae
Update information about network sizes
2018-01-26 15:23:21 +01:00
ac66e98ae9
Upgrade to Kubernetes v1.9.1 ( #2152 )
...
Raise drain timeout to 5m
2018-01-25 18:44:44 +03:00
d2935ffed0
Optionally ignore the presence of extra calico pools ( #2190 )
2018-01-25 18:44:20 +03:00
c6e0fcea31
Merge pull request #1948 from sgmitchell/secured-etcd
...
Enable etcd secure client to prevent etcdctl access without cert and key
2018-01-25 09:35:51 -06:00
5d014d986b
Merge pull request #1992 from manics/flannel-hairpin
...
Enable flannel hairpin mode
2018-01-24 21:20:03 -06:00
714994cad8
iptables: flush nat table as well as filter table upon reset ( #2174 )
...
* iptables: flush nat table as well as filter table upon reset
* Indentation fix
2018-01-24 20:22:49 -06:00
08fe61e058
Merge pull request #2071 from riverzhang/dashboard
...
Update dashboard version to v1.8.1
2018-01-24 20:10:05 -06:00
0c8bed21ee
Merge pull request #2019 from chadswen/disable-api-insecure-port
...
Support for disabling apiserver insecure port (the sequel)
2018-01-24 19:58:53 -06:00
98eb845f8c
Merge pull request #2173 from mirwan/hardcoded_dnsmasq-autoscaler_image
...
Dnsmasq autoscaler image should be a variable
2018-01-24 16:15:59 -06:00
98300e3165
Merge pull request #2155 from brutus333/fix/pvc
...
Fix for Issue #2141
2018-01-24 16:15:33 -06:00
e22759d8f0
fix nodePort for weave
2018-01-24 10:31:51 +01:00
bf1411060e
Add optional manual dns_mode ( #2178 )
2018-01-23 14:28:42 +01:00
a4d142368b
Renamed variable from disable_volume_zone_conflict to volume_cross_zone_attachment and removed cloud provider condition; fix identation
2018-01-23 13:14:00 +00:00
eb80f9b606
Merge pull request #2154 from tdihp/proxy-conf-restart-docker
...
Restart docker when http-proxy.conf changed.
2018-01-22 08:39:05 -06:00
ae47b617e3
Fix 'no such host' problem ( #2148 )
...
Fix 'no such host' problem reported by commands *kubectl logs* and *kubectl exec*
when cloud_provider is OpenStack
Closes : #2147
2018-01-22 16:08:24 +03:00
c116b8022e
Update rpm spec and pbr setup configs ( #2170 )
...
* Update rpm spec and pbr setup configs
* Rename package to kubespray
* Do not break Fedora's FHS and install to /usr/share instead
* Remove the vendor tag
* Update source0 for better artifacts' names
* Fix missing files build errors
* Make version/release to auto match from git and fit PEP 440
Co-authored-by: Matthias Runge <mrunge@redhat.com >
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
* Add package paths to roles search in ansible conf
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
* Poke jinja2 requirements in rpm spec file
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2018-01-18 16:22:37 +01:00
5b98e15613
Merge branch 'hardcoded_dnsmasq-autoscaler_image' of github.com:mirwan/kubespray into hardcoded_dnsmasq-autoscaler_image
2018-01-18 16:04:35 +01:00
e5b4011aa4
move hardcoded dnsmasq autoscaler image to its own variable
2018-01-18 16:04:29 +01:00
3125f93b3f
Added disable_volume_zone_conflict variable
2018-01-18 10:55:23 +00:00
f19c8e8c1d
Merge pull request #2132 from PhilippeChepy/flex-volumes
...
Add support for flex volumes plugins.
2018-01-17 15:00:45 -05:00
20779df686
remove kube-node from master node by default
2018-01-17 19:02:02 +01:00
752fba1691
Fix spelling mistakes in group_vars ( #2166 )
2018-01-17 18:42:27 +03:00
637604d08f
Add lib/modules to kube-proxy to enable LVS
...
kube-proxy is complaining of missing modules at startup. There is a plan
to also support an LVS implementation of kube-proxy in additon to
userspace and iptables
2018-01-17 16:35:53 +01:00
ba7b1d74d0
remove user_data which may mess up /etc/hosts
2018-01-17 14:29:23 +01:00
1a9989ade9
move hardcoded dnsmasq autoscaler image to its own variable
2018-01-16 09:11:59 +01:00
11844c987c
Make the Kubelet read-only port configurable and disable it by default. Fixes #2159 .
2018-01-16 11:11:41 +04:00
8c45c88d15
Fix for Issue #2141 - added policy file
2018-01-12 07:15:35 +00:00
c87bb2f239
Fix for Issue #2141
2018-01-12 07:07:02 +00:00
32eeb9a0e0
Restart docker when http-proxy.conf changed.
2018-01-12 10:56:25 +08:00
df21fc8643
Remove initContainer
2018-01-10 12:17:17 +08:00
ffbdf31ac4
Merge pull request #2135 from riverron/master
...
Updated with correct syntax to access default_tags variable.
2018-01-09 17:22:12 -05:00
ccd9cc3dce
Merge pull request #2146 from abelgana/master
...
Manage deprecated kubelet option
2018-01-09 17:19:42 -05:00
81867402f6
Merge pull request #2145 from pslijkhuis/master
...
Add kubelet_custom_flags to kubelet.kubeadm.env.j2
2018-01-09 17:19:09 -05:00
4f5d61212b
Merge pull request #2144 from neith00/weave-2.1.3
...
updated weave to 2.1.3
2018-01-09 17:18:26 -05:00
ef96123482
Merge pull request #2068 from chadswen/remove-container-retries
...
Retry kube container removal during upgrade
2018-01-09 15:03:50 -05:00
ee27ab0052
Merge pull request #2124 from riverzhang/patch-3
...
Remove blank lines
2018-01-09 14:58:49 -05:00
57f87ba083
Merge pull request #2142 from trilogy-group/hotfix/fluentd-template
...
fix fluentd template
2018-01-09 14:44:50 -05:00
a9bb72c6fd
require-kubeconfig is depricated since k8s v1.8
2018-01-09 14:35:42 -05:00
9506c2e597
require-kubeconfig is deprecated since K8s v1.8
2018-01-09 14:33:05 -05:00
32884357ff
Add kubelet_custom_flags to kubelet.kubeadm.env.j2
2018-01-09 14:04:36 +01:00
278ac08087
Fix HA docs API access endpoints explained ( #2126 )
...
* Fix HA docs API access endpoints explained
Follow-up commit 81347298a3
and fix the endpoint value provided in HA docs.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
* Clarify internal LB with external LB use case
* Clarify how to use both internal and external, non-cluster aware and
not managed with Kubespray, LB solutions.
* Clarify the requirements, like TLS/SSL termination, for such an external LB.
Unlike to the 'cluster-aware' external LB config, endpoints' security must be
managed by that non-cluster aware external LB.
* Note that masters always contact their local apiservers via https://bip:sp .
It's highly unlikely to go down and it reduces latency that might be
introduced when going host->lb->host. Only computes go that path.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
* Add a note for supplementary_addresses_in_ssl_keys
Explain how to benefit from supplementary_addresses_in_ssl_keys
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2018-01-09 16:01:50 +03:00
88204642b7
updated weave to 2.1.3
2018-01-09 13:50:42 +01:00
1401286910
Add support for cert alt names for etcd ( #2139 )
...
* Add support for cert alt names for etcd
* Update gen_certs_vault.yml
2018-01-09 14:37:34 +03:00
12eb242224
fix fluentd template
2018-01-08 13:40:47 +00:00
8f36a02998
Merge branch 'master' of https://github.com/riverron/kubespray
2018-01-07 15:40:34 +00:00
88f9e25f76
Updated with correct syntax to access default_tags variable.
2018-01-07 15:39:58 +00:00
dba1c13954
Updated with correct syntax to access default_tags variable.
2018-01-07 14:57:14 +00:00
df9faa1743
Add support for flex volumes plugins.
2018-01-05 17:56:36 +01:00
74fd975b57
run terraform FMT for readability
2018-01-05 12:09:04 +01:00
ce85bcaee7
Simplify and update OpenStack cloud provider
...
Simplify the number of variables necessary to "just" enable OpenStack
cloud provider. Also add the new options available in K8s 1.9.
2018-01-05 12:05:24 +01:00
6eb6e806e7
Update Terraform docs and authentication method
...
Hardcoded variables are removed from variables.tf file because it might
not be suitable for all OpenStack Cloud depending on Identity API
version available (between v2 or v3) and preferred authentication
method.
2018-01-05 11:25:37 +01:00
6ed2a60978
fix run dashboard error
2018-01-04 13:13:36 +08:00
fd04c14260
Merge pull request #2127 from spiffxp/follow-cla-doc
...
Follow CLA doc to kubernetes/community
2018-01-03 19:19:34 -06:00
10a5273f07
Follow CLA doc to kubernetes/community
2018-01-03 16:48:53 -08:00
bac3bf1a5f
Fix auto-evaluated API access endpoint for bind IP ( #2086 )
...
Auto configure API access endpoint with a custom bind IP, if provided.
Fix HA docs' http URLs are https in fact, clarify the insecure vs secure
API access modes as well.
Closes: #issues/2051
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2018-01-03 17:40:21 +01:00
e3b684df21
Remove blank lines
...
Remove blank lines
2018-01-03 00:54:04 -06:00
e45b30d033
Add etcd key and cert environment variables for use with client auth
2018-01-02 13:52:17 -05:00
ad6fecefa8
Update Kubernetes to v1.9.0 ( #2100 )
...
Update checksum for kubeadm
Use v1.9.0 kubeadm params
Include hash of ca.crt for kubeadm join
Update tag for testing upgrades
Add workaround for testing upgrades
Remove scale CI scenarios because of slow inventory parsing
in ansible 2.4.x.
Change region for tests to us-central1 to
improve ansible performance
2017-12-25 08:57:45 +00:00
3fdb2ccf55
Revert back to using an empty var as default to exclude hostname ( #2110 )
2017-12-22 22:09:59 +00:00
29f5b55d42
remove unwanted whitespace for kube_override_hostname ( #2105 )
2017-12-22 11:31:18 +00:00
5aef52e8c0
fix dashboard certs secret
2017-12-22 11:17:05 +08:00
336e0cbf70
Merge pull request #2102 from spiffxp/update-code-of-conduct
...
Update code-of-conduct.md
2017-12-20 20:00:47 -06:00
3cd06b0eb4
Update code-of-conduct.md
...
Refer to kubernetes/community as authoritative source for code of conduct
2017-12-20 14:12:38 -05:00
6bb46e3ecb
Fix param names in preparation for Kubernetes v1.9.0 ( #2098 )
...
This does not update v1.9.0, but fixes two incompatibilities
when trying to deploy v1.9.0.
2017-12-20 10:48:09 +00:00
127bc01857
Do not override kubelet hostname if cloud_provider is used ( #2095 )
...
Starting with Kubernetes v1.8.4, kubelet ignores the AWS cloud
provider string and uses the override hostname, which fails
Node admission checks.
Fixes #2094
2017-12-19 20:18:20 +00:00
a6975c1850
Rename runtime docker_version ( #2082 )
...
Renaming runtime docker_version to prevent setting that
value on the command line from breaking the play run.
This fixes #2081
2017-12-19 14:47:54 +00:00
b2cb0725ac
Default OpenStack Cinder Storage Class ( #2083 )
...
Add possibility to create default OpenStack Cinder Storage Class
Closes : #1609
2017-12-19 14:47:00 +00:00
b974b144a8
Add RBAC to binding Dahsboard UI
2017-12-18 23:07:19 +08:00
bfb25fa47b
Change vault cert ttl to 8y ( #2013 )
2017-12-15 13:34:00 +00:00
3bb505d43f
Remove unrequired mounts
2017-12-14 14:59:40 -08:00
b135bcb9d9
Split download container task for delegate and non-delegate modes ( #2077 )
...
Ansible cannot seem to handle omitting delegate_to since v2.4.0.0.
Possibly related: https://github.com/ansible/ansible/issues/30760
2017-12-14 16:45:54 +00:00
4e97225424
Add quote for etcd endpoints
2017-12-13 18:35:12 -08:00
0771cd8599
Remove dashboard_tls_key and dashboard_tls_cert
2017-12-13 15:42:20 +08:00
91d848f98a
Make spliting system_search_domains more robust
...
The search line in /etc/resolv.conf could have
multiple spaces or tabs between domains.
split(' ') will give wrong results in some case,
use split() without argument instead.
e.g.
>>> 'domain.tld cluster.tld '.split(' ')
['domain.tld\tcluster.tld', '']
>>> 'domain.tld cluster.tld '.split()
['domain.tld', 'cluster.tld']
2017-12-13 15:39:38 +08:00
40edf8c6f5
Update dashboard version to v1.8.0
...
Update dependencies to be compatible with Kubernetes v1.8
2017-12-13 12:50:44 +08:00
e78562830f
Retry kube container removal during upgrade
...
As we have seen with other containers, sometimes container removal fails on the first attempt due to some Docker bugs. Retrying typically corrects the issue.
2017-12-12 12:06:41 -06:00
bef259a6eb
Always set net.bridge.bridge-nf-call-* sysctl
2017-12-12 17:11:35 +00:00
39ce1bd8be
Merge pull request #2059 from bradbeam/vaultalt
...
Fixing alt_names for vault cert generation
2017-12-12 09:28:51 -06:00
6291881943
Merge pull request #2057 from rsmitty/master
...
set docker_version fact regardless of docker_dns in use
2017-12-12 10:28:14 -05:00
802fd94dad
Merge pull request #2054 from ArchiFleKs/os-cloud-provider-domain-fix
...
Fix domain id for OpenStack provider
2017-12-11 21:06:16 -06:00
66f38a1b31
fix: always only one docker image got synced after download
2017-12-12 09:51:03 +08:00
d3850a4da5
Fixing alt_names for vault cert generation
2017-12-11 17:28:18 -06:00
53a4355e60
set docker_version fact regardless of docker_dns in use
2017-12-11 17:48:11 -05:00
18a616f57c
Merge pull request #2052 from ArchiFleKs/os-terraform-fix-inventory
...
Change OpenStack inventory to python2
2017-12-11 13:42:05 -05:00
32333eb627
Merge pull request #2035 from brutus333/fix/proxy
...
Added proxy_env to scale and upgrade playbooks
2017-12-11 12:43:06 -05:00
19def41fdf
Merge pull request #2047 from bradbeam/vaulttime
...
Adding retries for vault-temp to come online
2017-12-11 09:04:57 -06:00
44b9dce134
Fix domain id for OpenStack provider
...
OpenStack authentication does not support using a mix of DomainID and
DomainName, only one or the other should be used.
2017-12-11 15:57:33 +01:00
fa5a538fe5
Merge pull request #2050 from jbonachera/fix-vault-tls-validation
...
append newline char to vault generated certs
2017-12-11 08:41:34 -06:00
5e3fd2253f
Change OpenStack inventory to python2
...
For distribution who ship python3 as default python, it breaks the
inventory script as it is not compatible with python3.
2017-12-11 14:25:05 +01:00
9643c2c1e3
Fixes to reset ( #2046 )
...
- adding additional directories to cleanup (rkt/vault)
- targeting kubespray ansible groups instead of all
2017-12-11 12:49:21 +00:00
93f3614382
Fixes #2039 - changing alt_names to be string instead of list ( #2043 )
2017-12-11 12:48:07 +00:00
cbc8a7d679
Merge pull request #1995 from b0r1sp/patch-1
...
Update main.yml
2017-12-10 21:45:02 -06:00
290bc993a5
append newline char to vault generated certs
2017-12-10 13:06:28 +01:00
3694657eb6
Adding retries for vault-init to come online
2017-12-09 17:40:44 -06:00
79417e07ca
Fix systemd service unit for docker >= 17.03 ( #1844 )
2017-12-08 13:12:45 +00:00
dad95c873b
Remove templating for etcd members
...
Use a etcd-initer init container to generate etcd args, it determines
etcd name by comparing its ip and etcd cluster ips. This way will
make etcd configuration independent to the ansible templating so
that could be easier on adding master nodes.
2017-12-07 23:33:29 -08:00
626b35e1b0
Merge pull request #2005 from riverzhang/patch-1
...
Delete helm home
2017-12-07 11:23:30 -05:00
5881ba43f8
Split contiv etcd and etcd-proxy into two daemonsets
...
Putting contiv etcd and etcd-proxy into the same daemonset and manage
the difference by a env file is not good for scaling (adding nodes).
This commit split them into two daemonsets so that when adding nodes,
k8s could automatically starting a etcd-proxy on new nodes without need
to run related play that putting env file.
2017-12-06 22:21:50 -08:00
fed7b97dcb
Merge pull request #2030 from mattymo/removerbaccheck
...
Remove RBAC from boolean checks
2017-12-06 23:41:13 -06:00
c4458c9d9a
Merge pull request #1997 from mrbobbytables/feature-keepalived-cloud-provider
...
Add minimal keepalived-cloud-provider support
2017-12-06 23:28:27 -05:00
7bae2a4547
Added proxy_env to scale and upgrade playbooks
2017-12-06 15:06:34 +00:00
aeb3e647d4
Remove the network device created by the flannel ( #2006 )
...
* Remove the network device created by the flannel
Remove the network device created by the flannel
* Modify flannel.1 device path
Modify flannel.1 device path
* remove trailing spaces
2017-12-06 14:15:39 +00:00
fe036cbe77
Adding changes to handle updation of yum Management cache in rhel. ( #2026 )
...
* Adding changes to handle updation of yum cache in rhel.
* Removed the redundant spaces
2017-12-06 09:00:41 +00:00
952ec65a40
Remove RBAC from boolean checks
2017-12-06 11:57:40 +03:00
b8788421d5
Support for disabling apiserver insecure port
...
This allows `kube_apiserver_insecure_port` to be set to 0 (disabled).
Rework of #1937 with kubeadm support
Also, fixed an issue in `kubeadm-migrate-certs` where the old apiserver cert was copied as the kubeadm key
2017-12-05 09:13:45 -06:00
c2347db934
Merge pull request #1953 from chadswen/dashboard-refactor
...
Kubernetes Dashboard v1.7.1 Refactor
2017-12-05 08:50:55 -06:00
27ead5d4fa
Merge pull request #2003 from abelgana/master
...
Change altnames to alt_names
2017-12-05 08:48:32 -06:00
591ae700ce
Update OpenStack Terraform: Modules, Bastions, and New Floating IP config ( #1958 )
...
* Adding bastion and private network provisioning for openstack terraform
* Remove usage of floating-ip property
* Combine openstack instances + floating ips
* Fix relating floating IPs to hosts for openstack builds
* Tighten up security groups
Allow ssh into all instances with floating IP
* Add the gluster hosts to the no-floating group
* Break terraform into modules
* Update README and var descriptions to match current config
* Remove volume property in gluster compute def
* Include cluster name in internal network and router names
* Make dns_nameservers a variable
2017-12-05 12:48:47 +00:00
6ade7c0a8d
Update k8s version to 1.8.4 ( #2015 )
...
* Update k8s version to 1.8.4
* Update main.yml
2017-12-04 16:23:04 +00:00
b3745f2614
contrib/terraform/aws: Tag instances and remove loadbalancer ip ( #2023 )
...
* Properly tag instances and subnets with `kubernetes.io/cluster/$cluster_name`
This is required by kubernetes to support multiple clusters in a single vpc/az
* Get rid of loadbalancer_apiserver_address as it is no longer needed
2017-12-04 14:31:46 +00:00
ca8a9c600a
Terraform - Remove the need for region specific reference data ( #1962 )
...
* Dynamically retrieve aws_bastion_ami latest reference by querying AWS rather than hard coded
* Dynamically retrieve the list of availability_zones instead of needing to have them hard coded
* Limit availability zones to first 2, using slice extrapolation function
* Replace the need for hardcoded variable "aws_cluster_ami" by the data provided by Terraform
* Move ami choosing to vars, so people don't need to edit create infrastructure if they want another vendor image (as suggested by @atoms)
* Make name of the data block agnostic of distribution, given there are more than one distribution supported
* Add documentation about other distros being supported and what to change in which location to make these changes
2017-11-30 15:27:52 +00:00
a0225507a0
Set helm deployment type to host ( #2012 )
2017-11-29 19:52:54 +00:00
d39a88d63f
Allow setting --bind-address for apiserver hyperkube ( #1985 )
...
* Allow setting --bind-address for apiserver hyperkube
This is required if you wish to configure a loadbalancer (e.g haproxy)
running on the master nodes without choosing a different port for the
vip from that used by the API - in this case you need the API to bind to
a specific interface, then haproxy can bind the same port on the VIP:
root@overcloud-controller-0 ~]# netstat -taupen | grep 6443
tcp 0 0 192.168.24.6:6443 0.0.0.0:* LISTEN 0 680613 134504/haproxy
tcp 0 0 192.168.24.16:6443 0.0.0.0:* LISTEN 0 653329 131423/hyperkube
tcp 0 0 192.168.24.16:6443 192.168.24.16:58404 ESTABLISHED 0 652991 131423/hyperkube
tcp 0 0 192.168.24.16:58404 192.168.24.16:6443 ESTABLISHED 0 652986 131423/hyperkube
This can be achieved e.g via:
kube_apiserver_bind_address: 192.168.24.16
* Address code review feedback
* Update kube-apiserver.manifest.j2
2017-11-29 15:24:02 +00:00
e5d353d0a7
contiv network support ( #1914 )
...
* Add Contiv support
Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.
* Update contiv version to 1.1.4
Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.
* Load openvswitch module to workaround on CentOS7.4
* Set contiv cni version to 0.1.0
Correct contiv CNI version to 0.1.0.
* Use kube_apiserver_endpoint for K8S_API_SERVER
Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.
* Make contiv use its own etcd
Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.
* Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.
* Make contiv-etcd able to run on master nodes
* Add rbac_enabled flag for contiv pods
* Add contiv into CNI network plugin lists
* migrate contiv test to tests/files
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com >
* Add required rules for contiv netplugin
* Better handling json return of fwdMode
* Make contiv etcd port configurable
* Use default var instead of templating
* roles/download/defaults/main.yml: use contiv 1.1.7
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com >
2017-11-29 14:24:16 +00:00
de422c822d
update nginx tag to use multi-arch docker image ( #2009 )
2017-11-29 10:39:52 +00:00
4d3326b542
Raise default vault lease TTL to 10y ( #2008 )
2017-11-29 10:38:59 +00:00
1b82138142
Delete helm home
...
Delete helm home
2017-11-29 13:27:09 +08:00
208ff8e350
Allow for more customization of the tiller deploy ( #1946 )
2017-11-28 18:33:57 +00:00
ec54b36e05
add retries for calico/canal etcd commands ( #2007 )
2017-11-28 16:39:55 +00:00
38e8522cbf
Merge pull request #1983 from tomdee/bump-flannel-ver
...
Bump flannel version to v0.9.1
2017-11-28 11:38:55 -05:00
52f8687397
Merge pull request #1977 from mattymo/initializers
...
Disable initializers feature gate if istio is not used
2017-11-28 11:37:41 -05:00
43600ffcf8
Merge pull request #1972 from chadswen/master-static-pod-flush
...
Additional flush for static pod master upgrade
2017-11-28 11:36:38 -05:00
938d2d9e6e
update helm/tiller to v2.7.2 -- security bugfix ( #1986 )
2017-11-28 14:52:42 +00:00
9368dbe0e7
update calico to 2.6.2 ( #1874 )
...
Move RS to deployment so no need to take care of the revision history
limits :
- Delete the old RS
- Make Calico manifest a deployment
- move deployments to apps/v1beta2 API since Kubernetes 1.8
2017-11-28 12:01:30 +00:00
fe3290601a
The variable altnames is used by this task.
...
Since the value will change on the default. It needs to change here also.
2017-11-27 06:57:16 -05:00
e7173e1d62
Change altnames to alt_names
...
Hi,
Could you please check if it was a typo?
https://www.vaultproject.io/api/secret/pki/
Regards,
2017-11-25 17:29:21 -05:00
8aafe64397
Defaults for apiserver_loadbalancer_domain_name ( #1993 )
...
* Defaults for apiserver_loadbalancer_domain_name
When loadbalancer_apiserver is defined, use the
apiserver_loadbalancer_domain_name with a given default value.
Fix unconsistencies for checking if apiserver_loadbalancer_domain_name
is defined AND using it with a default value provided at once.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
* Define defaults for LB modes in common defaults
Adjust the defaults for apiserver_loadbalancer_domain_name and
loadbalancer_apiserver_localhost to come from a single source, which is
kubespray-defaults. Removes some confusion and simplefies the code.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-11-23 16:15:48 +00:00
2140303fcc
add minimal keepalived-cloud-provider support
2017-11-23 08:43:36 -05:00
b80ded63ca
Update main.yml
...
just a small spelling mistake
2017-11-21 22:37:52 +01:00
7be2521a31
Add flannel hairping mode
2017-11-21 10:43:50 +00:00
15b9d54a32
Bump flannel version to v0.9.1
2017-11-16 12:52:18 -07:00
bc1a4e12ad
fix broken variable in ansible 2.4.1.0 and ensure tasks for calico-rr ( #1982 )
2017-11-16 18:44:15 +00:00
67419e8d0a
Run rotate_tokens role only once ( #1970 )
2017-11-15 18:50:23 +00:00
849aaf7435
Update to k8s 1.8.3 ( #1971 )
2017-11-15 17:43:22 +00:00
a89ee8c406
Add ability to use custom cert secret instead of init container provisioned self-signed certs
2017-11-15 10:05:52 -06:00
0c6f172e75
Kubernetes Dashboard v1.7.1 Refactor
...
This version required changing the previous access model for dashboard completely but it's a change for the better. Docs were updated.
* New login/auth options that use apiserver auth proxying by default
* Requires RBAC in `authorization_modes`
* Only serves over https
* No longer available at https://first_master:6443/ui until apiserver is updated with the https proxy URL:
* Can access from https://first_master:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login you will be prompted for credentials
* Or you can run 'kubectl proxy' from your local machine to access dashboard in your browser from: http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
* It is recommended to access dashboard from behind a gateway that enforces an authentication token, details and other access options here: https://github.com/kubernetes/dashboard/wiki/Accessing-Dashboard---1.7.X-and-above
2017-11-15 10:05:48 -06:00
a67349b076
Disable initializers feature gate if istio is not used
2017-11-15 12:56:36 +00:00
f9b68a5d17
Revert "Support for disabling apiserver insecure port" ( #1974 )
2017-11-14 13:41:28 +00:00
c7910b51a1
--peers DEPRECATED - --endpoints should be used instead ( #1943 )
2017-11-14 11:28:35 +00:00
1f99710b21
Additional flush for static pod master upgrade
...
Thought this wasn't required at first but I forgot there's no auto flush at the end of these tasks since the `kubernetes/master` role is not the end of the play.
2017-11-13 18:11:57 -06:00
5e558c361b
update weave-net to 2.0.5 version ( #1877 )
2017-11-13 16:11:47 +00:00
5f39efcdfd
adding mount for kubelet to enable rbd mounts ( #1957 )
...
* adding mount for kubelet to enable rbd mounts
* fix conditionnal variable name
2017-11-13 14:04:13 +00:00
037edf1215
Fix failed task of setting up bash completion for helm ( #1968 )
...
Closes : #1967
2017-11-13 10:15:53 +00:00
37125866ca
Make calico_node_ignorelooserpf have an effect ( #1945 )
2017-11-13 09:35:13 +00:00
421e73b87c
Add missing exclamation mark in shebang line ( #1966 )
2017-11-13 09:34:21 +00:00
0d8de289dd
Revert "Change deprecated vagrant ansible flag 'sudo' to 'become'" ( #1960 )
2017-11-12 09:20:30 +00:00
00916dec38
Merge pull request #1954 from abelgana/patch-1
...
fix a typo
2017-11-10 11:04:57 -05:00
c115e5677e
Merge pull request #1828 from hzamani/patch-1
...
Use etcd_access_addresses for vault_etcd_url
2017-11-10 10:56:37 -05:00
56047c1c83
fix a typo
2017-11-10 09:30:27 -05:00
09d85631dc
Merge pull request #1944 from chadswen/reload-master-pods
...
Master component and kubelet container upgrade fixes
2017-11-08 22:23:12 -05:00
f25e4dc3ed
Merge pull request #1937 from chadswen/disable-api-insecure-port
...
Support for disabling apiserver insecure port
2017-11-08 18:13:49 -05:00
a3a7c2d24e
Merge pull request #1947 from rsmitty/rkt-proxy
...
provide environment for rkt trust and run with etcd
2017-11-08 15:26:47 -05:00
0126168472
provide environment for rkt trust and run with etcd
2017-11-08 12:57:22 -05:00
e9f795c5ce
Master component and kubelet container upgrade fixes
...
* Fixes an issue where apiserver and friends (controller manager, scheduler) were prevented from restarting after manifests/secrets are changed. This occurred when a replaced kubelet doesn't reconcile new master manifests, which caused old master component versions to linger during deployment. In my case this was causing upgrades from k8s 1.6/1.7 -> k8s 1.8 to fail
* Improves transitions from kubelet container to host kubelet by preventing issues where kubelet container reappeared during the deployment
2017-11-08 01:40:33 -06:00
0c7e1889e4
Support for disabling apiserver insecure port
...
This allows `kube_apiserver_insecure_port` to be set to 0 (disabled). It's working, but so far I have had to:
1. Make the `uri` module "Wait for apiserver up" checks use `kube_apiserver_port` (HTTPS)
2. Add apiserver client cert/key to the "Wait for apiserver up" checks
3. Update apiserver liveness probe to use HTTPS ports
4. Set `kube_api_anonymous_auth` to true to allow liveness probe to hit apiserver's /healthz over HTTPS (livenessProbes can't use client cert/key unfortunately)
5. RBAC has to be enabled. Anonymous requests are in the `system:unauthenticated` group which is granted access to /healthz by one of RBAC's default ClusterRoleBindings. An equivalent ABAC rule could allow this as well.
Changes 1 and 2 should work for everyone, but 3, 4, and 5 require new coupling of currently independent configuration settings. So I also added a new settings check.
Options:
1. The problem goes away if you have both anonymous-auth and RBAC enabled. This is how kubeadm does it. This may be the best way to go since RBAC is already on by default but anonymous auth is not.
2. Include conditional templates to set a different liveness probe for possible combinations of `kube_apiserver_insecure_port = 0`, RBAC, and `kube_api_anonymous_auth` (won't be possible to cover every case without a guaranteed authorizer for the secure port)
3. Use basic auth headers for the liveness probe (I really don't like this, it adds a new dependency on basic auth which I'd also like to leave independently configurable, and it requires encoded passwords in the apiserver manifest)
Option 1 seems like the clear winner to me, but is there a reason we wouldn't want anonymous-auth on by default? The apiserver binary defaults anonymous-auth to true, but kubespray's default was false.
2017-11-06 14:01:10 -06:00
8b2bec700a
add bastion role to scale ( #1882 )
2017-11-06 13:51:36 +00:00
125267544e
Fix Typo ( #1935 )
2017-11-06 13:51:22 +00:00
0d55ed3600
Avoid that some read-only tasks cause an ansible-change ( #1910 )
2017-11-06 13:51:07 +00:00
ad0cd6939a
Add support cAdvisor ( #1908 )
...
Signed-off-by: Haiwei Liu <carllhw@gmail.com >
2017-11-06 13:50:28 +00:00
a1244d7bd3
update link to latest Digital Rebar integration ( #1933 )
2017-11-06 13:49:54 +00:00
33adb334cd
Fix openstack tenant id variable name ( #1932 )
2017-11-05 08:40:41 +00:00
ef87a8a1f0
Merge pull request #1916 from vtomasr5/master
...
Fix bad handler directory name in kubeadm role
2017-11-03 18:14:48 -04:00
5223a80ab8
Merge pull request #1925 from chadswen/proxy-fixes
...
Remove proxy settings from etcd and kubernetes/master roles
2017-11-03 18:13:36 -04:00
a595c84f7e
Merge pull request #1928 from chadswen/flannel-rbac-fix
...
Flannel RBAC Fix
2017-11-03 18:12:16 -04:00
adcfcc1178
Merge pull request #1931 from chadswen/docker-update
...
Docker Version Update
2017-11-03 18:11:33 -04:00
b158dbcf79
Docker Version Update
...
Update default docker version to 17.03.1
2017-11-03 12:34:45 -05:00
ab3832f3e7
Set host IP for kubelet always ( #1924 )
...
* Set host IP for kubelet always
Use ansible default IP if ip var is not set.
* Update main.yml
2017-11-03 10:19:37 +00:00
9bf415f749
update helm to v2.7.0 ( #1875 )
...
* update helm to v2.7.0
* Update main.yml
2017-11-03 07:15:00 +00:00
a2bda9e5f1
Eliminate jinja2 template expression warning and rename coreos-python var ( #1911 )
...
* Change deprecated vagrant ansible flag 'sudo' to 'become'
* Emphasize, that the name of the pip_pyton_modules is only considered in coreos
* Remove useless unused variable
* Fix warning when jinja2 template-delimiters used in when statement
There is no need for jinja2 template-delimiters like {{ }} or {% %}
any more. They can just be omitted as described in https://github.com/ansible/ansible/issues/22397
* Fix broken link in getting-started guide
2017-11-03 07:11:36 +00:00
0195725563
Workaround ansible bug where access var via dict doesn't get real value ( #1912 )
...
* Change deprecated vagrant ansible flag 'sudo' to 'become'
* Workaround ansible bug where access var via dict doesn't get real value
When accessing a variable via it's name "{{ foo }}" its value is
retrieved. But when the variable value is retrieved via the vars-dict
"{{ vars['foo'] }}" this doesn't resolve the expression of the variable
any more due to a bug. So e.g. a expression foo="{{ 1 == 1 }}" isn't
longer resolved but just returned as string "1 == 1".
* Make file yamllint complient
2017-11-03 07:11:14 +00:00
ec1170bd37
only mount volumes if local_volumes_enabled is true. fix mount flags in rkt. ( #1923 )
2017-11-03 07:10:37 +00:00
66c67dbe73
Add optional helm deployment mode for host ( #1920 )
2017-11-03 07:09:24 +00:00
e5d8d8234d
Remove proxy settings from etcd and kubernetes/master roles
...
When proxy vars are set, `uri` module tasks will attempt to route traffic through the proxy. This causes the "Wait for" tasks in the `etcd` and `kubernetes/master` roles to hang, as localhost connections struggle with a proxy.
As far as I know these roles only need local/cluster networking, so a proxy doesn't apply here anyway.
2017-11-03 01:41:17 -05:00
16ae2c1809
Flannel RBAC Fix
...
Fixes a bug that can occur if `cni-flannel-rbac.yml` was written but the playbook failed before it was applied. Uses the same approach as calico.
2017-11-02 23:20:23 -05:00
5c5e879c2c
Merge pull request #1904 from guenhter/master
...
Change deprecated vagrant ansible flag 'sudo' to 'become'
2017-11-02 12:02:32 -04:00
4771716ab2
Merge pull request #1907 from mattymo/disable_anon_auth
...
Block anonymous auth requests to kubelet
2017-11-02 12:01:39 -04:00
b156585739
Merge pull request #1917 from chadswen/docker-daemon-graph
...
Fix kubelet container with alternate Docker data paths
2017-11-02 11:58:55 -04:00
7a77b5c419
Merge pull request #1919 from mattymo/fix_rkt_local_vols
...
Fix local volume provisioner mount point for rkt
2017-11-02 11:32:30 -04:00
9872b594bf
Merge pull request #1921 from pipo02mix/patch-2
...
Typo in apt-get command
2017-11-02 11:29:32 -04:00
e6c88db0a0
change how terraform generates apiserver variables ( #1922 )
2017-11-02 12:26:11 +00:00
257280a050
Typo in apt-get command
...
Typo in apt-get command
2017-11-02 11:40:08 +01:00
520103df78
Change namespace for provisioner account
2017-11-02 10:16:08 +00:00
3e3787de15
Fix local volume provisioner mount point for rkt
2017-11-02 09:45:26 +00:00
0c824d5ef1
Fix kubelet container with alternate Docker data paths
...
Some time ago I think the hardcoded `/var/lib/docker` was required, but kubelet running in a container has been aware of the Docker path since at least as far back as k8s 1.6.
Without this change, you see a large number of errors in the kubelet logs if you installed with a non-default `docker_daemon_graph`
2017-11-01 13:25:15 -05:00
c0e989b17c
New addon: local_volume_provisioner ( #1909 )
2017-11-01 14:25:35 +00:00
5218b3af82
Fix bad handler directory name in kubeadm role
2017-11-01 14:36:28 +01:00
ef0a91da27
Merge pull request #1891 from rsmitty/proxy-fixes
...
Improved proxy support
2017-10-31 14:32:12 -04:00
8412181746
Merge pull request #1899 from skyscooby/update_kube182
...
Update to Kubernetes 1.8.2
2017-10-31 14:30:56 -04:00
400ee2aa57
Merge pull request #1898 from skyscooby/update_kubedns
...
Update kubedns to 1.14.7 release
2017-10-31 14:30:36 -04:00
05b8466f87
Merge pull request #1890 from chadswen/apt-repo-params
...
Parameterize dockerproject apt repo endpoints
2017-10-31 14:29:19 -04:00
6061c691e6
Merge pull request #1902 from pipo02mix/patch-1
...
Typo in the apt-get command
2017-10-31 12:30:41 -04:00
3ac967a7b6
Merge branch 'master' of https://github.com/kubernetes-incubator/kubespray
2017-10-31 15:15:39 +01:00
19962f6b6a
fix indentation for master template ( #1906 )
2017-10-31 06:43:54 +00:00
f7703dbca3
Block anonymous auth requests to kubelet
2017-10-30 19:06:54 +00:00
74a9eedb93
helm template check for http/https_proxy
2017-10-30 13:11:04 -04:00
6df104b275
don't check for no_proxy, only http/https_proxy. fix linting issues.
2017-10-30 11:42:14 -04:00
b27453d8d8
improved proxy support
2017-10-30 11:42:14 -04:00
4470ee4ccf
Merge pull request #1887 from mattymo/fix_indent_apiserver
...
fix indentation for network policy option
2017-10-30 11:33:13 -04:00
df27fd1e9c
Update README.md
2017-10-30 09:39:02 -04:00
97c68810e0
Change deprecated vagrant ansible flag 'sudo' to 'become'
2017-10-30 14:37:06 +01:00
8a86acf75d
Update kubespray-defaults kubernetes to v1.8.2
2017-10-30 09:34:32 -04:00
160e479f8d
Typo in the apt-get command
...
Typo in the apt-get command
2017-10-30 13:47:39 +01:00
d738acf638
Update kubelet.kubeadm.env.j2 ( #1901 )
2017-10-30 11:33:02 +00:00
84d92aa3c7
fix-bug ( #1900 )
2017-10-30 11:23:24 +00:00
dd01cabcdc
Update to kubernetes 1.8.2
2017-10-29 22:13:06 -04:00
e196adb98c
Update kubernetes 1.8.2
2017-10-29 22:09:22 -04:00
c383c7e2c1
Update kubedns image to latest
2017-10-29 21:58:05 -04:00
958bb5285d
Update kubedns image to latest
2017-10-29 21:57:32 -04:00
f0317ae70b
Merge pull request #1876 from ArchiFleKs/update_flannel
...
update flannel
2017-10-27 15:22:54 -04:00
591941bd39
Merge pull request #1884 from abelgana/master
...
Sysctl reload if needed after IP forward enabling
2017-10-27 15:12:08 -04:00
e90769c869
Merge pull request #1888 from chapsuk/issue_1885
...
Disable swap in vagrant vms
2017-10-27 15:10:16 -04:00
256bbb1a8a
Parameterize apt repo endpoints
...
This allows overriding of apt repo endpoints when internet sources are not accessible. Additionally, switch to using the dockerproject.org gpg key url for apt instead of keyservers.net
2017-10-27 13:48:11 -05:00
2c7c956be9
Disable swap in vagrant vms
2017-10-27 19:57:54 +03:00
fe81bba08d
Force kubelet certificates to be generated as lowercase ( #1886 )
...
All nodes get converted to lowercase, so certs should set
CN with lowercase as well.
2017-10-27 15:58:25 +01:00
564de07963
fix indentation for network policy option
2017-10-27 14:56:22 +01:00
84cf6fbe83
change ssh_args/bastion configuration ( #1883 )
2017-10-27 12:18:39 +01:00
d9160f19c0
Sysctl reload if needed after IP forward enabling
...
Add reload yes to reload sysctl if the value of net.ipv4.ip_forward changes.
- name: Enable ip forwarding
sysctl:
sysctl_file: "{{sysctl_file_path}}"
name: net.ipv4.ip_forward
value: 1
state: present
reload: yes
tags:
- bootstrap-os
2017-10-26 13:06:21 -04:00
ba0a03a8ba
Merge pull request #1880 from mattymo/node_auth_fixes2
...
Move cluster roles and system namespace to new role
2017-10-26 10:02:24 -05:00
b0f04d925a
Update network policy setting for Kubernetes 1.8 ( #1879 )
...
It is now enabled by default in 1.8 with the api changed
to networking.k8s.io/v1 instead of extensions/v1beta1.
2017-10-26 15:35:26 +01:00
7b78e68727
disable idempotency tests ( #1872 )
2017-10-26 15:35:12 +01:00
ec53b8b66a
Move cluster roles and system namespace to new role
...
This should be done after kubeconfig is set for admin and
before network plugins are up.
2017-10-26 14:36:05 +01:00
6e949bf951
update flannel
2017-10-26 11:18:06 +02:00
86fb669fd3
Idempotency fixes ( #1838 )
2017-10-25 21:19:40 +01:00
7123956ecd
update checksum for kubeadm ( #1869 )
2017-10-25 21:15:16 +01:00
46cf6b77cf
Merge pull request #1857 from pmontanari/patch-1
...
Use same kubedns_version: 1.14.5 in downloads and kubernetes-apps/ansible roles
2017-10-25 10:05:43 -04:00
a52bc44f5a
Fix broken CI jobs ( #1854 )
...
* Fix broken CI jobs
Adjust image and image_family scenarios for debian.
Checkout CI file for upgrades
* add debugging to file download
* Fix download for alternate playbooks
* Update ansible ssh args to force ssh user
* Update sync_container.yml
2017-10-25 11:45:54 +01:00
acb63a57fa
Only limit etcd memory on small hosts ( #1860 )
...
Also disable oom killer on etcd
2017-10-25 10:25:15 +01:00
5b08277ce4
Access dict item's value keys using .value ( #1865 )
2017-10-24 20:49:36 +01:00
5dc56df64e
Fix ordering of kube-apiserver admission control plug-ins ( #1841 )
2017-10-24 17:28:07 +01:00
33c4d64b62
Make ClusterRoleBinding to admit all nodes with right cert ( #1861 )
...
This is to work around #1856 which can occur when kubelet
hostname and resolvable hostname (or cloud instance name)
do not match.
2017-10-24 17:05:58 +01:00
25de6825df
Update Kubernetes to v1.8.1 ( #1858 )
2017-10-24 17:05:45 +01:00
0b60201a1e
fix etcd health check bug ( #1480 )
2017-10-24 16:10:56 +01:00
cfea99c4ee
Fix scale.yml to supoort kubeadm ( #1863 )
...
Signed-off-by: Haiwei Liu <carllhw@gmail.com >
2017-10-24 16:08:48 +01:00
cea41a544e
Use include instead of import tasks to support v2.3 ( #1855 )
...
Eventually 2.3 support will be dropped, so this is
a temporary change.
2017-10-23 13:56:03 +01:00
8371a060a0
Update main.yml
...
Match kubedns_version with roles/download/defaults/main.yml:kubedns_version: 1.14.5
2017-10-22 23:48:51 +02:00
7ed140cea7
Update refs to kubernetes version to v1.8.0 ( #1845 )
2017-10-20 08:29:28 +01:00
cb97c2184e
typo fix for ci job name ( #1847 )
2017-10-20 08:26:42 +01:00
0b4fcc83bd
Fix up warnings and deprecations ( #1848 )
2017-10-20 08:25:57 +01:00
514359e556
Improve etcd scale up ( #1846 )
...
Now adding unjoined members to existing etcd cluster
occurs one at a time so that the cluster does not
lose quorum.
2017-10-20 08:02:31 +01:00
55b9d02a99
Update README.md ( #1843 )
...
Changed Ansible 2.3 to 2.4
2017-10-19 13:49:04 +01:00
fc9a65be2b
Refactor downloads to use download role directly ( #1824 )
...
* Refactor downloads to use download role directly
Also disable fact delegation so download delegate works acros OSes.
* clean up bools and ansible_os_family conditionals
2017-10-19 09:17:11 +01:00
49dff97d9c
Relabel controler-manager to kube-controller-manager ( #1830 )
...
Fixes #1129
2017-10-18 17:29:18 +01:00
4efb0b78fa
Move CI vars out of gitlab and into var files ( #1808 )
2017-10-18 17:28:54 +01:00
c9fe8fde59
Use fail-swap-on flag only for kube_version >= 1.8 ( #1829 )
2017-10-18 16:32:38 +01:00
74d54946bf
Add note that glusterfs is not automatically deployed ( #1834 )
2017-10-18 13:26:14 +01:00
16462292e1
Properly skip extra SANs when not specified for kubeadm ( #1831 )
2017-10-18 12:04:13 +01:00
7ef1e1ef9d
update terraform, fix deprecated values add default_tags, fix ansible inventory ( #1821 )
2017-10-18 11:44:32 +01:00
20d80311f0
Update main.yml ( #1822 )
...
* Update main.yml
Needs to set up resolv.conf before updating Yum cache otherwise no name resolution available (resolv.conf empty).
* Update main.yml
Removing trailing spaces
2017-10-18 11:42:00 +01:00
f1a1f53f72
fix slack UR; ( #1832 )
2017-10-18 10:32:47 +01:00
3acc42c5b3
Use etcd_access_addresses for vault_etcd_url
2017-10-17 19:27:36 +03:30
c766bd077b
Use batch mode for graceful docker/rkt upgrade ( #1815 )
2017-10-17 14:12:11 +01:00
54320c5b09
set to 3 digit version number ( #1817 )
2017-10-17 11:14:29 +01:00
291b71ea3b
Changing default value string to boolean. ( #1669 )
...
When downloading containers or files, use boolean
as a default value.
2017-10-17 11:14:12 +01:00
356515222a
Add possibility to insert more ip adresses in certificates ( #1678 )
...
* Add possibility to insert more ip adresses in certificates
* Add newline at end of files
* Move supp ip parameters to k8s-cluster group file
* Add supplementary addresses in kubeadm master role
* Improve openssl indexes
2017-10-17 11:06:07 +01:00
688e589e0c
fix #1788 lock dashboard version to 1.6.3 version while 1.7.x is not working ( #1805 )
2017-10-17 11:04:55 +01:00
6c98201aa4
remove kube-dns versions and images in kubernetes-apps/ansible/defaults/main.yaml ( #1807 )
2017-10-17 11:03:53 +01:00
d4b10eb9f5
Fix path for calico get node names ( #1816 )
2017-10-17 10:54:48 +01:00
728d56e74d
Only write bastion ssh config when needed ( #1810 )
...
This will allow running Kubespray when the user who runs it doesn't
have write permissions to the Kubespray dir, at least when not using
bastion.
2017-10-17 10:28:45 +01:00
a9f4038fcd
Update roadmap ( #1814 )
2017-10-16 17:02:53 +01:00
77f1d4b0f1
Revert "Update roadmap" ( #1809 )
...
* Revert "Debian jessie docs (#1806 )"
This reverts commit d78577c810
.
* Revert "[contrib/network-storage/glusterfs] adds service for glusterfs endpoint (#1800 )"
This reverts commit 5fb6b2eaf7
.
* Revert "[contrib/network-storage/glusterfs] bootstrap for glusterfs nodes (#1799 )"
This reverts commit 404caa111a
.
* Revert "Fixed kubelet standard log environment (#1780 )"
This reverts commit b838468500
.
* Revert "Add support for fedora atomic host (#1779 )"
This reverts commit f2235be1d3
.
* Revert "Update network-plugins to use portmap plugin (#1763 )"
This reverts commit 6ec45b10f1
.
* Revert "Update roadmap (#1795 )"
This reverts commit d9879d8026
.
2017-10-16 14:09:24 +01:00
d78577c810
Debian jessie docs ( #1806 )
...
* Add Debian Jessie notes
* Add installation notes for Debian Jessie
2017-10-16 09:02:12 +01:00
5fb6b2eaf7
[contrib/network-storage/glusterfs] adds service for glusterfs endpoint ( #1800 )
2017-10-16 08:48:29 +01:00
404caa111a
[contrib/network-storage/glusterfs] bootstrap for glusterfs nodes ( #1799 )
2017-10-16 08:23:38 +01:00
b838468500
Fixed kubelet standard log environment ( #1780 )
...
Change KUBE_LOGGING to KUBE_LOGTOSTDERR, when installing kubelet
as host type.
2017-10-16 08:22:54 +01:00
f2235be1d3
Add support for fedora atomic host ( #1779 )
...
* don't try to install this rpm on fedora atomic
* add docker 1.13.1 for fedora
* built-in docker unit file is sufficient, as tested on both fedora and centos atomic
2017-10-16 08:03:33 +01:00
6ec45b10f1
Update network-plugins to use portmap plugin ( #1763 )
...
Portmap allow to use hostPort with CNI plugins. Should fix #1675
2017-10-16 07:11:38 +01:00
d9879d8026
Update roadmap ( #1795 )
2017-10-16 07:06:06 +01:00
d487b2f927
Security best practice fixes ( #1783 )
...
* Disable basic and token auth by default
* Add recommended security params
* allow basic auth to fail in tests
* Enable TLS authentication for kubelet
2017-10-15 20:41:17 +01:00
66e5e14bac
Restart kubelet on update in deployment-type host on update ( #1759 )
...
* Restart kubelet on update in deployment-type host on update
* Update install_host.yml
* Update install_host.yml
* Update install_host.yml
2017-10-15 20:22:17 +01:00
7e4668859b
Change file used to check kubeadm upgrade method ( #1784 )
...
* Change file used to check kubeadm upgrade method
Test for ca.crt instead of admin.conf because admin.conf
is created during normal deployment.
* more fixes for upgrade
2017-10-15 10:33:22 +01:00
92d038062e
Fix node authorization for cloudprovider installs ( #1794 )
...
In 1.8, the Node authorization mode should be listed first to
allow kubelet to access secrets. This seems to only impact
environments with cloudprovider enabled.
2017-10-14 11:28:46 +01:00
2972bceb90
Changre raw execution to use yum module ( #1785 )
...
* Changre raw execution to use yum module
Changed raw exection to use yum module provided by Ansible.
* Replace ansible_ssh_* by ansible_*
Ansible 2.0 has deprecated the “ssh” from ansible_ssh_user, ansible_ssh_host, and ansible_ssh_port to become ansible_user, ansible_host, and ansible_port. If you are using a version of Ansible prior to 2.0, you should continue using the older style variables (ansible_ssh_*). These shorter variables are ignored, without warning, in older versions of Ansible.
I am not sure about the broader impact of this change. But I have seen on the requirements the version required is ansible>=2.4.0.
http://docs.ansible.com/ansible/latest/intro_inventory.html
2017-10-14 09:52:40 +01:00
cb0a60a0fe
calico v2.5.0 should use calico/routereflector:v0.4.0 ( #1792 )
2017-10-14 09:51:48 +01:00
3ee91e15ff
Use commas in no_proxy ( #1782 )
2017-10-13 15:43:10 +01:00
ef47a73382
Add new addon Istio ( #1744 )
...
* add istio addon
* add addons to a ci job
2017-10-13 15:42:54 +01:00
dc515e5ac5
Remove kernel-upgrade role ( #1798 )
...
This role only support Red Hat type distros and is not maintained
or used by many users. It should be removed because it creates
feature disparity between supported OSes and is not maintained.
2017-10-13 15:36:21 +01:00
56763d4288
Persist br_netfilter module loading ( #1760 )
2017-10-13 10:50:29 +01:00
ad9fa73301
Remove cert_managment var definition from k8s-cluster group vars ( #1790 )
2017-10-13 10:21:39 +01:00
10dd049912
Revert "Security fixes for etcd ( #1778 )" ( #1786 )
...
This reverts commit 4209f1cbfd
.
2017-10-12 14:02:51 +01:00
4209f1cbfd
Security fixes for etcd ( #1778 )
...
* Security fixes for etcd
* Use certs when querying etcd
2017-10-12 13:32:54 +01:00
ee83e874a8
Clear admin kubeconfig when rotating certs ( #1772 )
...
* Clear admin kubeconfig when rotating certs
* Update main.yml
2017-10-12 09:55:46 +01:00
27ed73e3e3
Rename dns_server, add var for selinux. ( #1572 )
...
* Rename dns_server to dnsmasq_dns_server so that it includes role prefix
as the var name is generic and conflicts when integrating with existing ansible automation.
* Enable selinux state to be configurable with new var preinstall_selinux_state
2017-10-11 20:40:21 +01:00
e41c0532e3
add possibility to disable fail with swap ( #1773 )
2017-10-11 19:49:31 +01:00
eeb7274d65
Adjust memory reservation for master nodes ( #1769 )
2017-10-11 19:47:42 +01:00
eb0dcf6063
Improve proxy ( #1771 )
...
* Set no_proxy to all local ips
* Use proxy settings on all necessary tasks
2017-10-11 19:47:27 +01:00
83be0735cd
Fix setting etcd client cert serial ( #1775 )
2017-10-11 19:47:11 +01:00
fe4ba51d1a
Set node IP correctly ( #1770 )
...
Fixes #1741
2017-10-11 15:28:42 +01:00
adf575b75e
Set default value for disable_shared_pid ( #1710 )
...
PID namespace sharing is disabled only in Kubernetes 1.7.
Explicitily enabling it by default could help reduce unexpected
results when upgrading to or downgrading from 1.7.
2017-10-11 14:55:51 +01:00
e5426f74a8
Merge pull request #1762 from manics/bindir-helm
...
Include bin_dir when patching helm tiller with kubectl
2017-10-10 10:40:47 -04:00
f5212d3b79
Merge pull request #1752 from pmontanari/patch-1
...
Force synchronize to use ssh_args so it works when using bastion
2017-10-10 10:40:01 -04:00
3d09c4be75
Merge pull request #1756 from kubernetes-incubator/fix_bool_assert
...
Fix bool check assert
2017-10-10 10:38:53 -04:00
f2db15873d
Merge pull request #1754 from ArchiFleKs/rkt-kubelet-fix
...
add hosts to rkt kubelet
2017-10-10 10:37:36 -04:00
7c663de6c9
add /etc/hosts volume to rkt templates
2017-10-09 16:41:51 +02:00
c14bbcdbf2
Include bin_dir when patching helm tiller with kubectl
2017-10-09 15:17:52 +01:00
1be4c1935a
Fix bool check assert
2017-10-06 17:02:38 +00:00
764b1aa5f8
Force synchronize to use ssh_args so it works when using bastion
...
In case ssh.config is set to use bastion, synchronize needs to use it too.
2017-10-06 00:21:54 +02:00
d13b07ba59
Merge pull request #1751 from bradbeam/calicoprometheus
...
Adding calico/node env vars for prometheus configuration
2017-10-05 17:29:12 -04:00
028afab908
Merge pull request #1750 from bradbeam/dnsmasq2
...
Followup fix for CVE-2017-14491
2017-10-05 17:28:28 -04:00
55dfae2a52
Followup fix for CVE-2017-14491
2017-10-05 11:31:04 -05:00
994324e19c
Update gce CI ( #1748 )
...
Use image family for picking latest coreos image
Update python deps
2017-10-05 16:52:28 +01:00
b81c0d869c
Adding calico/node env vars for prometheus configuration
2017-10-05 08:46:01 -05:00
f14f04c5ea
Upgrade to kubernetes v1.8.0 ( #1730 )
...
* Upgrade to kubernetes v1.8.0
hyperkube no longer contains rsync, so now use cp
* Enable node authorization mode
* change kube-proxy cert group name
2017-10-05 10:51:21 +01:00
9c86da1403
Normalize tags in all places to prepare for tag fixing in future ( #1739 )
2017-10-05 08:43:04 +01:00
cb611b5ed0
Merge pull request #1742 from mattymo/facts_as_vars
...
Move set_facts to kubespray-defaults defaults
2017-10-04 15:46:39 -04:00
891269ef39
Merge pull request #1743 from rsmitty/kube-client
...
Don't delegate cert gathering before creating admin.conf
2017-10-04 15:38:21 -04:00
ab171a1d6d
don't delegate cert slurp
2017-10-04 13:06:51 -04:00
a56738324a
Move set_facts to kubespray-defaults defaults
...
These facts can be generated in defaults with a performance
boost.
Also cleaned up duplicate etcd var names.
2017-10-04 14:02:47 +01:00
da61b8e7c9
Added workaround for vagrant 1.9 and centos vm box ( #1738 )
2017-10-03 11:32:19 +01:00
d6d58bc938
Fixed vagrant up with flannel network, removed old config values ( #1737 )
2017-10-03 11:16:13 +01:00
e42cb43ca5
add bootstrap for debian ( #1726 )
2017-10-03 08:30:45 +01:00
ca541c7e4a
Ensuring vault service is stopped in reset tasks ( #1736 )
2017-10-03 08:30:28 +01:00
96e14424f0
Adding kubedns update for CVE-2017-14491 ( #1735 )
2017-10-03 08:30:14 +01:00
47830896e8
Merge pull request #1733 from chapsuk/vagrant_mem
...
Increase vagrant vm's memory size
2017-10-02 15:45:37 -05:00
5fd4b4afae
Increase vagrant vm's memory size
2017-10-02 23:16:39 +03:00
dae9f6d3c2
Test if tokens are expired from host instead of inside container ( #1727 )
...
* Test if tokens are expired from host instead of inside container
* Update main.yml
2017-10-02 13:14:50 +01:00
8e1210f96e
Fix cluster-network w/ prefix > 25 not possible with CNI ( #1713 )
2017-10-01 10:43:00 +01:00
56aa683f28
Fix logic in idempotency tests in CI ( #1722 )
2017-10-01 10:42:33 +01:00
1b9a6d7ad8
Merge pull request #1672 from manics/bastion-proxycommand-newline
...
Insert a newline in bastion ssh config after ProxyCommand conditional
2017-09-29 11:37:47 -05:00
f591c4db56
Merge pull request #1720 from shiftky/improve_integration_doc
...
Improve playbook example of integration document
2017-09-29 11:34:44 -05:00
371fa51e82
Make installation of EPEL optional ( #1721 )
2017-09-29 13:44:29 +01:00
a927ed2da4
Improve playbook example of integration document
2017-09-29 18:00:01 +09:00
a55675acf8
Enable RBAC with kubeadm always ( #1711 )
2017-09-29 09:18:24 +01:00
25dd3d476a
Fix error for azure+calico assert ( #1717 )
...
Fixes #1716
2017-09-29 08:17:18 +01:00
3ff5f40bdb
fix graceful upgrade ( #1704 )
...
Fix system namespace creation
Only rotate tokens when necessary
2017-09-27 14:49:20 +01:00
689ded0413
Enable kubeadm upgrades to any version ( #1709 )
2017-09-27 14:48:18 +01:00
327ed157ef
Verify valid settings before deploy ( #1705 )
...
Also fix yaml lint issues
Fixes #1703
2017-09-27 14:47:47 +01:00
c819238da9
Adds support for separate etcd machines on terraform/openstack deployment ( #1674 )
2017-09-27 10:59:09 +01:00
477afa8711
when and run_once are reduplicative ( #1694 )
2017-09-26 14:48:05 +01:00
bd272e0b3c
Upgrade to kubeadm ( #1667 )
...
* Enable upgrade to kubeadm
* fix kubedns upgrade
* try upgrade route
* use init/upgrade strategy for kubeadm and ignore kubedns svc
* Use bin_dir for kubeadm
* delete more secrets
* fix waiting for terminating pods
* Manually enforce kube-proxy for kubeadm deploy
* remove proxy. update to kubeadm 1.8.0rc1
2017-09-26 10:38:58 +01:00
1067595b5c
Change used chars for kubeadm tokens ( #1701 )
2017-09-26 05:56:08 +01:00
14c232e3c4
Merge pull request #1663 from foxyriver/fix-shell
...
use command module instead of shell module
2017-09-25 13:24:45 -05:00
57f5fb1f4f
Merge pull request #1661 from neith00/master
...
upgrading from weave version 2.0.1 to 2.0.4
2017-09-25 13:23:57 -05:00
bcddfb786d
Merge pull request #1692 from mattymo/old-etcd-logic
...
drop unused etcd logic
2017-09-25 17:44:33 +02:00
20db1738fa
feature: install project atomic CSS on RedHat family ( #1499 )
...
* feature: install project atomic CSS on RedHat family
* missing patch for this feature
* sub-role refactor
* Yamllint fix
2017-09-25 12:29:17 +01:00
b23d81f825
Add etcd_blkio_weight var ( #1690 )
2017-09-25 12:20:24 +01:00
bc15ceaba1
Update var doc about users accounts ( #1685 )
2017-09-25 12:20:00 +01:00
6f17d0817b
Updating getting-started.md ( #1683 )
...
Signed-off-by: Junaid Ali <junaidali.yahya@gmail.com >
2017-09-25 12:19:38 +01:00
a1cde03b20
Correct master manifest cleanup logic ( #1693 )
...
Fixes #1666
2017-09-25 12:19:04 +01:00
cfce23950a
Merge pull request #1687 from jistr/cgroup-driver-kubeadm
...
Set correct kubelet cgroup-driver also for kubeadm deployments
2017-09-25 11:16:40 +02:00
64740249ab
Adds tags for asserts ( #1639 )
2017-09-25 08:41:03 +01:00
126f42de06
drop unused etcd logic
...
Fixes #1660
2017-09-25 07:52:55 +01:00
d94e3a81eb
Use api lookup for kubelet hostname when using cloudprovider ( #1686 )
...
The value cannot be determined properly via local facts, so
checking k8s api is the most reliable way to look up what hostname
is used when using a cloudprovider.
2017-09-24 09:22:15 +01:00
70d0235770
Set correct kubelet cgroup-driver also for kubeadm deployments
...
This follows pull request #1677 , adding the cgroup-driver
autodetection also for kubeadm way of deploying.
Info about this and the possibility to override is added to the docs.
2017-09-22 13:19:04 +02:00
30b5493fd6
use command module instead of shell module
2017-09-22 15:47:03 +08:00
4f6362515f
Merge pull request #1677 from jistr/cgroup-driver
...
Allow setting cgroup driver for kubelet
2017-09-21 17:31:48 +02:00
dbbe9419e5
Allow setting cgroup driver for kubelet
...
Red Hat family platforms run docker daemon with `--exec-opt
native.cgroupdriver=systemd`. When kubespray tried to start kubelet
service, it failed with:
Error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd"
Setting kubelet's cgroup driver to the correct value for the platform
fixes this issue. The code utilizes autodetection of docker's cgroup
driver, as different RPMs for the same distro may vary in that regard.
2017-09-21 11:58:11 +02:00
188bae142b
Fix wait for hosts in CI ( #1679 )
...
Also fix usage of failed_when and handling exit code.
2017-09-20 14:30:09 +01:00
7c2b12ebd7
Insert a newline in bastion after ProxyCommand conditional
2017-09-18 16:29:12 +01:00
ef8e35e39b
Create admin credential kubeconfig ( #1647 )
...
New files: /etc/kubernetes/admin.conf
/root/.kube/config
$GITDIR/artifacts/{kubectl,admin.conf}
Optional method to download kubectl and admin.conf if
kubeconfig_lcoalhost is set to true (default false)
2017-09-18 13:30:57 +01:00
975accbe1d
just use public_ip in creating gce temporary waitfor hosts ( #1646 )
...
* just use public_ip in creating gce temporary waitfor hosts
* Update create-gce.yml
2017-09-18 13:24:57 +01:00
aaa27d0a34
Adding quotes around parameters in cloud_config ( #1664 )
...
This is to help support escapes and special characters
2017-09-16 08:43:47 +01:00
9302ce0036
Enhanced OpenStack cloud provider ( #1627 )
...
- Enable Cinder API version for block storage
- Enable floating IP for LBaaS
2017-09-16 08:43:24 +01:00
0aab3c97a0
Add all-in-one CI mode and make coreos test aio ( #1665 )
2017-09-15 22:28:37 +01:00
8e731337ba
Enable HA deploy of kubeadm ( #1658 )
...
* Enable HA deploy of kubeadm
* raise delay to 60s for starting gce hosts
2017-09-15 22:28:15 +01:00
b294db5aed
fix apply for netchecker upgrade ( #1659 )
...
* fix apply for netchecker upgrade and graceful upgrade
* Speed up daemonset upgrades. Make check wait for ds upgrades.
2017-09-15 13:19:37 +01:00
8d766a2ca9
Enable ssh opts by in config, set 100 connection retries ( #1662 )
...
Also update to ansible 2.3.2
2017-09-15 10:19:36 +01:00
f2ae16e71d
Merge pull request #1651 from bradbeam/vaultnocontent
...
Fixing condition where vault CA already exists
2017-09-14 17:04:15 -05:00
ac281476c8
Prune unnecessary certs from vault setup ( #1652 )
...
* Cleaning up cert checks for vault
* Removing all unnecessary etcd certs from each node
* Removing all unnecessary kube certs from each node
2017-09-14 12:28:11 +01:00
1b1c8d31a9
upgrading from weave version 2.0.1 to 2.0.4
...
This upgrade has been testing offline on a 1.7.5 cluster
2017-09-14 10:29:28 +02:00
4b587aaf99
Adding ability to specify altnames for vault cert ( #1640 )
2017-09-14 07:19:44 +01:00
016301508e
Update to Kubernetes v1.7.5 ( #1649 )
2017-09-14 07:18:03 +01:00
6744726089
kubeadm support ( #1631 )
...
* kubeadm support
* move k8s master to a subtask
* disable k8s secrets when using kubeadm
* fix etcd cert serial var
* move simple auth users to master role
* make a kubeadm-specific env file for kubelet
* add non-ha CI job
* change ci boolean vars to json format
* fixup
* Update create-gce.yml
* Update create-gce.yml
* Update create-gce.yml
2017-09-13 19:00:51 +01:00
0a89f88b89
Fixing condition where CA already exists
2017-09-13 03:40:46 +00:00
69fac8ea58
Merge pull request #1634 from bradbeam/calico_cni
...
fix for calico cni plugin node name
2017-09-11 22:18:06 -05:00
a51104e844
Merge pull request #1648 from kubernetes-incubator/mattymo-patch-1
...
Update getting-started.md
2017-09-11 17:55:51 -05:00
943aaf84e5
Update getting-started.md
2017-09-11 12:47:04 +03:00
e8bde03a50
Setting kubectl bin directory ( #1635 )
2017-09-09 23:54:13 +03:00
75b13caf0b
Fix kube-apiserver status checks when changing insecure bind addr ( #1633 )
2017-09-09 23:41:48 +03:00
0f231f0e76
Improve method to create and wait for gce instances ( #1645 )
2017-09-09 23:41:31 +03:00
5d99fa0940
Purge old upgrade hooks and unused tasks ( #1641 )
2017-09-09 23:41:20 +03:00
649388188b
Fix netchecker update side effect ( #1644 )
...
* Fix netchecker update side effect
kubectl apply should only be used on resources created
with kubectl apply. To workaround this, we should apply
the old manifest before upgrading it.
* Update 030_check-network.yml
2017-09-09 23:38:38 +03:00
9fa1873a65
Add kube dashboard, enabled by default ( #1643 )
...
* Add kube dashboard, enabled by default
Also add rbac role for kube user
* Update main.yml
2017-09-09 23:38:03 +03:00
f2057dd43d
Refactor downloads ( #1642 )
...
* Refactor downloads
Add prefixes to tasks (file vs container)
Remove some delegates
Clean up some conditions
* Update ansible.cfg
2017-09-09 23:32:12 +03:00
eeffbbb43c
Updating calicocni.hostname to calicocni.nodename
2017-09-08 12:47:40 +00:00
aaa0105f75
Flexing calicocni.hostname based on cloud provider
2017-09-08 12:47:40 +00:00
f29a42721f
Clean up debug in check apiserver test ( #1638 )
...
* Clean up debug in check apiserver test
* Change password generation for kube_user
Special characters are not allowed in known_users.csv file
2017-09-08 15:47:13 +03:00
079d317ade
Default is_atomic to false ( #1637 )
2017-09-08 15:00:57 +03:00
6f1fd12265
Revert "Add option for fact cache expiry" ( #1636 )
...
* Revert "Add option for fact cache expiry (#1602 )"
This reverts commit fb30f65951
.
2017-09-08 10:19:58 +03:00
e16b57aa05
Store vault users passwords to credentials dir. Create vault and etcd roles after start vault cluster ( #1632 )
2017-09-07 23:30:16 +03:00
fb30f65951
Add option for fact cache expiry ( #1602 )
...
* Add option for fact cache expiry
By adding the `fact_caching_timeout` we avoid having really stale/invalid data ending up in there.
Leaving commented out by default, for backwards compatibility, but nice to have there.
* Enabled cache-expiry by default
Set to 2 hours and modified comment to reflect change
2017-09-07 23:29:27 +03:00
a47aaae078
Add bastion host definitions ( #1621 )
...
* Add comment line and documentation for bastion host usage
* Take out unneeded sudo parm
* Remove blank lines
* revert changes
* take out disabling of strict host checking
2017-09-07 23:26:52 +03:00
7117614ee5
Use a generated password for kube user ( #1624 )
...
Removed unnecessary root user
2017-09-06 20:20:25 +03:00
e26aec96b0
Consolidate kube-proxy module and sysctl loading ( #1586 )
...
This sets br_netfilter and net.bridge.bridge-nf-call-iptables sysctl from a single play before kube-proxy is first ran instead of from the flannel and weave network_plugin roles after kube-proxy is started
2017-09-06 15:11:51 +03:00
c60d104056
Update checksums (etcd calico calico-cni weave) to fix uploads.yml ( #1584 )
...
the uploads.yml playbook was broken with checksum mismatch errors in
various kubespray commits, for example, 3bfad5ca73
which updated the version from 3.0.6 to 3.0.17 without updating the
corresponding checksums.
2017-09-06 15:11:13 +03:00
e6ff8c92a0
Using 'hostnamectl' to set unconfigured hostname on CoreOS ( #1600 )
2017-09-06 15:10:52 +03:00
9bce364b3c
Update auth enabled methods in group_vars example ( #1625 )
2017-09-06 15:10:18 +03:00
cbaa2b5773
Retry Remove all Docker containers in reset ( #1623 )
...
Due to various occasional docker bugs, removing a container will sometimes fail. This can often be mitigated by trying again.
2017-09-06 14:23:16 +03:00
0453ed8235
Fix an error with Canal when RBAC are disabled ( #1619 )
...
* Fix an error with Canal when RBAC are disabled
* Update using same rbac strategy used elsewhere
2017-09-06 11:32:32 +03:00
a341adb7f3
Updating CN for node certs generated by vault ( #1622 )
...
This allows the node authorization plugin to function correctly
2017-09-06 10:55:08 +03:00
4c88ac69f2
Use kubectl apply instead of create/replace ( #1610 )
...
Disable checks for existing resources to speed up execution.
2017-09-06 09:36:54 +03:00
85c237bc1d
Merge pull request #1607 from chapsuk/vault_roles
...
Vault role updates
2017-09-05 11:48:41 -05:00
35d48cc88c
Point apiserver address to 0.0.0.0 ( #1617 )
...
* Point apiserver address to 0.0.0.0
Added loadbalancer api server address
* Update documentation
2017-09-05 18:41:47 +03:00
957b7115fe
Remove node name from kube-proxy and admin certificates
2017-09-05 14:40:26 +03:00
82eedbd622
Update ansible inventory file when template changes ( #1612 )
...
This trigger ensures the inventory file is kept up-to-date. Otherwise, if the file exists and you've made changes to your terraform-managed infra without having deleted the file, it would never get updated.
For example, consider the case where you've destroyed and re-applied the terraform resources, none of the IPs would get updated, so ansible would be trying to connect to the old ones.
2017-09-05 14:10:53 +03:00
b930b0ef5a
Place vault role credentials only to vault group hosts
2017-09-05 11:16:18 +03:00
ad313c9d49
typo fix
2017-09-05 09:07:36 +03:00
06035c0f4e
Change vault CI CLOUD_MACHINE_TYPE to n1-standard-2
2017-09-05 09:07:36 +03:00
e1384f6618
Using issue cert result var instead hostvars
2017-09-05 09:07:36 +03:00
3acb86805b
Rename vault_address to vault_bind_address
2017-09-05 09:07:35 +03:00
bf0af1cd3d
Vault role updates:
...
* using separated vault roles for generate certs with different `O` (Organization) subject field;
* configure vault roles for issuing certificates with different `CN` (Common name) subject field;
* set `CN` and `O` to `kubernetes` and `etcd` certificates;
* vault/defaults vars definition was simplified;
* vault dirs variables defined in kubernetes-defaults foles for using
shared tasks in etcd and kubernetes/secrets roles;
* upgrade vault to 0.8.1;
* generate random vault user password for each role by default;
* fix `serial` file name for vault certs;
* move vault auth request to issue_cert tasks;
* enable `RBAC` in vault CI;
2017-09-05 09:07:35 +03:00
c77d11f1c7
Bugfix ( #1616 )
...
lost executable path
2017-09-05 08:35:14 +03:00
d279d145d5
Fix non-rbac deployment of resources as a list ( #1613 )
...
* Use kubectl apply instead of create/replace
Disable checks for existing resources to speed up execution.
* Fix non-rbac deployment of resources as a list
* Fix autoscaler tolerations field
* set all kube resources to state=latest
* Update netchecker and weave
2017-09-05 08:23:12 +03:00
fc7905653e
Add socat for CoreOS when using host deploy kubelet ( #1575 )
2017-09-04 11:30:18 +03:00
660282e82f
Make daemonsets upgradeable ( #1606 )
...
Canal will be covered by a separate PR
2017-09-04 11:30:01 +03:00
77602dbb93
Move calico to daemonset ( #1605 )
...
* Drop legacy calico logic
* add calico as a daemonset
2017-09-04 11:29:51 +03:00
a3e6896a43
Add RBAC support for canal ( #1604 )
...
Refactored how rbac_enabled is set
Added RBAC to ubuntu-canal-ha CI job
Added rbac for calico policy controller
2017-09-04 11:29:40 +03:00
702ce446df
Apply ClusterRoleBinding to dnsmaq when rbac_enabled ( #1592 )
...
* Add RBAC policies to dnsmasq
* fix merge conflict
* yamllint
* use .j2 extension for dnsmasq autoscaler
2017-09-03 10:53:45 +03:00
8ae77e955e
Adding in certificate serial numbers to manifests ( #1392 )
2017-09-01 09:02:23 +03:00
783924e671
Change backup handler to only run v2 data backup if snap directory exists ( #1594 )
2017-08-31 18:23:24 +03:00
93304e5f58
Fix calico leaving service behind. ( #1599 )
2017-08-31 12:00:05 +03:00
917373ee55
Merge pull request #1595 from bradbeam/cacerts
...
Fixing CA certificate locations for k8s components
2017-08-30 21:31:19 -05:00
7a98ad50b4
Fixing CA certificate locations for k8s components
2017-08-30 15:30:40 -05:00
982058cc19
Merge pull request #1514 from vijaykatam/docker_systemd
...
Configurable docker yum repos, systemd fix
2017-08-30 11:50:23 -05:00
576beaa6a6
Include /opt/bin in PATH for host deployed kubelet on CoreOS ( #1591 )
...
* Include /opt/bin in PATH for host deployed kubelet on CoreOS
* Removing conditional check for CoreOS
2017-08-30 16:50:33 +03:00
6eb22c5db2
Change single Vault pki mount to multi pki mounts paths for etcd and kube CA`s ( #1552 )
...
* Added update CA trust step for etcd and kube/secrets roles
* Added load_balancer_domain_name to certificate alt names if defined. Reset CA's in RedHat os.
* Rename kube-cluster-ca.crt to vault-ca.crt, we need separated CA`s for vault, etcd and kube.
* Vault role refactoring, remove optional cert vault auth because not not used and worked. Create separate CA`s fro vault and etcd.
* Fixed different certificates set for vault cert_managment
* Update doc/vault.md
* Fixed condition create vault CA, wrong group
* Fixed missing etcd_cert_path mount for rkt deployment type. Distribute vault roles for all vault hosts
* Removed wrong when condition in create etcd role vault tasks.
2017-08-30 16:03:22 +03:00
72a0d78b3c
Merge pull request #1585 from mattymo/canal_upgrade
...
Fix upgrade for canal and apiserver cert
2017-08-29 18:45:21 -05:00
13d08af054
Fix upgrade for canal and apiserver cert
...
Fixes #1573
2017-08-29 22:08:30 +01:00
80a7ae9845
Merge pull request #1581 from 2ffs2nns/update-calico-version
...
update calico version
2017-08-29 07:48:44 -05:00
6c30a7b2eb
update calico version
...
update calico releases link
2017-08-28 16:23:51 -07:00
76b72338da
Add CNI config for rkt kubelet ( #1579 )
2017-08-28 21:11:01 +03:00
a39e78d42d
Initial version of Flannel using CNI ( #1486 )
...
* Updates Controller Manager/Kubelet with Flannel's required configuration for CNI
* Removes old Flannel installation
* Install CNI enabled Flannel DaemonSet/ConfigMap/CNI bins and config (with portmap plugin) on host
* Uses RBAC if enabled
* Fixed an issue that could occur if br_netfilter is not a module and net.bridge.bridge-nf-call-iptables sysctl was not set
2017-08-25 10:07:50 +03:00
4550dccb84
Fixing reference to vault leader url ( #1569 )
2017-08-24 23:21:39 +03:00
01ce09f343
Add feature_gates var for customizing Kubernetes feature gates ( #1520 )
2017-08-24 23:18:38 +03:00
71dca67ca2
Merge pull request #1508 from tmjd/update-calico-2-4-0
...
Update Calico to 2.4.1 release.
2017-08-24 14:57:29 -05:00
327f9baccf
Update supported component versions in README.md ( #1555 )
2017-08-24 21:36:53 +03:00
a98b866a66
Verify if br_netfilter module exists ( #1492 )
2017-08-24 17:47:32 +03:00
3aabba7535
Remove discontinued option --reconcile-cidr if kube_network_plugin=="cloud" ( #1568 )
2017-08-24 17:01:30 +03:00
c22cfa255b
Added private key file to ssh bastion conf ( #1563 )
...
* Added private key file to ssh bastion conf
* Used regular if condition insted of inline conditional
2017-08-24 17:00:45 +03:00
af211b3d71
Merge pull request #1567 from mattymo/tolerations
...
Enable scheduling of critical pods and network plugins on master
2017-08-24 08:40:41 -05:00
6bb3463e7c
Enable scheduling of critical pods and network plugins on master
...
Added toleration to DNS, netchecker, fluentd, canal, and
calico policy.
Also small fixes to make yamllint pass.
2017-08-24 10:41:17 +01:00
8b151d12b9
Adding yamllinter to ci steps ( #1556 )
...
* Adding yaml linter to ci check
* Minor linting fixes from yamllint
* Changing CI to install python pkgs from requirements.txt
- adding in a secondary requirements.txt for tests
- moving yamllint to tests requirements
2017-08-24 12:09:52 +03:00
ecb6dc3679
Register standalone master w/ taints ( #1426 )
...
If Kubernetes > 1.6 register standalone master nodes w/ a
node-role.kubernetes.io/master=:NoSchedule taint to allow
for more flexible scheduling rather than just marking unschedulable.
2017-08-23 16:44:11 +03:00
49a223a17d
Update elrepo-release rpm version ( #1554 )
2017-08-23 09:54:51 +03:00
e5cfdc648c
Adding ability to override max ttl ( #1559 )
...
Prior this would fail because we didnt set max ttl for vault temp
2017-08-23 09:54:01 +03:00
9f9f70aade
Update Calico to 2.4.1 release.
...
- Switched Calico images to be pulled from quay.io
- Updated Canal too
2017-08-21 09:33:12 -05:00
e91c04f586
Merge pull request #1553 from mattymo/kubelet-deployment-doc
...
Add node to docs about kubelet deployment type changes
2017-08-21 11:42:23 +02:00
277fa6c12d
Add node to docs about kubelet deployment type changes
2017-08-21 09:13:59 +01:00
ca3050ec3d
Update to Kubernetes v1.7.3 ( #1549 )
...
Change kubelet deploy mode to host
Enable cri and qos per cgroup for kubelet
Update CoreOS images
Add upgrade hook for switching from kubelet deployment from docker to host.
Bump machine type for ubuntu-rkt-sep
2017-08-21 10:53:49 +03:00
1b3ced152b
Merge pull request #1544 from bogdando/rpm_spec
...
[WIP] Support pbr builds and prepare for RPM packaging as the ansible-kubespray artifact
2017-08-21 09:13:59 +02:00
97031f9133
Make epel-release install configurable ( #1497 )
2017-08-20 14:03:10 +03:00
c92506e2e7
Add calico variable that enables ignoring Kernel's RPF Setting ( #1493 )
2017-08-20 14:01:09 +03:00
65a9772adf
Add OpenStack LBaaS support ( #1506 )
2017-08-20 13:59:15 +03:00
1e07ee6cc4
etcd_compaction_retention every 8 hour ( #1527 )
2017-08-20 13:55:48 +03:00
01a130273f
fix issues with if condition ( #1537 )
2017-08-20 13:55:13 +03:00
3c710219a1
Fix Some Typos in kubernetes master role ( #1547 )
...
* Fix Typo etc3 -> etcd3
* Fix typo in post-upgrade of master. stop -> start
2017-08-20 13:54:28 +03:00
2ba285a544
Fixed deploy cluster with vault cert manager ( #1548 )
...
* Added custom ips to etcd vault distributed certificates
* Added custom ips to kube-master vault distributed certificates
* Added comment about issue_cert_copy_ca var in vault/issue_cert role file
* Generate kube-proxy, controller-manager and scheduler certificates by vault
* Revert "Disable vault from CI (#1546 )"
This reverts commit 781f31d2b8
.
* Fixed upgrade cluster with vault cert manager
* Remove vault dir in reset playbook
2017-08-20 13:53:58 +03:00
72ae7638bc
Merge pull request #1446 from matlockx/master
...
add possibility to ignore the hostname override
2017-08-18 17:03:40 +02:00
3bfad5ca73
Bump etcd to 3.2.4 ( #1468 )
2017-08-18 17:12:33 +03:00
668d02846d
Align pbr config data with the spec file
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 16:04:48 +02:00
781f31d2b8
Disable vault from CI ( #1546 )
...
https://github.com/kubernetes-incubator/kubespray/issues/1545
2017-08-18 16:45:27 +03:00
df28db0066
Fix cert and netchecker upgrade issues ( #1543 )
...
* Bump tag for upgrade CI, fix netchecker upgrade
netchecker-server was changed from pod to deployment, so
we need an upgrade hook for it.
CI now uses v2.1.1 as a basis for upgrade.
* Fix upgrades for certs from non-rbac to rbac
2017-08-18 15:46:22 +03:00
20183f3860
Bump Calico CNI Plugin to 1.8.0 ( #1458 )
...
This aligns calico component versions with Calico release 2.1.5 and
fixes an issue with nodes being unable to schedule existing workloads
as per [#349 ](https://github.com/projectcalico/cni-plugin/issues/349 )
2017-08-18 15:40:14 +03:00
48edf1757b
Adjust the rpm spec data
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 14:09:55 +02:00
2645e88b0c
Fix vault setup partially ( #1531 )
...
This does not address per-node certs and scheduler/proxy/controller-manager
component certs which are now required. This should be handled in a
follow-up patch.
2017-08-18 15:09:45 +03:00
db121049b3
Move the spec file
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 13:59:27 +02:00
8058cdbc0e
Add pbr build configuration
...
Required for an RPM package builds with the contrib/ansible-kubespray.spec
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 12:56:01 +02:00
31d357284a
Update gitignore to prepare for a package build
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 11:58:07 +02:00
4ee77ce026
Add an RPM spec file and customize ansible roles_path
...
Install roles under /usr/local/share/kubespray/roles,
playbooks - /usr/local/share/kubespray/playbooks/,
ansible.cfg and inventory group vars - into /etc/kubespray.
Ship README and an example inventory as the package docs.
Update the ansible.cfg to consume the roles from the given path,
including virtualenvs prefix, if defined.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-08-18 11:54:20 +02:00
8373129588
Support CentOS 7 through Vagrant ( #1542 )
2017-08-18 09:16:47 +03:00
9a3c6f236d
Update Community Code of Conduct ( #1530 )
...
Update Community Code of Conduct from kubernetes/kubernetes-template-project
2017-08-15 16:24:20 +03:00
55ba81fee5
Add changed_when: false to rpm query
2017-08-14 12:31:44 -07:00
bc5159a1f5
Update comparisons.md ( #1519 )
...
Minor grammar fixes
2017-08-14 18:48:35 +03:00
af007c7189
Fixing netchecker-server type - pod => deployment ( #1509 )
2017-08-14 18:43:56 +03:00
dc79d07303
Fix Typo in Events Code of Conduct ( #1521 )
2017-08-13 22:49:24 +03:00
79167c7577
Merge pull request #1461 from Abdelsalam-Abbas/azure_cli_2
...
Update azure contrib to use azure cli 2.0
2017-08-11 13:56:41 -05:00
08dd057864
Merge pull request #1517 from seungkyua/apply_efk_rabc_and_fluentd_configmap
...
Apply RBAC to efk and create fluentd.conf
2017-08-11 13:33:35 -05:00
fee3f288c0
update azure contrib to use azure cli 2.0
2017-08-11 20:13:02 +02:00
b22bef5cfb
Apply RBAC to efk and create fluentd.conf
...
Making fluentd.conf as configmap to change configuration.
Change elasticsearch rc to deployment.
Having installed previous elastaicsearch as rc, first should delete that.
2017-08-11 05:31:50 +00:00
7ad5523113
restrict rpm query to redhat
2017-08-10 13:49:14 -07:00
460b5824c3
Merge pull request #1448 from lancomsystems/log-rotataion-example
...
Add logging options to default docker options
2017-08-10 08:30:23 -05:00
b0a28b1e80
Merge pull request #1462 from Abdelsalam-Abbas/azure_vars
...
Add more variables for more clarity
2017-08-10 08:29:09 -05:00
ca6535f210
Merge pull request #1488 from timtoum/weave_docs
...
added Weave documentation
2017-08-10 08:26:19 -05:00
1155008719
Merge pull request #1481 from magnon-bliex/fluentd-template-fix-typo
...
fixed typo in fluentd-ds.yml.j2
2017-08-10 08:19:59 -05:00
d07594ed59
Merge pull request #1512 from samuelmanzer/master
...
Add to network plugins documentation - README.md
2017-08-10 08:13:29 -05:00
5efda3eda9
Configurable docker yum repos, systemd fix
...
* Make yum repos used for installing docker rpms configurable
* TasksMax is only supported in systemd version >= 226
* Change to systemd file should restart docker
2017-08-09 15:49:53 -07:00
4b137efdbd
Add to network plugins documentation - README.md
2017-08-09 14:28:33 -05:00
383d582b47
Merge pull request #1382 from jwfang/rbac
...
basic rbac support
2017-08-07 08:01:51 -05:00
6eacedc443
Merge pull request #1483 from delfer/patch-3
...
Update flannel from 0.6.2 to 0.8.0
2017-08-01 13:57:43 -04:00
b1a5bb593c
update docs
2017-08-01 15:55:38 +02:00
9369c6549a
update docs
2017-08-01 14:30:12 +02:00
c7731a3b93
update docs
2017-08-01 14:24:19 +02:00
24706c163a
update docs
2017-08-01 14:12:21 +02:00
a276dc47e0
update docs
2017-08-01 10:52:21 +02:00
e55f8a61cd
Merge pull request #1482 from bradbeam/fix1393
...
Removing run_once in these tasks so that etcd ca certs get propogated…
2017-07-31 13:47:18 -04:00
c8bcca0845
update docs
2017-07-31 16:33:00 +02:00
cb6892d2ed
Merge pull request #1469 from hzamani/etcd_metrics
...
Add etcd metrics flag
2017-07-31 09:04:07 -04:00
43eda8d878
Merge pull request #1471 from whereismyjetpack/fix_1447
...
add newline after expanding user information
2017-07-31 09:03:04 -04:00
a2534e03bd
Merge pull request #1442 from Sispheor/fix_kublet_options
...
Fix enforce-node-allocatable option
2017-07-31 09:00:42 -04:00
dc5b955930
update docs
2017-07-31 13:45:43 +02:00
5de7896ffb
update docs
2017-07-31 13:28:47 +02:00
01af45d14a
update docs
2017-07-31 13:23:01 +02:00
cc9f3ea938
Fix enforce-node-allocatable option
...
Closes #1228
pods is default enforcement
see https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/
add
update
2017-07-31 10:06:53 +02:00
ff43de695e
Update flannel from v0.6.2 to v0.8.0 in Readme
2017-07-29 08:00:05 +00:00
8bc717a55c
Update flannel from 0.6.2 to 0.8.0
2017-07-29 10:54:31 +03:00
d09222c900
Removing run_once in these tasks so that etcd ca certs get propogated properly to worker nodes
...
without this etcd ca certs dont exist on worker nodes causing calico to fail
2017-07-28 14:34:47 -05:00
87cdb81fae
update docs
2017-07-28 11:33:13 +02:00
38eb1d548a
fixed typo
2017-07-28 14:10:13 +09:00
e0960f6288
FIX: Unneded (extra) cycles in some tasks ( #1393 )
2017-07-27 20:46:21 +03:00
74403f2003
update docs
2017-07-27 17:00:54 +02:00
b2c83714d1
Merge pull request #1478 from delfer/patch-2
...
[terraform/openstack] fixed mistake in README.md
2017-07-27 10:50:26 -04:00
2c21672de6
update docs
2017-07-27 15:10:08 +02:00
f7dc21773d
new doc for weave
2017-07-27 14:40:52 +02:00
3e457e4edf
Enable weave seed mode for kubespray ( #1414 )
...
* Enable weave seed mode for kubespray
* fix task Weave seed | Set peers if existing peers
* fix mac address variabilisation
* fix default values
* fix include seed condition
* change weave var to default values
* fix Set peers if existing peers
2017-07-26 19:09:34 +03:00
03572d175f
[terraform/openstack] fixed mistake in README.md
2017-07-26 17:42:44 +03:00
c4894d6092
add newline after expanding user information
2017-07-25 12:59:10 -04:00
3fb0383df4
Add etcd metrics flag
2017-07-25 20:00:30 +04:30
ee36763f9d
Merge pull request #1464 from johnko/patch-4
...
set loadbalancer_apiserver_localhost default true
2017-07-25 10:00:56 -04:00
955c5549ae
Merge pull request #1402 from Lendico/fix_failed_when
...
"failed_when: false" and "|succeeded" checks for registered vars
2017-07-25 09:33:43 -04:00
4a34514b21
Merge pull request #1447 from whereismyjetpack/template_known_users
...
Template out known_users.csv, optionally add groups
2017-07-25 08:55:08 -04:00
805d9f22ce
note upgrade from non-RBAC not supported
2017-07-24 19:11:41 +08:00
20f29327e9
Merge pull request #1379 from gdmello/etcd_data_dir_fix
...
Custom `etcd_data_dir` saves etcd data to host, not container
2017-07-20 09:30:18 -05:00
018b5039e7
set loadbalancer_apiserver_localhost default true
...
to match this https://github.com/kubernetes-incubator/kubespray/blob/master/roles/kubernetes/node/tasks/main.yml#L20
and the documented behaviour in HA docs
related to #1456
@rsmitty
2017-07-20 10:27:05 -04:00
d6aeb767a0
Add more azure variables for more clarity
2017-07-20 15:29:27 +02:00
b5d3d4741f
Merge pull request #1454 from Abdelsalam-Abbas/higher_drain_timeout
...
higher the timeouts for draining nodes while upgrading kubernetes version
2017-07-19 10:39:33 -04:00
85c747d444
Merge pull request #1441 from bradbeam/1434
...
Adding recursive=true for rkt kubelet dir
2017-07-19 10:38:06 -04:00
927e6d89d7
Merge pull request #1435 from delfer/master
...
Kubernetes upgrade to 1.6.7
2017-07-19 05:23:38 -07:00
3d87f23bf5
uncomment unintended local changes
2017-07-19 12:11:47 +08:00
45845d4a2a
Merge pull request #1437 from rajiteh/fix_aws_docs
...
Add more instructions to setting up AWS provider
2017-07-18 16:43:01 -05:00
00ef129b2a
Merge pull request #1455 from johnko/patch-2
...
fix some typos in HA doc
2017-07-18 16:12:58 -05:00
06b219217b
fix some typos in HA doc
2017-07-18 10:44:08 -04:00
789910d8eb
remote unused netchecker-agent-hostnet-ds.j2
2017-07-17 19:29:59 +08:00
a8e6a0763d
run netchecker-server with list pods
2017-07-17 19:29:59 +08:00
e1386ba604
only patch system:kube-dns role for old dns
2017-07-17 19:29:59 +08:00
83deecb9e9
Revert "no need to patch system:kube-dns"
...
This reverts commit c2ea8c588aa5c3879f402811d3599a7bb3ccab24.
2017-07-17 19:29:59 +08:00
d8dcb8f6e0
no need to patch system:kube-dns
2017-07-17 19:29:59 +08:00
5fa31eaead
add '-e "${AUTHORIZATION_MODES}"' for all cluster.yml
2017-07-17 19:29:59 +08:00
d245201614
test: change ubuntu_calico_rbac to ubuntu_flannel_rbac
2017-07-17 19:29:59 +08:00
a5b84a47b0
docs: experimental, no calico/vault
2017-07-17 19:29:59 +08:00
552b2f0635
change authorization_modes default value
2017-07-17 19:29:59 +08:00
0b3badf3d8
revert calico-related changes
2017-07-17 19:29:59 +08:00
cea3e224aa
change authorization_modes default value
2017-07-17 19:29:59 +08:00
1eaf0e1c63
rename task
2017-07-17 19:29:59 +08:00
2cda982345
binding group system:nodes to clusterrole calico-role
2017-07-17 19:29:59 +08:00
c9734b6d7b
run calico-policy-controller with proper sa/role/rolebinding
2017-07-17 19:29:59 +08:00
fd01377f12
remove more bins when reset
2017-07-17 19:29:59 +08:00
8d2fc88336
add ci test for rbac
2017-07-17 19:29:59 +08:00
092bf07cbf
basic rbac support
2017-07-17 19:29:59 +08:00
5145a8e8be
higher draining timeouts
2017-07-16 20:52:13 +00:00
b495d36fa5
Merge pull request #1450 from johnko/patch-1
...
fix typo 'on' > 'one'
2017-07-14 23:00:19 +03:00
3bdeaa4a6f
fix typo 'on' > 'one'
2017-07-14 15:25:09 -04:00
d1f58fed4c
Template out known_users.csv, optionally add groups
2017-07-14 09:27:20 -04:00
12e918bd31
add possibility to ignore the hostname override
2017-07-13 14:04:39 +00:00
637f445c3f
Merge pull request #1365 from AtzeDeVries/master
...
Give more control over IPIP, but with same default behaviour
2017-07-12 10:17:17 -05:00
d0e4cf5895
Merge pull request #1438 from gstorme/etcd_retention
...
add configurable parameter for etcd_auto_compaction_retention
2017-07-12 09:53:15 -05:00
e0bf8b2aab
Adding recursive=true for rkt kubelet dir
...
Fixes #1434
2017-07-12 09:28:54 -05:00
483c06b4ab
Merge pull request #1440 from Sispheor/vsphere_doc
...
add vsphere cloud provider doc
2017-07-12 12:05:26 +03:00
f4a3b31415
add vsphere cloud provider doc
...
fix typo
2017-07-12 11:01:06 +02:00
5c7e309d13
Add more instructions to setting up AWS provider
2017-07-11 10:53:19 -04:00
7a72b2d558
Merge pull request #1418 from Abdelsalam-Abbas/fix_vagrantfile
...
make sure every instance is a node if user changed defaults
2017-07-11 08:56:31 -04:00
c75b21a510
Merge pull request #1408 from amitkumarj441/patch-1
...
Remove deprecated 'enable-cri' flag in kubernetes 1.7
2017-07-11 08:56:14 -04:00
a9f318d523
Merge pull request #1424 from Abdelsalam-Abbas/fix_azure_https_ports
...
fix azure kubernetes port to 6443
2017-07-11 08:55:30 -04:00
1dca0bd8d7
Merge pull request #1428 from delfer/patch-1
...
[terraform/openstack] README.md Guide expanded
2017-07-11 08:53:33 -04:00
f3165a716a
Add more config to README.md
...
Add resolvconf_mode and cloud_provider config description to README.md
2017-07-11 12:46:19 +03:00
9f45eba6f6
Kubernetes upgrade to 1.6.7
2017-07-11 09:11:55 +00:00
ecaa7dad49
add a variable for kube_apiserver at all
2017-07-10 20:16:02 +02:00
ee84e34570
Merge pull request #1420 from rsmitty/default-matching
...
match kubespray-defaults dns mode with k8s-cluster setting
2017-07-10 12:35:31 -04:00
442be2ac02
[terraform/openstack] README.md Guide expanded
...
Add section how to configure k8s cluster and set up kubectl
2017-07-10 18:53:57 +03:00
22d600e8c0
fix azure kubernetes port to 6443
2017-07-09 09:56:32 +02:00
e160018826
Fixed conflicts, ipip:true as defualt and added ipip_mode
2017-07-08 14:36:44 +02:00
d1a02bd3e9
match kubespray-defaults dns mode with k8s-cluster setting
2017-07-07 13:13:12 -04:00
380fb986b6
Add logging options to default docker options
2017-07-07 12:39:42 +02:00
e7f794531e
make sure every instance is a node if user changed defauls of num_instances
2017-07-07 09:20:14 +02:00
992023288f
Merge pull request #1319 from fieryvova/private-dns-server
...
Add private dns server for a specific zone
2017-07-06 15:02:54 -05:00
ef5a36dd69
Merge pull request #1281 from y-taka-23/patch-01
...
Typo
2017-07-06 14:11:12 -04:00
3ab90db6ee
Merge pull request #1411 from kevinjqiu/allow-calico-ipip-subnet-mode
...
Allow calico ipPool to be created with mode "cross-subnet"
2017-07-06 14:04:03 -04:00
e26be9cb8a
add private dns server for a specific zone
2017-07-06 16:30:47 +03:00
bba555bb08
Merge pull request #1346 from Starefossen/patch-1
...
Set kubedns minimum replicas to 2
2017-07-06 09:14:11 -04:00
4b0af73dd2
Merge pull request #1332 from gstorme/kube_apiserver_insecure_port
...
Use the kube_apiserver_insecure_port variable instead of static 8080
2017-07-06 09:06:50 -04:00
da72b8c385
Merge pull request #1391 from Abdelsalam-Abbas/master
...
Uncodron Masters which have scheduling Enabled
2017-07-06 09:06:02 -04:00
44079b7176
Merge pull request #1401 from Lendico/better_task_naming
...
Better naming for recurrent tasks
2017-07-06 09:01:07 -04:00
19c36fe4c9
Merge pull request #1406 from matlockx/master
...
added flag for not populating inventory entries to etc hosts file
2017-07-06 08:59:49 -04:00
a742d10c54
Allow calico ipPool to be created with mode "cross-subnet"
2017-07-04 19:05:16 -04:00
6bd27038cc
Set kubedns min replicas to 1 in gitlab config
2017-07-04 16:58:16 +02:00
5df757a403
Correct indentation and line endings for gitlab config
2017-07-04 16:58:16 +02:00
38f5d1b18e
Set kubedns minimum replicas to 2
2017-07-04 16:58:16 +02:00
5f75d4c099
Uncodron Masters which have scheduling Enabled
2017-07-03 15:30:21 +02:00
319a0d65af
Update kubelet.j2
...
Updated with closing endif.
2017-07-03 16:23:35 +05:30
3d2680a102
Update kubelet.j2
...
Updated!
2017-07-03 15:58:50 +05:30
c36fb5919a
Update kubelet.j2
...
Updated!!
2017-07-03 15:55:04 +05:30
46d3f4369e
Updated K8s version
...
Signed-off-by: Amit Kumar Jaiswal <amitkumarj441@gmail.com >
2017-07-03 04:06:42 +05:30
c2b3920b50
added flag for not populating inventory entries to etc hosts file
2017-06-30 16:41:03 +00:00
6e7323e3e8
Merge pull request #1398 from tanshanshan/fix-reset
...
clean files in reset roles
2017-06-30 07:59:44 -04:00
e98b0371e5
Merge pull request #1368 from vgkowski/patch-3
...
change documentation from "self hosted" to "static pod" for the contr…
2017-06-30 07:31:52 -04:00
f085419055
Merge pull request #1388 from vgkowski/master
...
add six package to bootstrap role
2017-06-30 07:30:36 -04:00
1fedbded62
ignore_errors instead of failed_when: false
2017-06-29 20:15:14 +02:00
c8258171ca
Better naming for recurrent tasks
2017-06-29 19:50:09 +02:00
007ee0da8e
fix reset
2017-06-29 14:45:15 +08:00
5e1ac9ce87
Merge pull request #1354 from chadswen/kubedns-var-fix
...
kubedns consistency fixes
2017-06-27 22:26:46 -05:00
a7cd08603e
Merge pull request #1384 from gdmello/etcd_backup_dir_fix
...
Make etcd_backup_prefix configurable.
2017-06-27 22:25:53 -05:00
854cd1a517
Merge pull request #1380 from jwfang/max-dns
...
docker_dns_servers_strict to control docker_dns_servers rtrim
2017-06-27 21:15:12 -05:00
cf8c74cb07
Merge pull request #1342 from Abdelsalam-Abbas/patch-1
...
Create ansible.md
2017-06-27 13:58:18 -04:00
23565ebe62
Merge pull request #1356 from rsmitty/rename
...
Rename project to kubespray
2017-06-27 11:40:03 -04:00
8467bce2a6
Fix inconsistent kubedns version and parameterize kubedns autoscaler image vars
2017-06-27 10:19:31 -05:00
e6225d70a1
Merge pull request #1389 from Abdelsalam-Abbas/master
...
changing username from "ubuntu" to the correct one "vagrant" for ubuntu
2017-06-27 11:04:35 -04:00
a69de8be40
changing username from "ubuntu" to the correct one "vagrant" for ubuntu
2017-06-27 16:42:18 +02:00
649654207f
mount the etcd data directory in the container with the same path as on the host.
2017-06-27 09:29:47 -04:00
3123502f4c
move etcd_backup_prefix
to new home.
2017-06-27 09:12:34 -04:00
17d54cffbb
add six package to bootstrap role
2017-06-27 10:08:57 +02:00
bddee7c38e
Merge pull request #1338 from kevinjqiu/vagrant-sync-folder
...
Sync folders on the vagrant machine
2017-06-26 22:10:58 -05:00
6f9c311285
Merge pull request #1387 from rsmitty/ci-fixes
...
CI Fixes: turn off coreos updates
2017-06-26 22:00:08 -05:00
0cfa6a8981
Merge pull request #1372 from seungkyua/apply_kubedns_to_the_latest
...
Make kubedns up to date
2017-06-26 21:58:03 -05:00
d5516a4ca9
Make kubedns up to date
...
Update kube-dns version to 1.14.2
https://github.com/kubernetes/kubernetes/pull/45684
2017-06-27 00:57:29 +00:00
d2b793057e
Merge pull request #1370 from Abdelsalam-Abbas/master
...
Fixing a condition that cause upgrade failure.
2017-06-26 17:15:03 -04:00
b2a409fd4d
turn off coreos updates
2017-06-26 15:45:08 -04:00
4ba237c5d8
Make etcd_backup_prefix configurable. Ensures that backups can be stored on a different location other than ${HOST}/var/backups, say an EBS volume on AWS.
2017-06-26 09:42:30 -04:00
f5ef02d4cc
Merge remote-tracking branch 'upstream/master'
2017-06-26 11:37:23 +02:00
ec2255764a
docker_dns_servers_strict to control docker_dns_servers rtrim
2017-06-26 17:29:12 +08:00
1a8e92c922
Fixing cordoning condition that cause fail for upgrading the cluster
2017-06-23 20:41:47 +02:00
5c1891ec9f
In the etcd container, the etcd data directory is always /var/lib/etcd. Reverting to this value, since etcd_data_dir
on the host maps to /var/lib/etcd
in the container.
2017-06-23 13:49:31 -04:00
83265b7f75
renaming kargo-cli to kubespray-cli
2017-06-23 12:35:10 -04:00
5364a10033
Merge pull request #1374 from Lendico/doc_ansible_integration
...
Flow for intergation with existing ansible repo
2017-06-23 11:31:22 -05:00
c2a46e4aa3
Merge pull request #1345 from y-taka-23/neutron-for-calico
...
Modify documented neutron commands for Calico setup
2017-06-23 11:25:56 -05:00
bae5ce0bfa
Merge branch 'master' into rename
2017-06-23 12:23:51 -04:00
cc5edb720c
Merge pull request #1378 from rsmitty/fix-premoderator
...
premoderator breaks on redirect. update to use kubespray.
2017-06-23 12:10:15 -04:00
e17c2ef698
premoderator breaks on redirect. update to use kubespray.
2017-06-23 11:49:48 -04:00
61b74f9a5b
updated to direct control over ipip
2017-06-23 09:16:05 +02:00
0cd83eadc0
README: Integration with existing ansible repo
2017-06-22 18:58:10 +02:00
1757c45490
Merge remote-tracking branch 'upstream/master'
2017-06-22 18:23:29 +02:00
d85f98d2a9
change documentation from "self hosted" to "static pod" for the control plane
2017-06-21 11:00:11 +02:00
9e123011c2
Modify documented neutron commands for Calico setup
2017-06-21 15:11:39 +09:00
774c4d0d6f
Merge pull request #1360 from vgkowski/patch-3
...
Update openstack documentation with Calico
2017-06-20 22:10:48 -05:00
7332679678
Give more control over IPIP, but with same default behaviour
2017-06-20 14:50:08 +02:00
bb6f727f25
Update openstack documentation with Calico
...
Linked to the issue https://github.com/kubernetes-incubator/kubespray/issues/1359
2017-06-19 15:48:34 +02:00
586d2a41ce
Merge pull request #1357 from seungkyua/fixed_helm_bash_completion
...
Fixed helm bash complete
2017-06-19 09:57:36 +03:00
91dff61008
Fixed helm bash complete
2017-06-19 15:33:50 +09:00
8203383c03
rename almost all mentions of kargo
2017-06-16 13:25:46 -04:00
a3c88a0de5
rename kargo mentions in top-level yml files
2017-06-16 12:18:35 -04:00
fff0aec720
add configurable parameter for etcd_auto_compaction_retention
2017-06-14 10:39:38 +02:00
b73786c6d5
Merge pull request #1335 from bradbeam/imagerepo
...
Set default value for kube_hyperkube_image_repo
2017-06-12 09:46:17 -05:00
67eeccb31f
Create ansible.md
...
fixing a typo
2017-06-12 13:20:15 +02:00
266ca9318d
Use the kube_apiserver_insecure_port variable instead of static 8080
2017-06-12 09:20:59 +02:00
3e97299a46
Sync folders on the vagrant machine
2017-06-09 17:19:28 -04:00
eacc42fedd
Merge pull request #1240 from bradbeam/vaultfixup
...
Fixing up vault variables
2017-06-08 22:33:03 -05:00
db3e8edacd
Fixing up vault variables
2017-06-08 16:15:33 -05:00
6e41634295
Set default value for kube_hyperkube_image_repo
...
Fixes #1334
2017-06-08 12:22:16 -05:00
ef3c2d86d3
Merge pull request #1327 from rsmitty/coreos-testing-update
...
use latest coreos-stable for testing to avoid upgrades during deployment
2017-06-07 16:31:23 -07:00
780308c194
Merge pull request #1174 from jlothian/atomic-docker-restart
...
Fix docker restart in atomic
2017-06-07 12:05:32 -05:00
696fd690ae
Merge pull request #1092 from bradbeam/rkt_docker
...
Adding flag for docker container in kubelet w/ rkt
2017-06-06 12:58:40 -05:00
d323501c7f
Merge pull request #1328 from kevinjqiu/coreos-vagrant
...
Support provisioning vagrant k8s clusters with coreos
2017-06-05 14:30:49 -07:00
66d8b2c18a
Specify coreos vagrant box url
2017-06-04 11:31:39 -04:00
6d8a415b4d
Update doc on Vagrant local override file
2017-06-02 20:09:37 -04:00
dad268a686
Add default ssh user for different OSes
2017-06-02 19:51:09 -04:00
e7acc2fddf
Update doc for Vagrant install
2017-06-02 19:03:43 -04:00
6fb17a813c
Support provisioning vagrant k8s clusters with coreos
2017-06-02 18:53:47 -04:00
11ede9f872
use latest coreos-stable for testing to avoid upgrades during deployment
2017-06-02 12:24:54 -04:00
6ac1c1c886
Merge pull request #1320 from rsmitty/centos-cert-fix
...
check if cloud_provider is defined
2017-05-31 11:54:15 -04:00
01c0ab4f06
check if cloud_provider is defined
2017-05-31 08:24:24 -04:00
7713f35326
Merge pull request #1317 from mtsr/versionlock
...
Adds note on versionlock to README
2017-05-30 14:37:21 -04:00
7220b09ff9
Merge pull request #1315 from rsmitty/hostnames-upgrade
...
Resolve upgrade issues
2017-05-30 11:40:19 -04:00
b7298ef51a
Merge pull request #1313 from rsmitty/centos-cert-path
...
add direct path for cert in AWS with RHEL family
2017-05-30 11:37:37 -04:00
16b10b026b
add scale.yml to do minimum needed for a node bootstrap
2017-05-29 13:49:21 +02:00
9b18c073b6
Adds note on versionlock to README
...
Note to users that auto-updates break clusters that don't lock the docker version somehow.
2017-05-28 20:55:44 +02:00
dd89e705f2
don't uncordon masters
2017-05-26 17:48:56 -04:00
56b86bbfca
inventory hostname for cordoning/uncordoning
2017-05-26 17:47:25 -04:00
7e2aafcc76
add direct path for cert in AWS with RHEL family
2017-05-26 17:32:50 -04:00
11c774b04f
Merge pull request #1306 from rsmitty/scale-up
...
add scale.yml to do minimum needed for a node bootstrap
2017-05-25 18:51:09 -04:00
6ba926381b
Merge pull request #1309 from jhunthrop/router-peering
...
adding --skip-exists flag for peer_with_router
2017-05-25 18:50:54 -04:00
af55e179c7
adding --skip-exists flag for peer_with_router
2017-05-25 14:29:18 -05:00
18a42e4b38
add scale.yml to do minimum needed for a node bootstrap
2017-05-24 15:49:21 -04:00
a10ccadb54
Merge pull request #1300 from rsmitty/dynamic-inventory-aws
...
Added dynamic inventory for AWS as contrib
2017-05-23 12:57:51 -04:00
15fee582cc
Merge pull request #1305 from zouyee/master
...
upgrade k8s version to 1.6.4
2017-05-23 12:52:13 -04:00
43408634bb
Merge branch 'master' into master
2017-05-23 09:32:28 +08:00
d47fce6ce7
upgrade k8s version to 1.6.4
2017-05-23 09:30:03 +08:00
9e64267867
Merge pull request #1293 from mattymo/kubelet_host_mode
...
Add host-based kubelet deployment
2017-05-19 18:07:39 +03:00
7ae5785447
Removed the other unused handler
...
With live-restore: true, we don't need a special docker restart
2017-05-19 09:50:10 -05:00
ef8d3f684f
Remove unused handler
...
Previous patch removed the step that sets live-restore
back to false, so don't try to notify that handler any more
2017-05-19 09:45:46 -05:00
cc6e3d14ce
Add host-based kubelet deployment
...
Kubelet gets copied from hyperkube container and run locally.
2017-05-19 16:54:07 +03:00
83f44b1ac1
Added example json
2017-05-18 17:57:30 -04:00
1f470eadd1
Added dynamic inventory for AWS as contrib
2017-05-18 17:52:44 -04:00
005b01bd9a
Merge pull request #1299 from bradbeam/kubelet
...
Minor kubelet updates
2017-05-18 12:52:43 -04:00
6f67367b57
Leave 'live-restore' false
...
Leave live-restore false to updates always pick
up new network configuration
2017-05-17 14:31:49 -05:00
9ee0600a7f
Update handler names and explanation
2017-05-17 14:31:49 -05:00
30cc7c847e
Reconfigure docker restart behavior on atomic
...
Before restarting docker, instruct it to kill running
containers when it restarts.
Needs a second docker restart after we restore the original
behavior, otherwise the next time docker is restarted by
an operator, it will unexpectedly bring down all running
containers.
2017-05-17 14:31:49 -05:00
a5bb24b886
Fix docker restart in atomic
...
In atomic, containers are left running when docker is restarted.
When docker is restarted after the flannel config is put in place,
the docker0 interface isn't re-IPed because docker sees the running
containers and won't update the previous config.
This patch kills all the running containers after docker is stopped.
We can't simply `docker stop` the running containers, as they respawn
before we've got a chance to stop the docker daemon, so we need to
use runc to do this after dockerd is stopped.
2017-05-17 14:31:49 -05:00
f02d810af8
Merge pull request #1298 from rsmitty/centos-bootstrap
...
issue raw yum command since we don't have facts in bootstrapping
2017-05-17 14:44:54 -04:00
55f6b6a6ab
Merge pull request #940 from Connz/patch-1
...
Fixed nova command to get available flavors
2017-05-16 21:24:07 -05:00
b999ee60aa
Fixing typo in kubelet cluster-dns and cluster-domain flags
2017-05-16 15:43:29 -05:00
85afd3ef14
Removing old sysv reference
2017-05-16 15:28:39 -05:00
1907030d89
issue raw yum command since we don't have facts in bootstrapping
2017-05-16 10:07:38 -04:00
361a5eac7e
Merge pull request #1290 from huikang/update-version-readme
...
Update the kubernete and docker verion in readme
2017-05-15 09:55:04 -04:00
fecb41d2ef
Merge pull request #1289 from rsmitty/default-dns-mode
...
default to kubedns &set nxdomain in kubedns deployment if that's the dns_mode
2017-05-15 09:52:07 -04:00
4cdb641e7b
Update the kubernete and docker verion in readme
...
- kubernetes v1.6.1
- docker v1.13.1
Signed-off-by: Hui Kang <hkang.sunysb@gmail.com >
2017-05-13 22:34:41 -04:00
efa2dff681
remove conditional
2017-05-12 17:16:49 -04:00
31a7b7d24e
default to kubedns and set nxdomain in kubedns deployment if that's the dns_mode
2017-05-12 15:57:24 -04:00
af8cc4dc4a
Typo
2017-05-08 22:55:34 +09:00
8eb60f5624
Merge pull request #1280 from moss2k13/bugfix/helm_centos
...
Updated kubernetes-apps helm installation
2017-05-08 12:45:35 +03:00
791ea89b88
Updated helm installation
...
Added full path for helm
2017-05-08 09:27:06 +02:00
c572760a66
Merge pull request #1254 from iJanki/cert_group
...
Adding /O=system:masters to admin certificate
2017-05-05 10:58:42 -04:00
69fc19f7e0
Merge pull request #1252 from adidenko/separate-tags-for-netcheck-containers
...
Add support for different tags for netcheck containers
2017-05-05 08:04:54 -05:00
b939c24b3d
Merge pull request #1250 from digitalrebar/master
...
bootstrap task on centos missing packages
2017-05-02 12:24:11 -04:00
3eb494dbe3
Merge pull request #1259 from bradbeam/calico214
...
Updating calico to v2.1.4
2017-05-02 12:20:47 -04:00
d6a66c83c2
Merge pull request #1266 from rsmitty/os-release
...
mount os-release to ensure the node's OS is what's seen in k8s api
2017-05-02 12:17:48 -04:00
582a9a5db8
Merge pull request #1265 from cfarquhar/fix_docs_calico_link
...
Fix link from ansible.md to calico.md
2017-05-02 12:17:10 -04:00
0afbc19ffb
ensure the /etc/os-release is mounted read only
2017-05-01 14:51:40 -04:00
ac9290f985
add for rkt as well
2017-04-28 17:45:10 -04:00
a133ba1998
Updating calico to v2.1.4
2017-04-28 14:04:25 -05:00
5657738f7e
mount os-release to ensure the node's OS is what's seen in k8s api
2017-04-28 13:40:54 -04:00
d310acc1eb
Fix link from ansible.md to calico.md
...
This commit fixes a broken link from ansible.md to calico.md.
2017-04-28 12:10:23 -05:00
2b88f10b04
Merge pull request #1262 from holser/switch_ci_to_ansible_2.3
...
Switch CI to ansible 2.3.0
2017-04-28 12:07:19 +03:00
883ba7aa90
Add support for different tags for netcheck containers
...
Replace 'netcheck_tag' with 'netcheck_version' and add additional
'netcheck_server_tag' and 'netcheck_agent_tag' config options to
provide ability to use different tags for server and agent
containers.
2017-04-27 17:15:28 +02:00
28f55deaae
Switch CI to ansible 2.3.0
...
Closes: 1253
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-27 12:50:16 +02:00
40407930d5
Merge pull request #1260 from holser/fix_jinja_ansible_2.3
...
Ansible 2.3 support
2017-04-27 13:39:28 +03:00
674b71b535
Ansible 2.3 support
...
- Fix when clauses in various places
- Update requirements.txt
- Fix README.md
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-26 15:22:10 +02:00
677d9c47ac
Merge pull request #1256 from AlexeyKasatkin/add_MY_NODE_NAME_var
...
add MY_NODE_NAME variable into netchecker-agent environment
2017-04-25 18:12:25 +03:00
2638ab98ad
add MY_NODE_NAME variable into netchecker-agent environment
2017-04-24 17:19:42 +03:00
bc3068c2f9
Merge pull request #1251 from FengyunPan/fix-helm-home
...
Specify a dir and attach it to helm for HELM_HOME
2017-04-24 15:17:28 +03:00
2bde9bea1c
Specify a dir and attach it to helm for HELM_HOME
2017-04-21 10:51:27 +08:00
502f2f040d
Merge pull request #1249 from rsmitty/master
...
add some known tweaks that need to be made for coreos to docs
2017-04-20 18:40:25 -04:00
041d4d666e
Install required selinux-python bindings in bootstrap
...
on centos. The bootstrap tty fixup needs it.
2017-04-20 11:17:01 -05:00
c0c10a97e7
Merge pull request #1248 from rsmitty/aws-resolver
...
allow for correct aws default resolver
2017-04-20 11:25:40 -04:00
5a7c50027f
add some known tweaks that need to be made for coreos
2017-04-20 11:14:41 -04:00
88b5065e7d
fix stray 'in' and break into multiple lines for clarity
2017-04-20 09:53:01 -04:00
b690008192
allow for correct aws default resolver
2017-04-20 09:32:03 -04:00
2d6bc9536c
Merge pull request #1246 from holser/disable_dns_for_kube_services
...
Change DNS policy for kubernetes components
2017-04-20 16:12:52 +03:00
01dc6b2f0e
Add aws to default_resolver
...
When VPC is used, external DNS might not be available. This patch change
behavior to use metadata service instead of external DNS when
upstream_dns_servers is not specified.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-20 11:47:19 +02:00
d8aa2d0a9e
Change DNS policy for kubernetes components
...
According to code apiserver, scheduler, controller-manager, proxy don't
use resolution of objects they created. It's not harmful to change
policy to have external resolver.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-20 11:22:57 +02:00
19bb97d24d
Merge pull request #1238 from Starefossen/fix/namespace-template-file
...
Move namespace file to template directory
2017-04-20 12:19:55 +03:00
9f4f168804
Merge pull request #1241 from bradbeam/rktcnidir
...
Explicitly create cni bin dir
2017-04-20 12:19:26 +03:00
82e133b382
Merge pull request #1235 from JustinAzoff/patch-1
...
Fix IPS array variable expansion
2017-04-20 12:08:49 +03:00
cf3083d68e
Merge pull request #1239 from mattymo/resettags
...
Add tags to reset playbook and make iptables flush optional
2017-04-20 11:35:08 +03:00
e796cdbb27
Fix restart kube-controller ( #1242 )
...
kubernetesUnitPrefix was changed to k8s_* in 1.5. This patch reflects
this change in kargo
2017-04-20 11:26:01 +03:00
2d44582f88
Add tags to reset playbook and make iptables flush optional
...
Fixes #1229
2017-04-19 19:32:18 +03:00
2a61344c03
Merge pull request #1236 from mattymo/minupgrade
...
Add minimal k8s upgrade playbook
2017-04-19 12:05:39 -04:00
77c6aad1b5
Merge pull request #1237 from Starefossen/chore/remove-dot-bak
...
Remove and ignore .bak files
2017-04-19 12:03:41 -04:00
b60a897265
Explicitly create cni bin dir
...
If this path doesnt exist, it will cause kubelet to fail to start when
using rkt
2017-04-19 16:00:44 +00:00
fdd41c706a
Remove and ignore .bak files
2017-04-19 13:37:23 +02:00
d68cfeed6e
Move namespace file to template directory
2017-04-19 13:37:02 +02:00
14911e0d22
Add minimal k8s upgrade playbook
2017-04-18 13:28:36 +03:00
9503434d53
Fix IPS array variable expansion
...
$IPS only expands to the first ip address in the array:
justin@box:~$ declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5)
justin@box:~$ echo $IPS
10.10.1.3
justin@box:~$ echo ${IPS[@]}
10.10.1.3 10.10.1.4 10.10.1.5
2017-04-17 20:56:52 -04:00
c3c9e955e5
Merge pull request #1232 from rsmitty/custom-flags
...
add ability for custom flags
2017-04-17 14:01:32 -04:00
72d5db92a8
remove stray spaces in templating
2017-04-17 12:24:24 -04:00
3f302c8d47
ensure spacing on string of flags
2017-04-17 12:13:39 -04:00
04a769bb37
ensure spacing on string of flags
2017-04-17 11:11:10 -04:00
f9d4a1c1d8
update to safeguard against accidentally passing string instead of list
2017-04-17 11:09:34 -04:00
3e7db46195
Merge pull request #1233 from gbolo/master
...
allow admission control plug-ins to be easily customized
2017-04-17 12:59:49 +03:00
e52aca4837
Merge pull request #1223 from mattymo/vault_cert_skip
...
Skip vault cert task evaluation when using script certs
2017-04-17 12:52:42 +03:00
5ec503bd6f
Merge pull request #1222 from bradbeam/calico
...
Updating calico versions
2017-04-17 12:52:20 +03:00
49be805001
allow admission control plug-ins to be easily customized
2017-04-16 22:03:45 -04:00
94596388f7
add ability for custom flags
2017-04-14 17:33:04 -04:00
5c4980c6e0
Merge pull request #1231 from holser/fix_netchecker-server
...
Reschedule netchecker-server in case of HW failure.
2017-04-14 10:50:07 -04:00
6d157f0b3e
Merge pull request #1225 from VincentS/aws_fixes
...
Fixes for AWS Terraform Deployment and Updated Readme
2017-04-14 10:47:25 -04:00
c3d5fdff64
Merge pull request #1192 from justindowning/patch-2
...
Update upgrades.md
2017-04-14 10:19:35 -04:00
d6cbdbd6aa
Merge pull request #1230 from jduhamel/jduhamel-kubedns-autoscaler-1
...
Update kubedns-autoscaler change target
2017-04-14 09:56:48 -04:00
d7b8fb3113
Update start_vault_temp.yml
2017-04-14 13:32:41 +03:00
45044c2d75
Reschedule netchecker-server in case of HW failure.
...
Pod opbject is not reschedulable by kubernetes. It means that if node
with netchecker-server goes down, netchecker-server won't be scheduled
somewhere. This commit changes the type of netchecker-server to
Deployment, so netchecker-server will be scheduled on other nodes in
case of failures.
2017-04-14 10:49:16 +02:00
a9f260d135
Update dnsmasq-autoscaler
...
changed target to be a deployment rather than a replicationcontroller.
2017-04-13 15:07:06 -04:00
072b3b9d8c
Update kubedns-autoscaler change target
...
The target was a replicationcontroller but kubedns is currently a deployment
2017-04-13 14:55:25 -04:00
ae7f59e249
Skip vault cert task evaluation completely when using script cert generation
2017-04-13 19:29:07 +03:00
450b4e16b2
Merge pull request #1224 from VincentS/var_fix
...
Fix undefined variables for etcd deployment
2017-04-12 09:19:02 -04:00
c48ffa24be
Fixes for AWS Terraform Deployment and Updated Readme
2017-04-12 15:15:54 +02:00
7f0c0a0922
Fix for etcd variable issue
2017-04-12 12:59:49 +02:00
bce1c62308
Updating calico versions
2017-04-11 20:52:04 -05:00
9b3aa3451e
Merge pull request #1218 from bradbeam/efkidempotent
...
Fixing resource type for kibana
2017-04-11 19:04:13 -04:00
436c0b58db
Merge pull request #1217 from bradbeam/helmcompletion
...
Excluding bash completion for helm on CoreOS
2017-04-11 17:34:11 -04:00
7ac62822cb
Merge pull request #1219 from zouyee/master
...
upgrade etcd version from v3.0.6 to v3.0.17
2017-04-11 17:32:56 -04:00
af8ae83ea0
Merge pull request #1216 from mattymo/rework_collect_logs
...
Allow collect-logs.yaml to operate without inventory vars
2017-04-11 16:58:39 +03:00
0bcecae2a3
upgrade etcd version from v3.0.6 to v3.0.17
2017-04-11 10:42:35 +08:00
bd130315b6
Excluding bash completion for helm on CoreOS
2017-04-10 11:07:15 -05:00
504711647e
Fixing resource type for kibana
2017-04-10 11:01:12 -05:00
a9a016d7b1
Allow collect-logs.yaml to operate without inventory vars
2017-04-10 18:49:17 +03:00
ab12b23e6f
Merge pull request #1173 from bradbeam/dockerlogs
...
Setting defaults for docker log rotation
2017-04-09 11:50:01 +02:00
797bdbd998
Merge pull request #1210 from mattymo/fix-1.5-kubelet
...
Unbreak 1.5 deployment with kubelet
2017-04-07 08:22:39 +03:00
1c45d37348
Update kubelet.j2
2017-04-06 22:59:18 +03:00
b521255ec9
Unbreak 1.5 deployment with kubelet
...
1.5 kubelet fails to start when using unknown params
2017-04-06 21:07:48 +03:00
75ea001bfe
Merge pull request #1208 from mattymo/1.6-flannel
...
Update to k8s 1.6 with flannel and centos fixes
2017-04-06 13:04:02 +03:00
ff2fb9196f
Fix flannel for 1.6 and apply fixes to enable containerized kubelet
2017-04-06 10:06:21 +04:00
acae0fe4a3
Merge pull request #1205 from holser/resolv_updates
...
Refactoring resolv.conf
2017-04-05 14:22:52 +03:00
ccc11e5680
Upgrade to Kubernetes 1.6.1
2017-04-05 13:26:36 +03:00
2670eefcd4
Refactoring resolv.conf
...
- Renaming templates for netchecker
- Add dnsPolicy: ClusterFirstWithHostNet to kube-proxy
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-05 09:28:01 +02:00
c0cae9e8a0
Merge pull request #1204 from mattymo/resolvconf-nodes
...
Restart kubelet when updating /etc/resolv.conf on all k8s nodes
2017-04-04 22:03:44 +03:00
f8cf6b4f7c
Merge pull request #1186 from holser/resolv_conf
...
Set ClusterFirstWithHostNet for Pods with hostnetwork: true
2017-04-04 20:49:55 +03:00
a29182a010
Restart kubelet when updating /etc/resolv.conf on all k8s nodes
2017-04-04 20:43:47 +03:00
1cfe0beac0
Set ClusterFirstWithHostNet for Pods with hostnetwork: true
...
In kubernetes 1.6 ClusterFirstWithHostNet was added as an option. In
accordance to it kubelet will generate resolv.conf based on own
resolv.conf. However, this doesn't create 'options', thus the proper
solution requires some investigation.
This patch sets the same resolv.conf for kubelet as host
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-04-04 16:34:13 +02:00
798f90c4d5
Merge pull request #1153 from mattymo/graceful_drain
...
Move graceful upgrade test to Ubuntu canal HA, adjust drain
2017-04-04 17:33:53 +03:00
fac4334950
Merge pull request #1201 from mattymo/configurable_failure
...
Make any_errors_fatal configurable
2017-04-04 15:51:56 +03:00
f8d44a8a88
Merge pull request #1200 from mattymo/issue1190
...
Fix multiline condition for k8s check certs
2017-04-04 15:48:05 +03:00
1136a94a6e
Merge pull request #1191 from justindowning/patch-1
...
pin ansible to version 2.2.1.0
2017-04-04 13:42:32 +03:00
fd20e0de90
Wait for container creation in check network test
2017-04-04 13:12:24 +03:00
a1150dc334
Make any_errors_fatal configurable
...
Useful at scale when 1 or 2 noes my fail and you can proceed with
the majority and go back and fix the others later.
2017-04-04 12:52:47 +03:00
b4d06ff8dd
Add /var/lib/cni to kubelet
...
Necessary to persist this directory for host-local IPAM used by Canal
Add pre-upgrade task to copy /var/lib/cni out of old kubelet.
2017-04-03 19:38:24 +03:00
7581705007
Merge pull request #1185 from intelsdi-x/hostname
...
Use hostname module to set hostname, and do it for all Os not only Co…
2017-04-03 19:01:12 +03:00
5a5707159a
Fix multiline condition for k8s check certs
...
Fixes #1190
2017-04-03 17:44:55 +03:00
742a1681ce
Merge pull request #1166 from rogerwelin/master
...
add iptables --flush to reset role
2017-04-03 17:25:10 +03:00
fba9b9cb65
Merge pull request #1182 from artem-panchenko/bumpCalicoPolicyControllerVersion
...
Bump calico policy controller version
2017-04-03 17:21:52 +03:00
61b2d7548a
Use hostname module to set hostname, and do it for all Os not only CoreOS
2017-04-03 15:09:33 +02:00
80828a7c77
use etcd2 when upgrading unless forced
2017-04-03 15:07:42 +03:00
f5af86c9d5
Merge pull request #1194 from adidenko/fix-sync_certs
...
Fix multiline when condition in sync_certs task
2017-03-31 17:39:40 +03:00
58acbe7caf
Fix multiline when condition in sync_certs task
...
Folded style in multiline 'when' condition causes error with
unexpected ident. Changing it to literal style should fix
the issue.
Closes #1190
2017-03-30 22:21:04 +02:00
355b92d7ba
Merge pull request #1170 from jlothian/atomic-docker-network
...
1169 - fix docker systemd unit
2017-03-30 13:13:28 -07:00
d42e4f2344
Update .gitlab-ci.yml
2017-03-30 12:19:15 +04:00
fbded9cdac
Update upgrades.md
...
Clarify that the `kube_version` environment variable is needed for the CLI "graceful upgrade". Also add and example to check that the upgrade was successful.
2017-03-29 22:00:52 -04:00
907e43b9d5
pin ansible to version 2.2.1.0
...
ansible 2.2.2.0 has an [issue]() that causes problems for kargo:
```
(env) kargo ᐅ env/bin/ansible-playbook upgrade-cluster.yml
ERROR! Unexpected Exception: 'Host' object has no attribute 'remove_group'
```
Pinning ansible to 2.2.1.0 resolved this for me.
2017-03-29 21:40:34 -04:00
fb467df47c
fix etcd restart
2017-03-29 23:22:49 +04:00
48beef25fa
delete master containers forcefully
2017-03-27 19:08:22 +03:00
a3f568fc64
restart scheduler and controller-manager too
2017-03-27 13:51:35 +03:00
57ee304260
ensure post-upgrade purge ones only once
2017-03-27 13:28:37 +03:00
0794a866a7
switch debian8-canal-ha to ubuntu
2017-03-27 13:28:37 +03:00
49e4d344da
move network plugins out of grouped upgrades
2017-03-27 13:28:37 +03:00
21a9dea99f
move kubernetes-apps/network-plugin back to master role
2017-03-27 13:28:37 +03:00
6e505c0c3f
Fix delegate tasks for kubectl and etcdctl
2017-03-27 13:28:37 +03:00
e9a294fd9c
Significantly reduce memory requirements
...
Canal runs more pods and upgrades need a bit of extra
room to load new pods in and get the old ones out.
2017-03-27 13:28:37 +03:00
44d851d5bb
Only cordon Ready nodes
2017-03-27 13:28:37 +03:00
5ed03ce7f0
Use checksum of dnsmasq config to trigger updates of dnsmasq
...
Allows config changes made by Ansible to restart dnsmasq deployment
2017-03-27 13:28:37 +03:00
c1b9660ec8
Move graceful upgrade test to debian canal HA, adjust drain
...
Graceful upgrades require 3 nodes
Drain now has a command timeout of 40s
2017-03-27 13:28:37 +03:00
c2c334d22f
Merge pull request #1181 from holser/refactor_etcd
...
Refactor etcd role
2017-03-27 13:05:35 +03:00
ed5c848473
Merge pull request #1175 from zoidbergwill/patch-1
...
Fix markdown of heading in README
2017-03-27 09:33:43 +02:00
f144fd1ed3
Refactor etcd role
...
- Run docker run from script rather than directly from systemd target
- Refactoring styling/templates
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-03-24 12:34:15 +01:00
e96557f410
Bump calico policy controller version
...
Latest released version of kube-policy-controller
contains important bug fixes and should be used
by default.
2017-03-24 12:13:09 +02:00
ac96d5ccf0
Merge pull request #1176 from zoidbergwill/patch-2
...
Update roadmap.md
2017-03-23 12:05:35 +01:00
b2af19471e
Merge pull request #1177 from rutsky/replace-nbsp
...
replace non-breakable space with regular space
2017-03-23 12:59:45 +03:00
6805d0ff2b
Merge pull request #1179 from kubernetes-incubator/missing_defaults
...
Add missing defaults
2017-03-23 12:16:13 +03:00
6e1de9d820
Add missing defaults
2017-03-23 10:05:34 +01:00
d27ca7854f
Merge pull request #1161 from VincentS/aws_deployment
...
Fixes for AWS Terraform Deployment
2017-03-23 11:59:39 +03:00
c4e57477fb
replace non-breakable space with regular space
...
Non-brekable space is 0xc2 0xa0 byte sequence in UTF-8.
To find one:
$ git grep -I -P '\xc2\xa0'
To replace with regular space:
$ git grep -l -I -P '\xc2\xa0' | xargs sed -i 's/\xc2\xa0/ /g'
This commit doesn't include changes that will overlap with commit f1c59a91a1
.
2017-03-23 00:25:01 +03:00
f1c59a91a1
Update roadmap.md
2017-03-22 22:03:06 +02:00
74c573ef04
Update README.md
2017-03-22 22:01:44 +02:00
5f082bc0e5
Merge pull request #1172 from mattymo/dnsmasq_upgrade
...
Use checksum of dnsmasq config to trigger updates of dnsmasq
2017-03-22 18:00:10 +03:00
0e3b7127b5
Merge pull request #1167 from mattymo/dnsmasq_when_deploying_master
...
Change wait for dnsmasq to skip if there are no kube-nodes in play
2017-03-22 17:59:56 +03:00
5d3414a40b
Setting defaults for docker log rotation
2017-03-22 09:40:10 -04:00
f4638c7580
add iptables --flush to reset role
2017-03-22 11:10:24 +01:00
8b0b500c89
Use checksum of dnsmasq config to trigger updates of dnsmasq
...
Allows config changes made by Ansible to restart dnsmasq deployment
2017-03-22 13:03:55 +03:00
04746fc4d8
Merge pull request #1163 from mattymo/kvm_setup
...
Add KVM hypervisor playbook to contrib
2017-03-22 12:31:14 +03:00
463ef3f8bc
Merge pull request #1168 from mattymo/disable_download_delegate
...
Disable download_run_once and download_localhost for most CI scenarios
2017-03-22 12:19:24 +03:00
5e2f78424f
1169 - fix docker systemd unit
...
The docker-network environment file masks the new values
put into /etc/systemd/system/docker.service.d/flannel-options.conf
to renumber the docker0 to work correctly with flannel.
2017-03-21 15:22:14 -05:00
3889c2e01c
Add KVM hypervisor playbook to contrib
...
Optional Ansible playbook for preparing a host for running Kargo.
This includes creation of a user account, some basic packages,
and sysctl values required to allow CNI networking on a libvirt network.
2017-03-21 19:50:01 +03:00
1887e984a0
Change wait for dnsmasq to skip if there are no kube-nodes in play
...
Also changed unnecessary delay to a max timeout (now defaulting to 1s sleep
between tries)
Also rename play_hosts to ansible_play_hosts
2017-03-21 18:55:22 +03:00
a495bbc1db
Disable download_run_once and download_localhost for most CI scenarios
...
This adds time to deployment, so we should only test it sparingly during
daily master.
2017-03-21 16:41:30 +03:00
cd429d3654
Merge pull request #1159 from holser/etcd_backup_restore
...
Backup etcd
2017-03-21 13:07:44 +03:00
771aef0b44
Merge pull request #1162 from holser/bump_coreos_ci
...
Bump CoreOS stable to latest version
2017-03-20 17:45:04 +03:00
f7ef452d8a
Merge pull request #1160 from mattymo/simpler_idempotency
...
Make reset check on idempotency check optional
2017-03-20 17:04:51 +03:00
0f64f8db90
Merge pull request #1155 from mattymo/helm
...
Add helm deployment
2017-03-20 17:00:06 +03:00
c04a6254b9
Backup etcd data before restarting etcd
...
etcd is crucial part of kubernetes cluster. Ansible restarts etcd on
reconfiguration. Backup helps operator to restore cluster manually in
case of any issues.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-03-20 14:50:52 +01:00
485e17d6ed
Bump CoreOS stable to latest version
...
1298.6.0 fixes some sporadic network issues. It also includes docker
1.12.6 which includes several stability fixes for kubernetes.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-03-20 14:31:33 +01:00
952ab03d2a
Fixes for AWS Terraform Deployment
2017-03-20 12:08:17 +01:00
bbb524018e
Make reset check on idempotency check optional
...
By default we do not test reset.yml now.
2017-03-20 13:16:58 +03:00
859c08620b
Merge pull request #1105 from VincentS/aws_deployment
...
AWS Terraform for Kargo
2017-03-20 12:55:11 +03:00
f6cd42e6e0
Merge pull request #1158 from rutsky/patch-6
...
limit jinja2 version to <2.9
2017-03-19 23:42:11 +01:00
61ee67d612
limit jinja2 version to <2.9
...
Ansible 2.2.1 requires jinja2<2.9, see <https://github.com/ansible/ansible/blob/v2.2.1.0-1/setup.py#L25 >,
but without explicit limiting upper jinja2 version here pip ignores
Ansible requirements and installs latest available jinja2
(pip is not very smart here), which is incompatible with with
Ansible 2.2.1.
With incompatible jinja2 version "ansible-vault create" (and probably other parts)
fails with:
ERROR! Unexpected Exception: The 'jinja2<2.9' distribution was not found
and is required by ansible
This upper limit should be removed in 2.2.2 release, see:
<978311bf3f
>
2017-03-20 01:33:08 +03:00
939c1def5d
Merge pull request #1152 from mattymo/redhat_weave
...
Fix weave on RHEL deployment
2017-03-19 16:45:20 +03:00
b7ab80e8ea
Merge pull request #1149 from mattymo/centos-retries
...
Retry yum/apt/rpm download commands
2017-03-18 11:12:36 +03:00
b69d4b0ecc
Add helm deployment
2017-03-17 20:24:41 +03:00
2f437d7452
Merge pull request #1157 from rutsky/remove-change-k8s-version
...
remove obsolete script
2017-03-17 20:23:34 +03:00
d761216ec1
remove obsolete script
...
Currently Kubernetes version can be selected using "kube_version" variable.
2017-03-17 20:09:36 +03:00
088e9be931
Merge pull request #1156 from rutsky/patch-5
...
fix jinja package name
2017-03-17 20:08:36 +03:00
32ecac6464
fix jinja package name
...
Jinja 2.* releases are published under `Jinja2` name.
2017-03-17 20:07:49 +03:00
7760c3e4aa
Retry yum/apt/rpm download commands, fix succeeded filter
2017-03-17 18:56:26 +03:00
3cfb76e57f
Merge pull request #1146 from mattymo/resolvconf_optimize
...
Condense resolvconf sources before starting loop
2017-03-17 18:42:32 +03:00
e1faeb0f6c
Fix weave on RHEL deployment
...
Reduce retry delay checking weave
Always load br_netfilter module
2017-03-17 18:17:47 +03:00
25bff851dd
Merge pull request #1136 from adidenko/fix-calico-policy-order
...
Move calico-policy-controller into separate role
2017-03-17 17:32:14 +03:00
3a39904011
Move calico-policy-controller into separate role
...
By default Calico CNI does not create any network access policies
or profiles if 'policy' is enabled in CNI config. And without any
policies/profiles network access to/from PODs is blocked.
K8s related policies are created by calico-policy-controller in
such case. So we need to start it as soon as possible, before any
real workloads.
This patch also fixes kube-api port in calico-policy-controller
yaml template.
Closes #1132
2017-03-17 11:21:52 +01:00
7e1fbfba64
Merge pull request #1147 from mattymo/calico-update
...
Update calico to 1.1.0-rc8
2017-03-17 13:17:41 +03:00
a52064184e
Condense resolvconf sources before starting loop
2017-03-17 13:06:56 +03:00
b4a1ba828a
Merge pull request #1148 from VincentS/patch-1
...
Fixed Formatting / Ansbile-Playbook Command Upgrade Cluster
2017-03-16 19:55:59 +03:00
c8c6105ee2
Fixed Formatting / Ansbile-Playbook Command
...
- added -b and fixed typo in ansible-playbook command
- fixed formatting issue
2017-03-16 17:53:48 +01:00
0b49eeeba3
Update calico to 1.1.0-rc8
...
Fixes bug in CentOS/RHEL in felix related to overlayfs driver.
2017-03-16 19:23:36 +03:00
b0830f0cd7
Merge pull request #1087 from bradbeam/openstack
...
Adding openstack domain id
2017-03-16 17:53:14 +03:00
565d4a53b0
Merge pull request #1108 from idcrook/issue_1107-docker-versioning
...
Adding Docker CE 'stable' and 'edge' version packages
2017-03-16 16:32:13 +03:00
9624662bf6
Merge pull request #1141 from mattymo/idempotency2
...
More idempotency fixes
2017-03-16 12:29:42 +03:00
8195957461
Merge branch 'master' into idempotency2
2017-03-16 09:29:43 +03:00
02fed4a082
Merge pull request #1138 from mattymo/idempotency-fixes
...
Idempotency fixes for etcd certs and resolvconf tasks
2017-03-16 09:20:28 +03:00
34ecf4ea51
Merge pull request #1109 from pcm32/feature/fixTerraformOS
...
Restores working order of contrib/terraform/openstack
2017-03-15 17:15:35 +01:00
a422ad0d50
More idempotency fixes
...
Fixed sync_tokens fact
Fixed sync_certs for k8s tokens fact
Disabled register docker images changability
Fixed CNI dir permission
Fix idempotency for etcd pre upgrade checks
2017-03-15 19:06:39 +03:00
096d96e344
Merge pull request #1137 from holser/bug/1135
...
Turn on iptables for flannel
2017-03-15 17:06:42 +03:00
e61310bc89
Merge pull request #1140 from VincentS/jinja28
...
Added Jinja 2.8 to Docs
2017-03-15 13:18:53 +01:00
111ca9584e
Added Jinja 2.8 to Docs
...
Added Jinja 2.8 Requirements to docs and pip requirements file which
is needed to run the current Ansible Playbooks.
2017-03-15 13:11:09 +01:00
7d35c4592c
Merge pull request #1139 from VincentS/docu_fix
...
Fix for CoreOS Docu
2017-03-15 15:06:41 +03:00
3e8386cbf3
Fixed CoreOS Docu
...
CoreOS docu was referencing outdated bootstrap playbook that
is now part of kargo itself.
2017-03-15 13:04:01 +01:00
4354162067
Merge pull request #1080 from VincentS/Granular_Auth_Control
...
Granular authentication Control
2017-03-15 13:12:51 +03:00
a62a444229
Merge pull request #1117 from mattymo/etcd3-upgrade
...
Migrate k8s data to etcd3 api store
2017-03-15 12:56:06 +03:00
f6b72fa830
Make resolvconf preinstall idempotent
2017-03-15 01:20:13 +04:00
9667e8615f
Turn on iptables for flannel
...
Closes : #1135
Closes : #1026
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-03-14 17:54:55 +01:00
026da060f2
Granular authentication Control
...
It is now possible to deactivate selected authentication methods
(basic auth, token auth) inside the cluster by adding
removing the required arguments to the Kube API Server and generating
the secrets accordingly.
The x509 authentification is currently not optional because disabling it
would affect the kubectl clients deployed on the master nodes.
2017-03-14 16:57:35 +01:00
3feab1cb2d
Merge pull request #1134 from mattymo/1.6-support
...
Explicitly set cni-bin-dir
2017-03-14 17:53:08 +03:00
804e9a09c0
Migrate k8s data to etcd3 api store
...
Default backend is now etcd3 (was etcd2).
The migration process consists of the following steps:
* check if migration is necessary
* stop etcd on first etcd server
* run migration script
* start etcd on first etcd server
* stop kube-apiserver until configuration is updated
* update kube-apiserver
* purge old etcdv2 data
2017-03-14 17:50:20 +03:00
4c6829513c
Fix etcd idempotency
2017-03-14 17:23:29 +03:00
4038954f96
Merge pull request #1078 from VincentS/oidc_support
...
Added Support for OpenID Connect Authentication
2017-03-14 12:07:21 +03:00
52a6dd5427
Explicitly set cni-bin-dir
2017-03-13 20:13:21 +03:00
c301dd5d94
Merge pull request #1118 from mattymo/noderolelabels
...
Add node labels in kubelet
2017-03-13 19:04:21 +03:00
28473e919f
Fixed nova command to get available flavors
...
The nova command for getting the flavors is not
nova list-flavors
but
nova flavor-list
2017-03-09 11:10:25 +01:00
69636d2453
Adding /O=system:masters to admin certificate
...
Issue #1125 . Make RBAC authorization plugin work out of the box.
"When bootstrapping, superuser credentials should include the system:masters group, for example by creating a client cert with /O=system:masters. This gives those credentials full access to the API and allows an admin to then set up bindings for other users."
2017-03-08 14:42:25 +00:00
7cb7eee29d
Merge pull request #1116 from kubernetes-incubator/contrib_docs
...
Reference external documentation sources
2017-03-07 13:33:25 +01:00
a52e1069ce
updated debian and ubuntu package names based on testing
...
docker-ce is not the .deb package until the repositories are switched over to new "downloads" docker webserver
2017-03-06 16:54:39 -07:00
a8e5002aeb
removed irrelevant comments
2017-03-06 16:02:53 -07:00
c515a351c6
Merge branch 'master' into issue_1107-docker-versioning
2017-03-06 16:00:31 -07:00
7777b30693
Merge pull request #1120 from bradbeam/fixtags
...
Removing cloud_provider tag to fix scenario where cloud_provider is n…
2017-03-06 19:00:41 +01:00
d04fbf3f78
Removing cloud_provider tag to fix scenario where cloud_provider is not defined
2017-03-06 10:52:38 -06:00
54207877bd
Add node labels in kubelet
...
Related-issue: https://github.com/kubernetes/community/issues/300
Upgraded nodes do not obtain labels automatically.
See https://github.com/kubernetes/kubernetes/pull/29459 for more details.
2017-03-06 17:18:42 +03:00
3c6b1480b8
Rewrote AWS Terraform for Kargo
...
Rewrote AWS Terraform deployment for AWS Kargo. It supports now
multiple Availability Zones, AWS Loadbalancer for Kubernetes API,
Bastion Host, ...
For more information see README
2017-03-06 12:52:02 +01:00
b075960e3b
Added Support for OpenID Connect Authentication
...
To use OpenID Connect Authentication beside deploying an OpenID Connect
Identity Provider it is necesarry to pass additional arguments to the Kube API Server.
These required arguments were added to the kube apiserver manifest.
2017-03-06 12:40:35 +01:00
85596c2610
Merge pull request #1045 from bradbeam/vsphere
...
Adding vsphere cloud provider support
2017-03-06 12:34:05 +01:00
0613e3c24d
Reference external documentation sources
2017-03-06 12:25:54 +01:00
ee5f009b95
Merge pull request #1112 from mattymo/skip_vault_if_disabled
...
Disable vault role properly on ansible 2.2.0
2017-03-06 11:27:53 +01:00
d76816d043
Merge pull request #1115 from mattymo/etcd-phases
...
Remove standalone etcd specific play, cleanup host mode
2017-03-06 11:21:08 +01:00
45274560ec
Disable vault role properly on ansible 2.2.0
...
when condition does not seem to work correctly at playbook
level for ansible 2.2.0.
2017-03-05 00:43:01 +04:00
02a8e78902
Remove standalone etcd specific play, cleanup host mode
...
Now etcd role can optionally disable etcd cluster setup for faster
deployment when it is combined with etcd role.
2017-03-04 00:34:26 +04:00
8f3d9e93ce
Merge pull request #1111 from mattymo/use_find_for_certs
...
Use find module for checking for certificates
2017-03-03 20:08:33 +03:00
a244aca6a4
Merge pull request #1113 from VincentS/AWS_IAM_PROFILES
...
Added Missing AWS IAM Profiles and Policies
2017-03-03 17:35:55 +03:00
5ae85b9de5
Added Missing AWS IAM Profiles and Policies
...
The AWS IAM profiles and policies required to run Kargo on AWS
are no longer hosted in the kubernetes main repo since kube-up got
deprecated. Hence we have to move the files into the kargo repository.
2017-03-03 15:30:07 +01:00
d176818c44
Use find module for checking for certificates
...
Also generate certs only when absent on master (rather than
when absent on target node)
2017-03-03 16:21:01 +03:00
aeec0f9a71
Merge pull request #1071 from vijaykatam/atomic_host
...
Add support for atomic host
2017-03-03 13:03:59 +01:00
08a02af833
Merge pull request #1075 from VincentS/loadbalancer_aws
...
Possibility to add Loadbalancers without static IP (e.g. AWS ELB) #1074
2017-03-03 14:07:22 +03:00
cf26585cff
Restores working order of contrib/terraform/openstack, includes vault group and avoids group_vars/k8s-cluster.yml
2017-03-02 23:58:07 +00:00
3f4a375ac4
first pass at adding 'stable' and 'edge' version packages
...
- Only have ubuntu to test on
- fedora and redhat are placeholders/guesses
- the "old" package repositories seem to have the "new" CE version which is `1.13.1` based
- `docker-ce` looks like it is named as a backported `docker-engine` package in some
places
- Did not change the `defaults` version anywhere, so should work as before
- Did not point to new package repositories, as existing ones have the new packages.
2017-03-02 13:48:09 -07:00
cc632f2713
Merge pull request #1099 from rutsky/patch-4
...
fix inline verbatim blocks formatting in markdown
2017-03-02 17:46:52 +03:00
5ebc9a380c
Merge pull request #1060 from holser/etcdv3
...
Allow to specify etcd backend for kube-api
2017-03-02 17:24:09 +03:00
6453650895
Merge pull request #1093 from mattymo/scaledns
...
Add autoscalers for dnsmasq and kubedns
2017-03-02 16:58:56 +03:00
9cb12cf250
Add autoscalers for dnsmasq and kubedns
...
By default kubedns and dnsmasq scale when installed.
Dnsmasq is no longer a daemonset. It is now a deployment.
Kubedns is no longer a replicationcluster. It is now a deployment.
Minimum replicas is two (to enable rolling updates).
Reduced memory erquirements for dnsmasq and kubedns
2017-03-02 13:44:22 +03:00
68e8d74545
Changes based on feedback (additional ansible checks)
2017-03-02 11:04:10 +01:00
fc054e21f6
Modified how adding LB for the Kube API is handled (AWS)
...
Until now it was not possible to add an API Loadbalancer
without an static IP Address. But certain Loadbalancers
like AWS Elastic Loadbalanacer dontt have an fixed IP address.
With this commit it is possible to add these kind of Loadbalancers
to the Kargo deployment.
2017-03-02 11:04:10 +01:00
3256f4bc0f
Merge pull request #1103 from mattymo/upgradesyntax
...
Add upgrade-cluster and reset playbooks to syntax check
2017-03-02 12:41:10 +03:00
0e9ad8f2c7
Merge pull request #1100 from retr0h/host-vars
...
Added host_vars to gitignore
2017-03-02 12:32:22 +03:00
efbb5b2db3
Merge pull request #1101 from retr0h/docker-1.13.1
...
Use docker-engine 1.13.1
2017-03-02 12:31:58 +03:00
85ed4157ff
Add upgrade-cluster and reset playbooks to syntax check
2017-03-02 09:37:16 +04:00
a43569c8a5
Use docker-engine 1.13.1
...
The default version of Docker was switched to 1.13 in #1059 . This
change also bumped ubuntu from installing docker-engine 1.13.0 to
1.13.1. This PR updates os families which had 1.13 defined, but
were using 1.13.0.
The impetus for this change is an issue running tiller 1.2.3 on
docker 1.13.0. See discussion [1][2].
[1] https://github.com/kubernetes/helm/issues/1838
[2] https://github.com/kubernetes-incubator/kargo/pull/1100
2017-03-01 12:53:39 -08:00
e771d0ea39
Updated gitignore pattern per review
2017-03-01 12:45:24 -08:00
9073eba405
Added host_vars to gitignore
...
Since inventory ships with kargo, the ability to change functionality
without having a dirty git index is nice. An example, we wish to change
is the version of docker deployed to our CentOS systems. Due to an issue
with tiller and docker 1.13, we wish to deploy docker 1.12. Since this
change does not belong in Kargo, we wish to locally override the docker
version, until the issue is sorted.
2017-03-01 11:08:35 -08:00
a5cd73d047
Merge pull request #959 from galthaus/host-mode-restart
...
Restart kube-controller for host_resolvconf mode
2017-03-01 20:54:21 +03:00
a0b1eda1d0
Add support for atomic host
...
Updates based on feedback
Simplify checks for file exists
remove invalid char
Review feedback. Use regular systemd file.
Add template for docker systemd atomic
2017-03-01 09:38:19 -08:00
ad80e09ac5
fix inline verbatim blocks formatting in markdown
2017-03-01 17:50:28 +04:00
77e5171679
Merge pull request #1076 from VincentS/etcd_openssl_count_fix
...
Fixed counter in ETCD Openssl.conf
2017-03-01 14:17:27 +01:00
0c66418dad
Merge pull request #1090 from artem-panchenko/calicoAcceptHostEndpointConnections
...
Allow connections from pods to local endpoints
2017-03-01 13:37:05 +01:00
45a9eac7d2
Merge pull request #1097 from kubernetes-incubator/mattymo-patch-1
...
Fix vault role in upgrade-cluster.yml
2017-03-01 09:21:02 +01:00
838adf7475
Fix vault role in upgrade-cluster.yml
2017-03-01 11:19:38 +03:00
fa05d15093
Allow connections from pods to local endpoints
...
By default Calico blocks traffic from endpoints
to the host itself by using an iptables DROP
action. It could lead to a situation when service
has one alive endpoint, but pods which run on
the same node can not access it. Changed the action
to RETURN.
2017-03-01 09:21:02 +02:00
1122740bd7
Merge pull request #1094 from retr0h/vagrant-flannel
...
Ensure vagrant uses flannel
2017-03-01 00:07:24 +01:00
f877278075
Ensure vagrant uses flannel
...
The Vagrantfile is setup to use flannel. The default network
was changed to Calico (#1031 ). However, the Vagrantfile was
not updated to reflect this. Ensuring the Vagrantfile remains
functional on master, until someone decides to make it work
with Calico.
2017-02-28 13:31:28 -08:00
cbaa6abdd0
Merge pull request #1066 from bradbeam/rkt-kubelet-cloudprovider
...
Adding KUBELET_CLOUDPROVIDER to kubelet.rkt.service
2017-02-28 20:02:56 +03:00
76a4803292
Merge pull request #1084 from mattymo/fixubunturktjob
...
Remove upgrade from the ubuntu-rkt-sep CI job
2017-02-28 20:02:05 +03:00
b286b2eb31
Merge pull request #1083 from holser/api_port
...
Change kube-api default port from 443 to 6443
2017-02-28 17:57:35 +01:00
295103adc0
Allow to specify etcd backend for kube-api
...
Kubernetes project is about to set etcdv3 as default storage engine in
1.6. This patch allows to specify particular backend for
kube-apiserver. User may force the option to etcdv3 for new environment.
At the same time if the environment uses v2 it will continue uses it
until user decides to upgrade to v3.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-28 17:13:22 +01:00
d31c040dc0
Change kube-api default port from 443 to 6443
...
Operator can specify any port for kube-api (6443 default) This helps in
case where some pods such as Ingress require 443 exclusively.
Closes: 820
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-28 15:45:35 +01:00
8a63b35f44
Adding flag for docker container in kubelet w/ rkt
2017-02-28 07:55:12 -06:00
bfff06d402
Adding KUBELET_CLOUDPROVIDER to kubelet.rkt.service
2017-02-28 06:29:35 -06:00
21d3d75827
Merge pull request #1086 from bradbeam/lowermem
...
Lower default memory requests
2017-02-28 13:37:28 +03:00
2c3538981a
Merge pull request #1077 from holser/bug/1073
...
Make etcd data dir configurable.
2017-02-28 13:19:20 +03:00
30a9899262
Making openstack domain name optional
2017-02-27 21:19:27 -06:00
dd10b8a27c
Bug fix: support kilo's keystone requirement for domain-name, extracts from ENV var
2017-02-27 21:18:30 -06:00
dbf13290f5
Updating vsphere cloud provider support
2017-02-27 15:08:04 -06:00
f9ff93c606
Make etcd data dir configurable.
...
Closes : #1073
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-27 21:35:51 +01:00
df476b0088
Initial support for vsphere as cloud provider
2017-02-27 12:51:41 -06:00
56664b34a6
Lower default memory requests
...
This is to address out of memory issues on CI as well as help
fit deployments for people starting out with kargo on smaller
machines
2017-02-27 10:53:43 -06:00
efb45733de
Remove upgrade from the ubuntu-rkt-sep CI job
2017-02-27 18:16:22 +03:00
0cbc3d8df6
Fixed counter in ETCD Openssl.conf
...
When a apiserver_loadbalancer_domain_name is added to the Openssl.conf
the counter gets not increased correctly. This didnt seem to have an
effect at the current kargo version.
2017-02-27 12:01:09 +01:00
27b4e61c9f
Merge pull request #946 from neith00/master
...
Using the command module instead of raw
2017-02-27 10:59:53 +01:00
069606947c
Merge pull request #1063 from bogdando/fix
...
Align LB defaults with the HA docs
2017-02-27 10:14:42 +01:00
6ae6b7cfcd
Merge pull request #1072 from gkopylov/fix_doc_issue
...
Fix cluster.yml file extension in docs
2017-02-26 15:12:45 +03:00
d197ce230f
Fix cluster.yml file extension in docs
2017-02-26 13:42:52 +03:00
c6cb0d3984
Merge pull request #1069 from holser/increase_ssl_ttl
...
Increase SSL TTL to 3650 days
2017-02-25 10:47:30 +03:00
00cfead9bb
Increase SSL TTL to 3650 days
...
In real scenarios 365 days is short period of time. 3650 days is good
enough for long running k8s environments
2017-02-24 15:38:13 +01:00
20b1e4db0b
Merge pull request #1068 from holser/uncomment_all.yml
...
Uncomment one key/value in all.yml
2017-02-24 12:54:51 +01:00
a098a32f7d
Uncomment one key/value in all.yml
...
all.yaml shouldn't be empty otherwise ansible won't be able to merge 2
dicts.
Related bug: ansible/issues/21889
2017-02-24 12:25:45 +01:00
9ee9a1033f
Merge pull request #1067 from kubernetes-incubator/ant31-patch-2
...
Uncommented group_vars variables
2017-02-24 11:45:17 +01:00
eb904668b2
Uncommented group_vars variables
2017-02-24 10:54:25 +01:00
75b69876a3
Merge pull request #1064 from kubernetes-incubator/rework_vars
...
Add default var role
2017-02-23 21:48:23 +01:00
08d9d24320
Add subnet var in tests
2017-02-23 15:14:28 +01:00
c7d61af332
Comment all variables in group_vars
2017-02-23 14:02:57 +01:00
5f7607412b
Add default var role
2017-02-23 12:07:17 +01:00
403fea39f7
Merge pull request #829 from bogdando/opts
...
Rework group/role vars
2017-02-23 10:39:43 +01:00
f2a4619c57
Align LB defaults with the HA docs
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-02-23 10:32:44 +01:00
712872efba
Rework inventory all by real groups' vars
...
* Leave all.yml to keep only optional vars
* Store groups' specific vars by existing group names
* Fix optional vars casted as mandatory (add default())
* Fix missing defaults for an optional IP var
* Relink group_vars for terraform to reflect changes
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-02-23 09:43:42 +01:00
8cbf3fe5f8
Merge pull request #1020 from mattymo/synthscale
...
Add synthetic scale deployment mode
2017-02-22 19:15:46 +03:00
02137f8cee
Merge pull request #1059 from holser/docker_iptables
...
iptables switch for docker
2017-02-22 08:23:58 +03:00
43ea281a7f
Merge pull request #1061 from ivan4th/fix-shell-vars
...
Fix shell special vars
2017-02-22 08:23:44 +03:00
0006e5ab45
Fix shell special vars
2017-02-21 22:22:40 +03:00
d821448e2f
Merge branch 'master' into synthscale
2017-02-21 22:17:43 +03:00
3bd46f7ac8
Switch docker to 1.13
...
- Remove variable dup for Ubuntu
- Update Docker to 1.13
2017-02-21 19:10:34 +01:00
ebf9daf73e
Statically disable iptables management for docker
...
Docker 1.13 changes the behaviour of iptables defaults from allow
to drop. This patch disables docker's iptables management as it was
in Docker 1.12 [1]
[1] https://github.com/docker/docker/pull/28257
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-21 19:10:34 +01:00
2ba66f0b26
Change coreos-alpha dns mode to host_resolvconf
2017-02-21 18:14:42 +03:00
0afadb9149
Merge pull request #1046 from skyscooby/pedantic-syntax-cleanup
...
Cleanup legacy syntax, spacing, files all to yml
2017-02-21 17:03:16 +03:00
19d0159e33
Raise timeout for get netchecker agents
2017-02-21 14:48:25 +03:00
d4f15ab402
Merge pull request #1055 from mattymo/etcd-preupgrade-speedup
...
speed up etcd preupgrade check
2017-02-21 12:51:42 +03:00
527e030283
Merge pull request #1058 from holser/update_calico_cni
...
Update calico-cni to 1.5.6
2017-02-20 23:09:47 +03:00
634e6a381c
Merge pull request #1043 from rutsky/patch-3
...
fix typos in azure docs
2017-02-20 20:24:05 +03:00
042d094ce7
Merge pull request #1034 from rutsky/fix-openssl-lb-index
...
fix load balancer DNS name index evaluation in openssl.conf
2017-02-20 20:23:26 +03:00
3cc1491833
Merge branch 'master' into pedantic-syntax-cleanup
2017-02-20 20:19:38 +03:00
d19e6dec7a
speed up etcd preupgrade check
2017-02-20 20:18:10 +03:00
6becfc52a8
Merge pull request #1056 from mattymo/k8s153
...
Update Kubernetes to v1.5.3
2017-02-20 20:13:40 +03:00
a2cbbc5c4f
Update calico-cni to 1.5.6
...
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-20 17:14:45 +01:00
10173525d8
Update Kubernetes to v1.5.3
2017-02-20 18:14:56 +03:00
ccdb72a422
Merge pull request #1053 from hvnsweeting/master
...
Update Doc
2017-02-20 10:42:16 +01:00
df96617d3c
Only 1 key needed
2017-02-20 14:54:20 +07:00
09aa3e0e79
Merge pull request #1052 from hvnsweeting/master
...
Put Ansible requirements first
2017-02-20 08:44:16 +01:00
a673e97f02
Put Ansible requirements first
...
And re-phrase all sentences to passive tense
2017-02-20 14:39:51 +07:00
43e86921e0
pin coreos-alpha to 1325
2017-02-19 16:23:35 +03:00
ad58e08a41
Merge pull request #1049 from alop/selinux
...
Safe disable SELinux
2017-02-19 10:26:01 +01:00
0bfc2d0f2f
Safe disable SELinux
...
Sometimes, a sysadmin might outright delete the SELinux rpms and
delete the configuration. This causes the selinux module to fail
with
```
IOError: [Errno 2] No such file or directory: '/etc/selinux/config'\n",
"module_stdout": "", "msg": "MODULE FAILURE"}
```
This simply checks that /etc/selinux/config exists before we try
to set it Permissive.
Update from feedback
2017-02-18 11:54:25 -08:00
475a42767a
Suppress logging for download image
...
This generates too much output and during upgrade scenarios
can bring us over the 4mb limit.
2017-02-18 19:10:26 +04:00
ce4eefff6a
Use first kube-master to check results
2017-02-18 14:11:51 +04:00
82b247d1a4
Adapt advanced network checker for scale
...
Skip nodes not in ansible play (via --limit)
2017-02-18 14:09:57 +04:00
a21eb036ee
Add no_log to cert tar tasks
...
This works around 4MB limit for gitlab CI runner.
2017-02-18 14:09:57 +04:00
9c1701f2aa
Add synthetic scale deployment mode
...
New deploy modes: scale, ha-scale, separate-scale
Creates 200 fake hosts for deployment with fake hostvars.
Useful for testing certificate generation and propagation to other
master nodes.
Updated test cases descriptions.
2017-02-18 14:09:55 +04:00
fd17c37feb
Regex syntax changes in yml mode
2017-02-17 17:30:39 -05:00
cde5451e79
Syntax Bugfix
2017-02-17 17:08:44 -05:00
ca9ea097df
Cleanup legacy syntax, spacing, files all to yml
...
Migrate older inline= syntax to pure yml syntax for module args as to be consistant with most of the rest of the tasks
Cleanup some spacing in various files
Rename some files named yaml to yml for consistancy
2017-02-17 16:22:34 -05:00
b84cc14694
Merge pull request #1029 from mattymo/graceful
...
Add graceful upgrade process
2017-02-17 21:24:32 +01:00
a84175b3b9
fix typo: "infrastructore"
2017-02-17 23:27:38 +04:00
438b4e9625
fix typos in azure docs
2017-02-17 21:39:22 +04:00
a510e7b8f3
Use gce hostname as inventory name
...
Calico does not allow renaming hosts
2017-02-17 20:21:58 +03:00
e16ebcad6e
Merge pull request #1042 from holser/fix_facts
...
Fix fact tags
2017-02-17 17:56:29 +01:00
e91e58aec9
Fix fact tags
...
Ansible playbook fails when tags are limited to "facts,etcd" or to
"facts". This patch allows to run ansible-playbook to gather facts only
that don't require calico/flannel/weave components to be verified. This
allows to run ansible with 'facts,bootstrap-os' or just 'facts' to
gether facts that don't require specific components.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-17 12:32:33 +01:00
3629b9051d
Merge pull request #1038 from rutsky/kubelet-mount-var-log
...
Mount host's /var/log into kubelet container
2017-02-17 10:26:12 +01:00
ef919d963b
Merge pull request #1040 from retr0h/vagrant-config
...
Better control instance sizing
2017-02-17 10:25:09 +01:00
4545114408
Merge pull request #1037 from mattymo/coreos_fix
...
Fix references to CoreOS and Container Linux by CoreOS
2017-02-17 10:21:14 +01:00
9ed32b9dd0
Merge pull request #1036 from rutsky/fix-kibana-default-base-url
...
fix typo in "kibana_base_url" variable name
2017-02-17 07:03:59 +01:00
45dbe6d542
Better control instance sizing
...
* Git ignore the user controlled config.rb.
* Ability to better control the number of instances running.
2017-02-16 13:09:34 -08:00
bff955ff7e
Mount host's /var/log into kubelet container
...
Kubelet is responsible for creating symlinks from /var/lib/docker to /var/log
to make fluentd logging collector work.
However without using host's /var/log those links are invisible to fluentd.
This is done on rkt configuration too.
2017-02-16 22:31:05 +03:00
80c0e747a7
Fix references to CoreOS and Container Linux by CoreOS
...
Fixes #967
2017-02-16 19:25:17 +03:00
617edda9ba
Adjust weave daemonset for serial deployment
2017-02-16 18:24:30 +03:00
7ab04b2e73
fix typo in "kibana_base_url" variable name
...
This typo lead to kibana_base_url being undefined and Kibana used
default base URL ("/") which is incorrect with default proxy-based
access.
2017-02-16 18:17:06 +03:00
e89056a614
Merge pull request #1033 from rutsky/reset-confirmation
...
ask confirmation before running reset.yml playbook
2017-02-16 16:10:58 +01:00
97ebbb9672
Add graceful upgrade process
...
Based on #718 introduced by rsmitty.
Includes all roles and all options to support deployment of
new hosts in case they were added to inventory.
Main difference here is that master role is evaluated first
so that master components get upgraded first.
Fixes #694
2017-02-16 17:18:38 +03:00
c02213e4af
force reset confirmation in CI
2017-02-16 16:35:01 +03:00
73e0aeb4ca
Merge pull request #1031 from mattymo/defaultcalico
...
Change default network plugin to Calico
2017-02-16 14:04:12 +01:00
a1ec6f401c
fix load balancer DNS name index evaluation in openssl.conf
...
Looks like OpenSSL still properly handles it, even with duplicated
"DNS.X" items.
2017-02-16 00:16:13 +03:00
5337d37a1c
ask confirmation before running reset.yml playbook
2017-02-15 21:05:46 +03:00
d92d955aeb
Merge pull request #985 from rutsky/check-mode-for-shell-commands
...
set "check_mode: on" for read-only "shell" steps that registers result
2017-02-15 17:53:41 +03:00
7ac84d386c
Merge pull request #1030 from rutsky/remove-swp
...
remove temporary file
2017-02-15 17:44:41 +03:00
8397baa700
remove temporary file
2017-02-15 17:40:05 +03:00
2d65554cb9
Change default network plugin to Calico
2017-02-15 16:15:22 +03:00
64e40d471c
Merge pull request #1028 from holser/ansible.cfg
...
Add timings to RECAP output.
2017-02-15 12:41:49 +03:00
c5ea29649b
Add timings to RECAP output.
...
- Starting from version 2.0 ansible has 'callback_whitelist =
profile_tasks'. It allows to analyze CI to find some time regressions.
- Add skippy to CI's ansible.cfg
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-14 18:47:02 +01:00
410438a0e3
Merge pull request #1008 from bradbeam/rkt-proxy
...
Adding support for proxy w/ rkt kubelet
2017-02-14 17:52:21 +01:00
fbaef7e60f
specify grace period for draining
2017-02-14 18:51:13 +03:00
017a813621
first cut of an upgrade process
2017-02-14 18:51:13 +03:00
4c891b8bb0
Adding support for proxy w/ rkt kubelet
2017-02-14 08:09:49 -06:00
948d9bdadb
Merge pull request #1019 from mattymo/issue1011
...
Update calico to v1.0.2
2017-02-14 14:01:25 +03:00
b7258ec3bb
Merge pull request #1013 from mattymo/remove_masqerade_all
...
Disable kube_proxy_masquerade_all
2017-02-14 14:00:29 +03:00
93cb5a5bd6
Merge pull request #1027 from hvnsweeting/master
...
Multiples doc fixes
2017-02-14 11:39:22 +01:00
d8f46c4410
Highlight important action
2017-02-14 17:18:25 +07:00
d0757ccc5e
Fix typo
2017-02-14 17:18:22 +07:00
f4f730bd8a
Merge pull request #1025 from holser/bug/961
...
Install pip on Ubuntu
2017-02-14 10:31:42 +01:00
f5e27f1a21
Merge pull request #1021 from holser/remove_deprecated
...
Replace always_run with check_mode
2017-02-14 11:25:58 +03:00
bb6415ddc4
Merge pull request #1015 from holser/rkt_ssl_ca_dirs
...
Set ssl_ca_dirs for rkt based on fact
2017-02-14 11:25:17 +03:00
2b6179841b
Install pip on Ubuntu
...
- Refactor 'Check if bootstrap is needed' as ansible loop. This allows
to add new elements easily without refactoring. Add pip to the list.
- Refactor 'Install python 2.x' task to run once if any of rc
codes != 0. Actually, need_bootstrap is array of hashes, so map will
allow to get single array of rc statuses. So if status is not zero it
will be sorted and the last element will be get, converted to bool.
Closes : #961
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-13 19:35:13 +01:00
e877cd2874
Merge pull request #1024 from holser/bug/961
...
Install pip on Ubuntu
2017-02-13 17:53:57 +01:00
203ddfcd43
Merge pull request #1023 from mattymo/fix_dnsmasq_cleanup
...
Clean up dnsmasq purge task
2017-02-13 19:50:01 +03:00
09847567ae
set "check_mode: no" for read-only "shell" steps that registers result
...
"shell" step doesn't support check mode, which currently leads to failures,
when Ansible is being run in check mode (because Ansible doesn't run command,
assuming that command might have effect, and no "rc" or "output" is registered).
Setting "check_mode: no" allows to run those "shell" commands in check mode
(which is safe, because those shell commands doesn't have side effects).
2017-02-13 18:53:41 +03:00
732ae69d22
Install pip on Ubuntu
...
Closes : #961
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-13 16:27:09 +01:00
2b10376339
When resolv.conf changes during host_resolvconf mode, we need to
...
restart the controller to get the new file configuration.
I'm not fond of this form and would like a better way, but this
seems to "work".
2017-02-13 09:20:02 -06:00
9667ac3baf
Merge pull request #1022 from kubernetes-incubator/ant31-patch-1
...
Document gitlab-runner.sh
2017-02-13 15:40:34 +01:00
b5be335db3
Clean up dnsmasq purge task
2017-02-13 17:30:15 +03:00
d33945780d
Document gitlab-runner.sh
2017-02-13 15:04:35 +01:00
5f4cc3e1de
Replace always_run with check_mode
...
always_run was deprecated in Ansible 2.2 and will be removed in 2.4
ansible logs contain "[DEPRECATION WARNING]: always_run is deprecated.
Use check_mode = no instead". This patch fix deprecation.
2017-02-13 15:00:56 +01:00
ec567bd53c
Update calico to v1.0.2
...
Also calico-cni to v1.5.6, calico-policy to v0.5.2
Fixes : #1011
2017-02-13 15:39:25 +03:00
aeadaa1184
Set ssl_ca_dirs for rkt based on fact
...
Since systemd kubelet.service has {{ ssl_ca_dirs }}, fact should be
gathered before writing kubelet.service.
Closes : #1007
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-13 13:28:29 +01:00
2f0f0006e3
Merge pull request #988 from mattymo/feat/rolling3
...
Add CI cases for testing upgrade from v2.0.1 release
2017-02-10 18:09:43 +03:00
de047a2b8c
Merge pull request #983 from vwfs/centos_kernel_upgrade
...
Add kernel upgrade for CentOS
2017-02-10 14:40:27 +03:00
86a35652bb
Merge pull request #1009 from mattymo/dnsmasq_updates
...
Enable reset of dnsmasq if manifest or config changes
2017-02-10 11:43:09 +01:00
6ae70e03cb
fixup upgrades for canal and weave
2017-02-10 13:27:41 +03:00
2c532cb74d
Disable kube_proxy_masquerade_all
...
Fixes #1012
2017-02-10 13:16:39 +03:00
779f20d64e
Merge pull request #1010 from bogdando/fixes
...
Fix misleading HA docs
2017-02-10 13:01:29 +03:00
89ae9f1f88
Merge pull request #1002 from code0x9/master
...
use ansible sysctl module for config ip forwarding
2017-02-10 10:40:18 +01:00
ed1ab11001
Fix misleading HA docs
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-02-10 10:28:27 +01:00
d2e010cbe1
Add kernel upgrade for CentOS
2017-02-10 09:29:12 +01:00
a44a0990f5
Enable reset of dnsmasq if manifest or config changes
2017-02-10 10:40:07 +04:00
2f88c9eefe
Merge pull request #989 from holser/kubelet_remedy
...
Kubernetes Reliability Improvements
2017-02-10 09:29:29 +03:00
60f1936a62
Merge pull request #1004 from galthaus/kubelet-load-modules
...
Allow kubelet to load kernel modules
2017-02-10 09:28:16 +03:00
ee15f99dd7
Add CI cases for testing upgrade from v2.0.1 release
...
These are manual trigger jobs, but should be run if any PR
impacts upgrades.
2017-02-10 10:20:58 +04:00
b0ee27ba46
Merge pull request #1006 from mattymo/fix_weave_upgrade
...
Enable weave upgrade from previous versions
2017-02-10 09:03:49 +03:00
067bbaa473
Merge pull request #1001 from idcrook/kargo-issue-1000-efk-enable
...
removed explicit role for efk in cluster.yml
2017-02-10 03:03:18 +01:00
c07d60bc90
Kubernetes Reliability Improvements
...
- Exclude kubelet CPU/RAM (kube-reserved) from cgroup. It decreases a
chance of overcommitment
- Add a possibility to modify Kubelet node-status-update-frequency
- Add a posibility to configure node-monitor-grace-period,
node-monitor-period, pod-eviction-timeout for Kubernetes controller
manager
- Add Kubernetes Relaibility Documentation with recomendations for
various scenarios.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-09 23:54:08 +01:00
29fd957352
Enable weave upgrade from previous versions
...
Raise readiness probe initial time to 60 (was 30)
2017-02-09 21:39:31 +03:00
ef10ce04e2
Merge pull request #1005 from rutsky/patch-2
...
fix kube_apiserver_ip/kube_apiserver_port description
2017-02-09 21:08:15 +03:00
f0269b28f4
fix kube_apiserver_ip/kube_apiserver_port description
2017-02-09 21:47:36 +04:00
0a7c6eb9dc
Merge pull request #998 from mattymo/fix_upgrade_daemonsets
...
Fix upgrade for all daemonset type resources
2017-02-09 20:02:21 +03:00
3f0c13af8a
Make kubelet_load_modules always present but false.
...
Update code and docs for that assumption.
2017-02-09 10:25:44 -06:00
fcd78eb1f7
Due to the nsenter and other reworks, it appears that
...
kubelet lost the ability to load kernel modules. This
puts that back by adding the lib/modules mount to kubelet.
The new variable kubelet_load_modules can be set to true
to enable this item. It is OFF by default.
2017-02-09 10:02:26 -06:00
17dfae6d4e
Merge pull request #999 from holser/decrease_weave_ram_limits
...
Lower weave RAM settings.
2017-02-09 13:19:12 +03:00
e414c25fd7
follow sysctl.conf file symlink if linked
2017-02-09 18:16:52 +09:00
34a71554ae
use ansible sysctl module for config ip forwarding
2017-02-09 17:28:44 +09:00
3b1a196c75
Merge pull request #902 from insequent/master
...
Adding vault role
2017-02-09 09:24:52 +01:00
105dbf471e
Merge pull request #993 from code0x9/master
...
enable proxy support on docker repository
2017-02-09 09:21:01 +01:00
d4d9f27a8d
removed explicit role for efk in cluster.yml
2017-02-08 20:48:28 -07:00
68df0d4909
Merge pull request #986 from vwfs/dnsmasq_system_nameservers
...
Also add the system nameservers to upstream servers in dnsmasq
2017-02-08 23:21:54 +01:00
9c572fe54b
Merge pull request #984 from rutsky/patch-2
...
fix typo: "explicetely"
2017-02-08 23:19:01 +01:00
245e05ce61
Vault security hardening and role isolation
2017-02-08 21:41:36 +00:00
f4ec2d18e5
Adding the Vault role
2017-02-08 21:31:28 +00:00
4124d84c00
Lower weave RAM settings.
...
- Since Weave 1.8.x was rewritten in Golang we may decrease RAM settings
to continue using g1-small for CI
2017-02-08 18:50:36 +01:00
3c713a3f53
Fix upgrade for all daemonset type resources
...
Daemonsets cannot be simply upgraded through a single API call,
regardless of any kubectl documentation. The resource must be
purged and then recreated in order to make any changes.
2017-02-08 18:16:00 +03:00
89e570493a
Also add the system nameservers to upstream servers in dnsmasq
...
Also make no-resolv unconditional again. Otherwise, we may end up in
a resolver loop. The resolver loop was the cause for the piling up
parallel queries.
2017-02-08 14:38:55 +01:00
16674774c7
Merge pull request #994 from mattymo/docker_save
...
Change docker save compress level to 1
2017-02-08 15:13:15 +03:00
0180ad7f38
Merge pull request #990 from mattymo/fix_cert_upgrade
...
Fix check for node-NODEID certs existence
2017-02-08 14:44:09 +03:00
bfd1ea1da1
Merge pull request #971 from bradbeam/efk
...
Adding EFK logging stack
2017-02-08 14:28:04 +03:00
3eacd0c871
Update rh_docker.repo.j2
2017-02-08 20:03:51 +09:00
d587270293
Merge pull request #992 from vwfs/host_mount_dev
...
Host mount /dev for kubelet
2017-02-08 13:45:22 +03:00
3eb13e83cf
Change docker save compress level to 1
...
Faster gzip improves CI deploy times by at least 2 mins.
Fixes #982
2017-02-08 13:25:11 +03:00
df761713aa
Merge branch 'master' of https://github.com/kubespray/kargo
2017-02-08 19:19:26 +09:00
de50f37fea
enable proxy support on docker repository
2017-02-08 19:19:08 +09:00
bad6076905
Merge pull request #987 from mattymo/etcd-retune
...
Re-tune ETCD performance params
2017-02-08 13:00:25 +03:00
c2bd76a22e
Merge pull request #956 from adidenko/update-netchecker
...
Update playbooks to support new netchecker
2017-02-08 10:09:46 +01:00
010fe30b53
Host mount /dev for kubelet
2017-02-08 09:55:51 +01:00
e5779ab786
Fix check for node-NODEID certs existence
...
Fixes upgrade from pre-individual node cert envs.
2017-02-07 21:06:48 +03:00
71e14a13b4
Re-tune ETCD performance params
...
Reduce election timeout to 5000ms (was 10000ms)
Raise heartbeat interval to 250ms (was 100ms)
Remove etcd cpu share (was 300)
Make etcd_cpu_limit and etcd_memory_limit optional.
2017-02-07 20:15:14 +03:00
491074aab1
Merge pull request #969 from mattymo/port_reserve
...
Prevent dynamic port allocation in nodePort range
2017-02-07 18:24:57 +03:00
54af533b31
Update playbooks to support new netchecker
...
Netchecker is rewritten in Go lang with some new args instead of
env variables. Also netchecker-server no longer requires kubectl
container. Updating playbooks accordingly.
2017-02-07 15:20:34 +01:00
4f13043d14
Merge pull request #976 from holser/bug/975
...
Improve Weave
2017-02-06 22:48:13 +03:00
6a5df4d999
fix typo: "pubilcally"
2017-02-06 21:35:02 +04:00
d41602088b
fix typo: "explicetely"
2017-02-06 21:29:11 +04:00
f3a0f73588
Prevent dynamic port allocation in nodePort range
...
kube_apiserver_node_port_range should be accessible only
to kube-proxy and not be taken by a dynamic port allocation.
Potentially temporary if https://github.com/kubernetes/kubernetes/issues/40920
gets fixed.
2017-02-06 20:01:16 +03:00
be1e1b41bd
Merge pull request #981 from kubernetes-incubator/revert-911-DROP_CAPS
...
Revert "Drop linux capabilities and rework users/groups"
2017-02-06 17:52:58 +03:00
fd30131dc2
Revert "Drop linux capabilities and rework users/groups"
2017-02-06 15:58:54 +03:00
5122697f0b
Improve Weave
...
- Remove weave CPU limits from .gitlab-ci.yml. Closes : #975
- Fix weave version in documentation
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-06 13:24:40 +01:00
b7bf502e02
Merge pull request #978 from rutsky/patch-1
...
remove extra `~`
2017-02-06 12:07:54 +01:00
3f70e3a843
Merge pull request #977 from holser/bug/973
...
Add .swp .swo .swn to .gitignore
2017-02-06 12:07:07 +01:00
cae2982d81
Merge pull request #911 from bogdando/DROP_CAPS
...
Drop linux capabilities and rework users/groups
2017-02-06 12:05:51 +01:00
b638c89556
remove extra ~
2017-02-06 15:05:24 +04:00
9bc51bd0e2
Merge pull request #972 from kubernetes-incubator/update-roadmap
...
Update roadmap.md
2017-02-06 12:03:09 +01:00
408b4f3f42
Add .swp .swo .swn to .gitignore
...
According to http://vimdoc.sourceforge.net/htmldoc/recover.html vim
creates .swo .swn .swp files. This patch adds them to .gitignore in all
directories recursively
Closes : #973
2017-02-06 12:00:49 +01:00
d818ac1d59
Update roadmap.md
2017-02-04 23:23:24 +01:00
bd1c764a1a
Merge pull request #963 from rutsky/bastion-ansible-host
...
handle both 'ansible_host' and 'ansible_ssh_host' in bastion configration
2017-02-04 15:42:39 -05:00
8f377ad8bd
Merge pull request #968 from rutsky/remove-deprecated-ubuntu-bootstrap
...
remove deprecated ubuntu-bootstrap.yml script
2017-02-04 15:36:49 -05:00
df3e11bdb8
Adding EFK logging stack
2017-02-03 16:27:08 -06:00
97dabbe997
remove deprecated ubuntu-bootstrap.yml script
...
Signed-off-by: Vladimir Rutsky <rutsky.vladimir@gmail.com >
2017-02-03 15:02:17 +03:00
5a7a3f6d4a
Merge pull request #949 from vmtyler/master
...
Fixes Support for OpenStack v3 credentials
2017-02-03 12:22:00 +01:00
b4327fdc99
handle both 'ansible_host' and 'ansible_ssh_host' in bastion configuration
...
'absible_ssh_host' is deprecated in Ansible 2.0 and at least
'contrib/inventory_builder/inventory.py' uses 'ansible_host' instead.
2017-02-02 18:34:53 +03:00
10f924a617
Merge pull request #927 from holser/nsenter_fix
...
Remove nsenter workaround
2017-02-02 18:18:15 +03:00
3dd6a01c8b
Merge pull request #901 from galthaus/dns-tweak
...
DHCP Hook protections
2017-02-02 16:47:16 +03:00
585afef945
Remove nsenter workaround
...
- Docker 1.12 and further don't need nsenter hack. This patch removes
it. Also, it bumps the minimal version to 1.12.
Closes #776
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-02-02 14:38:11 +01:00
bdc65990e1
Merge pull request #958 from holser/fix_weave_cpu
...
Fix CPU out of scope for Weave-net
2017-02-02 16:05:47 +03:00
f2e4ffcac2
Fix weave-net after upgrade to 1.82
...
- Set recommended CPU settings
- Cleans up upgrade to weave 1.82. The original WeaveWorks
daemonset definition uses weave-net name.
- Limit DS creation to master
- Combined 2 tasks into one with better condition
2017-02-02 10:31:58 +01:00
ae66b6e648
Merge pull request #957 from mattymo/weave-net-naming
...
Rename weave-kube to weave-net
2017-02-02 10:18:02 +03:00
923057c1a8
This continues the DHCP hook checks. Also protect the create side
...
if the system doesn't have any config files at all.
2017-01-31 09:56:27 -06:00
0f6e08d34f
Merge pull request #951 from mattymo/k8s-certs-scale
...
Fix cert distribution at scale
2017-01-31 18:49:26 +03:00
4889a3e2e1
Merge pull request #954 from artem-panchenko/improve_dnsmasq
...
Explicitly set config path for DNSMasq
2017-01-31 18:48:46 +03:00
39d87a96aa
Rename weave-kube to weave-net
...
Cleans up upgrade to weave 1.82. The original WeaveWorks
daemonset definition uses weave-net name.
2017-01-31 18:47:27 +03:00
e7c03ba66a
Merge pull request #955 from mattymo/disable-idempotency-check
...
Disable idempotency for ubuntu-weave-sep
2017-01-31 14:55:27 +01:00
08822ec684
Fix cert distribution at scale
...
Use stdin instead of bash args to pass node filenames and base64 data.
Use tempfile for master cert data
2017-01-31 16:27:45 +03:00
6463a01e04
Merge pull request #880 from bradbeam/weave-kube
...
Weave kube
2017-01-31 13:31:09 +03:00
0cf1850465
Disable idempotency for ubuntu-weave-sep
...
CI is failing 40% of the time due to errors in reset.
Let's disable idempotency check per-patch until we fix it.
Fixes #953
2017-01-31 13:23:27 +03:00
1418fb394b
Explicitly set config path for DNSMasq
...
When DNSMasq is configured to read its settings
from a folder ('-7' or '--conf-dir' option) it only
checks that the directory exists and doesn't fail if
it's empty. It could lead to a situation when DNSMasq
is running and handles requests, but not properly
configured, so some of queries can't be resolved.
2017-01-31 12:14:57 +02:00
e4eda88ca9
Merge pull request #944 from tureus/skip-cloud-config-on-etcd
...
Bugfix: skip cloud_config on etcd
2017-01-30 20:12:36 +03:00
71a3c97d6f
Merge pull request #943 from bradbeam/cilint
...
Fixing lint check for ci
2017-01-30 09:19:44 +01:00
1c3d2924ae
Merge pull request #947 from bradbeam/libs
...
Consolidating kube.py module
2017-01-29 00:02:32 +01:00
a11b9d28bd
Upgrading weave to weave-kube
2017-01-27 17:05:25 -06:00
b54eb609bf
Consolidating kube.py module
2017-01-27 11:28:11 -06:00
dc8ff413f9
Merge pull request #948 from mattymo/update_coreos
...
Update coreos-stable image
2017-01-27 17:53:17 +01:00
f8ffa1601d
Fixed for non-null output
2017-01-27 10:47:59 -05:00
da01bc1fbb
Updated OpenStack vars to check for tenant_id (v2) and project_id (v3)
2017-01-27 10:26:20 -05:00
a2079a9ca9
Update coreos-stable image
...
Our old coreos-stable image has docker 1.10
2017-01-27 16:20:40 +04:00
bbc8c09753
Using the command module instead of raw
...
Using the command module instead of raw.
Also fixed the syntax.
2017-01-26 16:28:48 +01:00
a627299468
Merge pull request #941 from adidenko/use_ansible_hostname_in_calico
...
Switch to ansible_hostname in calico
2017-01-26 13:06:35 +03:00
e5fdc63bdd
Bugfix: skip cloud_config on etcd
2017-01-25 14:09:21 -08:00
fe83e70074
Fixing lint check for ci
2017-01-25 09:54:32 -06:00
46c177b982
Switch to ansible_hostname in calico
...
For consistancy with kubernetes services we should use the same
hostname for nodes, which is 'ansible_hostname'.
Also fixing missed 'kube-node' in templates, Calico is installed
on 'k8s-cluster' roles, not only 'kube-node'.
2017-01-25 11:49:58 +01:00
1df50adc1c
Merge pull request #933 from frozenice/hide-skipped-hosts
...
add skippy stdout callback
2017-01-25 10:33:20 +01:00
b6cd9a4c4b
Merge pull request #938 from bradbeam/ci
...
Splitting out moderator check from syntax check
2017-01-25 10:12:11 +01:00
2333ec4d1f
Splitting out moderator check from syntax check
...
- Attempt to clarify CI runs from contributors
2017-01-24 23:05:12 -06:00
85a8a54d3e
Merge pull request #935 from sc68cal/terraform_groupvars_update
...
Update the group_vars for Terraform
2017-01-24 11:33:17 +01:00
7294a22901
Merge pull request #934 from frozenice/use-api-pwd-for-root
...
also use kube_api_pwd for root account
2017-01-24 11:24:02 +01:00
f4b7474ade
Merge pull request #926 from adidenko/fix-calico-rr-for-masters
...
Fix calico-rr peering with k8s masters
2017-01-24 12:38:52 +03:00
9428321607
Merge pull request #932 from vwfs/centos_pin_docker_version
...
Pin docker version on RedHat and CentOS to the desired version
2017-01-24 12:21:50 +03:00
882544446a
Merge pull request #928 from sc68cal/terraform_identity_version
...
Specify the version of the credentials to download from Horizon
2017-01-24 12:21:27 +03:00
73160c9b90
Update terraform's group_vars to be a symlink
...
That way, it will not become stale.
Related bug #929
2017-01-23 16:08:37 -05:00
2184d6a3ff
Specify the version of the credentials to download from Horizon
...
More recent versions of OpenStack Horizon provide Identity v2 and
Identity v3 versions of the RC file.
2017-01-23 14:52:51 -05:00
6e35895b44
also use kube_api_pwd for root account
...
This makes it a bit more secure. Also the password can now be changed with a (inventory) variable (no need to edit all.yml).
2017-01-23 19:09:30 +01:00
8009ff8537
add skippy stdout callback
...
It removes the teal lines when a host is skipped for a task. This makes the output less spammy and much easier to read. Empty TASK blocks are still included in the output, but that's ok.
2017-01-23 18:53:14 +01:00
9bf792ce0b
Pin docker version on RedHat and CentOS to the desired version
2017-01-23 12:39:54 +01:00
f05aaeb329
Fix calico-rr peering with k8s masters
...
Calico-rr is broken for deployments with separate k8s-master and
k8s-node roles. In order to fix it we should peer k8s-cluster
nodes with calico-rr, not just k8s-node. The same for peering
with routers.
Closes #925
2017-01-23 10:19:09 +01:00
1bdf34e7dc
Merge pull request #915 from bradbeam/ci
...
Sorting ansible args, fixed ci cluster_mode
2017-01-20 09:43:10 +01:00
cd25bfca91
Merge pull request #884 from mattymo/inventory_builder_scale
...
Add scale thresholds to split etcd and k8s-masters
2017-01-20 09:34:45 +01:00
1b621ab81c
Merge pull request #873 from crodetsky/fix_test_cases
...
Genericize test cases and namespace create pod
2017-01-20 09:30:35 +01:00
cb2e5ac776
Drop linux capabilities and rework users/groups
...
* Drop linux capabilities for unprivileged containerized
worlkoads Kargo configures for deployments.
* Configure required securityContext/user/group/groups for kube
components' static manifests, etcd, calico-rr and k8s apps,
like dnsmasq daemonset.
* Rework cloud-init (etcd) users creation for CoreOS.
* Fix nologin paths, adjust defaults for addusers role and ensure
supplementary groups membership added for users.
* Add netplug user for network plugins (yet unused by privileged
networking containers though).
* Grant the kube and netplug users read access for etcd certs via
the etcd certs group.
* Grant group read access to kube certs via the kube cert group.
* Remove priveleged mode for calico-rr and run it under its uid/gid
and supplementary etcd_cert group.
* Adjust docs.
* Align cpu/memory limits and dropped caps with added rkt support
for control plane.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-20 08:50:42 +01:00
8ce32eb3e1
Merge pull request #905 from galthaus/async-runs
...
Add tasks to ensure that the first nodes have their directories for cert gen
2017-01-19 18:32:27 +03:00
aae0314bda
Merge pull request #904 from galthaus/nginx-port-config
...
Add nginx local balancer port configuration variable
2017-01-19 18:31:57 +03:00
35d5248d41
Merge pull request #913 from galthaus/apps-master-only
...
Ansible apps should only check for api-server running on the master.
2017-01-19 18:30:58 +03:00
0ccc2555d3
Merge pull request #917 from mattymo/rkt_resolvconf
...
Fix setting resolvconf when using rkt deploy mode
2017-01-19 18:30:21 +03:00
b26a711e96
Merge pull request #916 from mattymo/update_ansible
...
Update Ansible to 2.2.1
2017-01-19 18:13:45 +03:00
2218a052b2
Merge pull request #921 from mattymo/docker113
...
Add docker 1.13, update 1.12 to 1.12.6
2017-01-19 18:13:21 +03:00
40f419ca54
Merge pull request #922 from holser/dnsmasq_dns-forward-max
...
Allow to specify number of concurrent DNS queries
2017-01-19 18:08:04 +03:00
f742fc3dd1
Add scale thresholds to split etcd and k8s-masters
...
Also adds calico-rr group if there are standalone etcd nodes.
Now if there are 50 or more nodes, 3 etcd nodes will be standalone.
If there are 200 or more nodes, 2 kube-masters will be standalone.
If thresholds are exceeded, kube-node group cannot add nodes that
belong to etcd or kube-master groups (according to above statements).
2017-01-19 17:30:56 +03:00
33fbcc56d6
Add docker 1.13, update 1.12 to 1.12.6
...
Fixes #903
2017-01-19 13:58:36 +03:00
61d05dea58
Allow to specify number of concurrent DNS queries
...
ndots creates overhead as every pod creates 5 concurrent connections
that are forwarded to sky dns. Under some circumstances dnsmasq may
prevent forwarding traffic with "Maximum number of concurrent DNS
queries reached" in the logs.
This patch allows to configure the number of concurrent forwarded DNS
queries "dns-forward-max" as well as "cache-size" leaving the default
values as they were before.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-01-19 11:47:37 +01:00
8a821060a3
Update Ansible to 2.2.1
2017-01-19 13:46:46 +03:00
0d44599a63
Add explicit name printing in task names for deletgated task during
...
cert creation
2017-01-18 14:06:50 -06:00
8e29b08070
Genericize test cases and namespace create pod
...
This change modifies 020_check-create-pod and 030_check-network test cases to
target `kube-master[0]` instead of `node1` as these tests can be useful in
deployments that do not use the same naming convention as the basic tests.
This change also modifies 020_check-create-pod to namespace into a `test`
namespace allowing the `get pods` command to get its expected number of
running containers.
Closes #866 and #867 .
2017-01-18 14:52:35 -05:00
b6c3e61603
Fix setting resolvconf when using rkt deploy mode
...
rkt deploy mode doesn't create {{ bin_dir }}/kubelet, so
let's rely on kubelet.env file instad.
2017-01-18 19:18:47 +03:00
dc08b75c6a
Sorting ansible args, fixed ci cluster_mode
...
- s/separated/separate/g for cluster_mode so it now generates the correct number of instances
2017-01-18 08:03:04 -06:00
5420fa942e
Merge pull request #897 from holser/flush_handlers_before_etcd
...
Flush handlers before etcd restart
2017-01-18 12:27:01 +03:00
1ee33d3a8d
Merge pull request #910 from mattymo/escape_curly
...
Fix ansible 2.2.1 handling of registered vars
2017-01-18 11:13:01 +03:00
61dab8dc0b
Should only check for api-server running on the master.
...
If this runs on other nodes, it will fail the playbook.
2017-01-17 15:57:34 -06:00
0022a2b29e
Add doc updates.
2017-01-17 13:15:48 -06:00
b2a27ed089
Fix bash completion installation
2017-01-17 20:36:58 +03:00
d8ae50800a
Work around escaping curly braces for docker inspect
2017-01-17 20:35:38 +03:00
43fa72b7b7
Flush handlers before etcd restart
...
systemctl daemon-reload should be run before when task modifies/creates
union for etcd. Otherwise etcd won't be able to start
Closes #892
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com >
2017-01-17 15:04:25 +01:00
36b62b7270
Merge pull request #896 from bogdando/idempot_check
...
Add idempotency checks for CI
2017-01-17 14:21:32 +01:00
73204c868d
Merge pull request #909 from mattymo/docker-upgrade
...
Always trigger docker restart when docker package changes
2017-01-17 11:37:42 +03:00
2ee889843a
Merge pull request #900 from galthaus/cn-length
...
Cert fail if inventory names too long
2017-01-16 23:39:32 +03:00
74b78e75a1
Always trigger docker restart when docker package changes
...
Docker upgrade doesn't auto-restart docker, causing failures
when trying to start another container
2017-01-16 17:52:28 +03:00
6905edbeb6
Add a variable that defaults to kube_apiserver_port that defines
...
the which port the local nginx proxy should listen on for HA
local balancer configurations.
2017-01-14 23:38:07 -06:00
6c69da1573
This PR adds/or modifies a few tasks to allow for the playbook to
...
be run by limit on each node without regard for order.
The changes make sure that all of the directories needed to do
certificate management are on the master[0] or etcd[0] node regardless
of when the playbook gets run on each node. This allows for separate
ansible playbook runs in parallel that don't have to be synchronized.
2017-01-14 23:24:34 -06:00
e776dfd800
Add idempotency checks for CI
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-13 17:16:03 +01:00
95bf380d07
If the inventory name of the host exceeds 63 characters,
...
the openssl tools will fail to create signing requests because
the CN is too long. This is mainly a problem when FQDNs are used
in the inventory file.
THis will truncate the hostname for the CN field only at the
first dot. This should handle the issue for most cases.
2017-01-13 10:02:23 -06:00
2a61ad1b57
Merge pull request #895 from mattymo/same_apiserver_certs
...
Use only one certificate for all apiservers
2017-01-13 13:05:06 +01:00
80703010bd
Use only one certificate for all apiservers
...
https://github.com/kubernetes/kubernetes/issues/25063
2017-01-13 14:03:20 +03:00
e88c10670e
Merge pull request #891 from galthaus/selinux-order
...
preinstall fails on AWS CentOS7 image
2017-01-13 11:51:18 +01:00
2a2953c674
Merge pull request #893 from kubernetes-incubator/undo_hostresolvconf
...
Don't try to delete kargo specific config from dhclient when file does not exist
2017-01-13 11:35:46 +01:00
1054f37765
Don't try to delete kargo specific config from dhclient when file does not exist
...
Also remove the check for != "RedHat" when removing the dhclient hook,
as this had also to be done on other distros. Instead, check if the
dhclienthookfile is defined.
2017-01-13 10:56:10 +01:00
f77257cf79
When running on CentOS7 image in AWS with selinux on, the order of
...
the tasks fail because selinux prevents ip-forwarding setting.
Moving the tasks around addresses two issues. Makes sure that
the correct python tools are in place before adjusting of selinux
and makes sure that ipforwarding is toggled after selinux adjustments.
2017-01-12 10:12:21 -06:00
f004cc07df
Merge pull request #830 from mattymo/k8sperhost
...
Generate individual certificates for k8s hosts
2017-01-12 12:42:14 +01:00
065a4da72d
Merge pull request #886 from kubernetes-incubator/undo_hostresolvconf
...
Add tasks to undo changes to hosts /etc/resolv.conf and dhclient configs
2017-01-12 12:27:22 +01:00
98c7f2eb13
Merge pull request #887 from bogdando/docs
...
Clarify major/minor/maintainance releases
2017-01-12 11:55:00 +01:00
d332502d3d
Clarify major/minor/maintainance releases
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-12 11:25:04 +01:00
a7bf7867d7
Add tasks to undo changes to hosts /etc/resolv.conf and dhclient configs
2017-01-11 16:56:16 +01:00
c63cda7c21
Merge pull request #883 from bogdando/docs
...
Docs updates
2017-01-11 15:40:41 +01:00
caab0cdf27
Docs updates
...
Fix mismatching inventory examples.
Add command examples.
Clarify groups use cases.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-11 15:39:35 +01:00
1191876ae8
Merge pull request #882 from bogdando/releases
...
Clarify release policy
2017-01-11 11:45:47 +01:00
fa51a589ef
Clarify release policy
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-11 11:18:21 +01:00
3f274115b0
Generate individual certificates for k8s hosts
2017-01-11 12:58:07 +03:00
3b0918981e
Merge pull request #878 from bradbeam/rkt-cni
...
Adding /opt/cni /etc/cni to rkt run kubelet
2017-01-11 12:22:04 +03:00
a327dfeed7
Merge pull request #881 from bogdando/docs
...
Fix inventory generator link
2017-01-10 17:09:35 +01:00
d8cef34d6c
Merge pull request #872 from mattymo/bug868
...
Bind nginx localhost proxy to localhost
2017-01-10 17:09:25 +01:00
6fb6947feb
Fix inventory generator link
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-10 17:02:28 +01:00
db8173da28
Adding /opt/cni /etc/cni to rkt run kubelet
2017-01-10 08:48:58 -06:00
bcdfb3cfb0
Merge pull request #793 from kubernetes-incubator/fix_dhclientconf_path
...
Fix wrong path of dhclient on CentOS+Azure
2017-01-10 13:23:55 +01:00
79aeb10431
Merge pull request #858 from bradbeam/calicoctl-canal
...
Misc updates for canal
2017-01-10 12:24:59 +01:00
5fd2b151b9
Merge pull request #874 from bogdando/fix
...
Fix docs formatting
2017-01-09 17:57:05 +01:00
3c107ef4dc
Fix docs formatting
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-09 17:53:05 +01:00
a5f93d6013
Merge pull request #862 from bogdando/docs
...
Update docs
2017-01-09 17:43:36 +01:00
38338e848d
Merge pull request #860 from adidenko/fix-calico-rr-certs
...
Fix etcd cert generation for calico-rr role
2017-01-09 18:34:02 +03:00
e9518072a8
Update docs
...
Link docs to README, update README with recent info.
Update comparsions, add kubeadm vs kargo.
Better describe variables precedence UX impact.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-09 16:32:55 +01:00
10dbd0afbd
Merge pull request #871 from mattymo/fix_system_search_domains
...
Fix docker dns host scenario with no search domains
2017-01-09 15:52:12 +01:00
e22f938ae5
Bind nginx localhost proxy to localhost
...
This proxy should only be listening for local connections, not 0.0.0.0.
Fixes #868
2017-01-09 17:19:54 +03:00
1dce56e2f8
Fix docker dns host scenario with no search domains
...
Fixes scenario where docker-dns.conf tries to create an empty
search entry
2017-01-09 16:36:44 +03:00
1f0b2eac12
Merge pull request #815 from adidenko/calico-1.0.0
...
Set latest stable versions for Calico images
2017-01-09 13:57:41 +01:00
d9539e0f27
Fix etcd cert generation for calico-rr role
...
"etcd_node_cert_data" variable is undefinded for "calico-rr" role.
This patch adds "calico-rr" nodes to task where "etcd_node_cert_data"
variable is registered.
2017-01-09 12:06:25 +01:00
0909368339
Set latest stable versions for Calico images
...
Change version for calico images to v1.0.0. Also bump versions for
CNI and policy controller.
Also removing images repo and tag duplication from netchecker role
2017-01-09 12:05:49 +01:00
091b634ea1
Merge pull request #799 from kubernetes-incubator/docker_dns
...
Implement "dockerd --dns-xxx" based dns mode
2017-01-09 11:38:02 +01:00
d18804b0bb
Merge pull request #865 from rsmitty/coreos-family-vars
...
remove assertion for family not being CoreOS
2017-01-09 10:36:13 +01:00
a8b5b856d1
Only use default resolver in dnsmasq when we are using host_resolvconf mode
2017-01-06 10:21:07 +01:00
1d2a18b355
Introduce dns_mode and resolvconf_mode and implement docker_dns mode
...
Also update reset.yml to do more dns/network related cleanup.
2017-01-05 23:38:51 +01:00
4a59340182
remove assertion for family not being CoreOS
2017-01-05 13:36:25 -05:00
aa33613b98
Merge pull request #863 from bogdando/coreos_facts
...
[WIP] Better fix for different CoreOS os family facts
2017-01-05 13:22:35 -05:00
cf042b2a4c
Create network policy directory for canal
2017-01-05 10:54:27 -06:00
65c86377fc
Adding calicoctl to canal deployment
2017-01-05 10:54:27 -06:00
96372c15e2
Merge pull request #864 from bogdando/nopreemtible
...
Non preempt GCE instances for CI
2017-01-05 17:22:20 +01:00
f365b32c60
Non preempt GCE instances for CI
...
Revert preemptible GCE instances for CI as they are too
much of UNREACHABLE. Later we could return to them after
figured out how to mitigate preepted instances with
automated CI retries.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-05 17:08:57 +01:00
5af2c42bde
Better fix for different CoreOS os family facts
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-05 16:32:08 +01:00
c0400e9db5
Merge pull request #861 from bogdando/rename_coreos
...
Rename CoreOS fact
2017-01-05 14:53:06 +01:00
f7447837c5
Rename CoreOS fact
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-05 14:02:29 +01:00
a4dbee3e38
Merge pull request #859 from bogdando/minor_rkt
...
Minor fix to rkt version in group vars
2017-01-05 12:14:01 +01:00
fb7899aa06
Minor fix to rkt version in group vars
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-05 11:11:03 +01:00
6d54d9f49a
Merge pull request #784 from bradbeam/rkt
...
rkt support for control plane ( etcd + kubelet )
2017-01-05 10:34:49 +01:00
6546869c42
Merge branch 'master' into rkt
2017-01-05 10:34:18 +01:00
aa79a02f9c
Merge pull request #854 from bogdando/pipeline
...
Fix pipeline premoderation/unit-tests
2017-01-04 18:00:48 +01:00
447febcdd6
Fix pipeline premoderation/unit-tests
...
Do not run unit-tests for master merges.
Fix the permissive "null" user.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-04 17:52:27 +01:00
61732847b6
Merge pull request #853 from bogdando/premoderated_builds
...
Do not auto-trigger gitlab CI pipeline on PRs
2017-01-04 15:20:50 +01:00
fcd9d97f10
Do not auto-trigger gitlab CI pipeline on PRs
...
For security and resources utilization reasons, do not auto-start CI
for opened/updated PRs.
A member of the kubernetes-incubator github org has first to approve
that the PR is reasonable to test by putting the "ci check this" into
the PR's comments.
If approved that way, the CI pipeline starts as always. Only the 1st step
of the pipeline is premoderatied, the rest will follow each over on
success.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-04 13:52:31 +01:00
b6b5d52f78
Merge pull request #852 from intelsdi-x/issue_template
...
Issue template proposal
2017-01-04 13:28:39 +01:00
4b6f29d5e1
Adding kubelet in rkt
2017-01-03 14:49:48 -06:00
f5d5230034
Merge pull request #843 from bogdando/fix_certs_k8s_apps
...
Fix cert paths for flannel/calico policy apps
2017-01-03 17:53:07 +01:00
8dc19374cc
Allowing etcd to run via rkt
2017-01-03 10:10:38 -06:00
a8f2af0503
Adding initial rkt support
2017-01-03 10:08:43 -06:00
d8a2941e9e
Fix cert paths for flannel/calico policy apps
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-03 16:12:54 +01:00
55b6d0bbdd
GITHUB: Added issue template file
2017-01-03 16:09:35 +01:00
a3c044b657
Merge pull request #848 from kubernetes-incubator/upgrade_docker_1_12
...
Upgrade docker version and do some cleanups for unsupported distros/docker versions
2017-01-03 15:39:57 +01:00
4a2abc1a46
Merge pull request #845 from bogdando/docs
...
Comment cloud providers private networks use cases
2017-01-03 10:50:39 +01:00
410c78f2e5
Merge pull request #849 from intelsdi-x/ansible_version
...
README: changed minimal ansible version
2017-01-03 10:35:20 +01:00
3b5830a1cf
README: changed minimal ansible version
2017-01-02 20:37:58 +01:00
ab7df10a7d
Upgrade docker version and do some cleanups for unsupported distros/docker versions
2017-01-02 18:05:50 +01:00
93663e987c
Merge pull request #847 from bogdando/bug_769
...
Fix etc hosts for cluster nodes
2017-01-02 17:47:23 +01:00
6114266b84
Merge pull request #846 from bogdando/drop_sysv
...
Drop non systemd OS types support
2017-01-02 16:51:51 +01:00
97f96a6376
Fix etc hosts for cluster nodes
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-02 13:20:51 +01:00
58062be2a3
Drop non systemd OS types support
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-02 12:14:03 +01:00
031cf565ec
Comment cloud providers private networks use cases
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2017-01-02 11:40:56 +01:00
5ec4efe88e
Merge pull request #814 from swizzlr/patch-1
...
Add section describing Kargo vs Kops
2016-12-30 13:58:28 +01:00
e02aae71a1
Merge pull request #841 from mattymo/bug832
...
Fix etcd cert generation to support large deployments
2016-12-30 13:15:20 +01:00
1f9f885379
Fix etcd cert generation to support large deployments
...
Due to bash max args limits, we should pass all node filenames and
base64-encoded tar data through stdin/stdout instead.
Fixes #832
2016-12-30 12:55:26 +03:00
80509673d2
Update README.md
2016-12-29 19:41:34 +00:00
b902110d75
Create comparisons.md
2016-12-29 19:41:11 +00:00
2c23027794
Merge pull request #838 from mattymo/invb_enhance
...
Add yaml/json loader for inventory
2016-12-29 13:19:19 +01:00
15589dd88f
Merge pull request #816 from bogdando/paths_units
...
Systemd units, limits, and bin path fixes
2016-12-29 15:18:01 +03:00
1a7f52c889
Merge pull request #837 from bogdando/notall
...
Rework wildcards matching all nodes
2016-12-29 12:01:30 +01:00
24cbf2287c
Update inventory.py
2016-12-29 10:57:58 +03:00
a56d9de502
Systemd units, limits, and bin path fixes
...
* Add restart for weave service unit
* Reuse docker_bin_dir everythere
* Limit systemd managed docker containers by CPU/RAM. Do not configure native
systemd limits due to the lack of consensus in the kernel community
requires out-of-tree kernel patches.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-28 15:49:42 +01:00
95e14ffb54
Add yaml/json loader for inventory
2016-12-28 16:50:31 +03:00
6139ee3add
Merge pull request #831 from mattymo/fix_separate_etcd
...
Fix creation and sync of etcd certs
2016-12-28 13:56:42 +01:00
f0c0390646
Fix creation and sync of etcd certs
...
Admin certs only go to etcd nodes
Only generate cert-data for nodes that need sync
2016-12-28 14:21:17 +04:00
e7a1949d85
Merge pull request #818 from mattymo/calico-rr-certs
...
Fix calico-rr to use etcd certs instead of kube certs
2016-12-28 08:47:16 +03:00
ff8cb46bb9
Rework wildcards matching all nodes
...
* Re-enable ansible_ssh_pipelining as expected for the cluster.yml
* Do not use 'all' wildcasts for hosts, limit only to k8s-cluster, etcd,
calico-rr groups instead. Other nodes in inventory are out of Kargo
scope and it's up to users how to manage them.
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2016-12-27 17:02:08 +01:00
399cb9707a
Merge pull request #828 from bogdando/triggers
...
Rework CI triggers/pipeline
2016-12-27 15:20:42 +01:00
6d9cd2d720
Fix calico-rr to use etcd certs instead of kube certs
2016-12-27 17:04:50 +03:00
622537bd33
Rework CI triggers/pipeline
...
* Run CI triggers in one step
* Run all test matrix for triggers
* Switch back to g1-small
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2016-12-27 14:39:52 +01:00
9169f840c2
Merge pull request #827 from bogdando/noreds
...
Rework ignore_errors to report no reds
2016-12-27 14:37:38 +01:00
79996b557b
Rework ignore_errors to report no reds
...
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru >
2016-12-27 13:00:50 +01:00
be8e5e1fdc
Merge pull request #805 from bogdando/dnsmasq_armors
...
Do not forward private domains for upstream resolvers
2016-12-26 14:50:39 +01:00
bb0c3537cb
Do not forward bogus domains for upstream resolvers
...
Also fix kube log level 4 to log dnsmasq queries.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-23 11:53:14 +01:00
36a5143478
Merge pull request #804 from mattymo/inventory_builder
...
Add inventory builder python script
2016-12-23 13:22:41 +03:00
7b86b87dca
Add inventory builder python script
...
Includes tox support for running unit tests.
Small note added to getting-started guide for using
inventory_builder.py
Also adds manual-only unit test.
2016-12-23 13:00:56 +03:00
53affb9bc0
Update README.md
2016-12-22 22:46:23 +00:00
0fe2b66097
Merge pull request #813 from mattymo/etcdcertflags
...
Adjust etcd server certificates
2016-12-22 16:37:15 -05:00
385f7f6e75
Update etcd.j2
2016-12-22 22:29:24 +03:00
9f1e3db906
Adjust etcd server certificates
...
ETCD doesn't need cert/key options set. It only requires peer
cert options.
2016-12-22 23:05:17 +04:00
b63d900625
Workaround etcdctl not yet being installed ( #797 )
...
workaround case for etcdctl not yet being installed, only allow for return code of 0 (no error)
2016-12-22 12:41:38 -05:00
ac295de64c
Merge pull request #812 from mattymo/vars_doc
...
Document commonly used Kargo vars
2016-12-22 18:01:23 +01:00
111571b67a
Document commonly used Kargo vars
2016-12-22 19:57:39 +03:00
a4bce333a3
Merge pull request #760 from genti-t/issue-748-flannel-options
...
Fix Flannel network on CoreOS
2016-12-22 19:02:31 +03:00
c53a6eca86
Merge pull request #798 from mattymo/perhostssl7
...
Individual etcd ssl certs
2016-12-22 19:02:15 +03:00
7c2785e083
Fix Flannel network on CoreOS
...
Resolves : #748
2016-12-22 16:50:04 +01:00
aab4149ab0
Merge pull request #809 from bogdando/ci_forks
...
Raise ansible forks for CI test config
2016-12-22 15:55:47 +01:00
89a4b92753
Raise ansible forks for CI test config
...
As we raised the flavor from small to standard, raise the ansible
forks from default 5 to 20 to speed up deployment.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-22 15:12:47 +01:00
5414a410bd
Merge pull request #787 from bogdando/coreos_weave_manual
...
Add coreos-alpha weave manual CI builds
2016-12-22 14:32:03 +01:00
ad796d188d
Individual etcd ssl certs
...
Includes hooks for triggering calico, kubelet, and kube-apiserver restarts
if etcd certs changed.
2016-12-22 13:31:11 +03:00
de8cd5cd7f
Merge pull request #786 from mattymo/bug777
...
Add wait for kube-apiserver to kubernetes-apps
2016-12-22 11:02:50 +01:00
cc93c4fe12
Merge pull request #801 from rsmitty/issue-800
...
create systemd drop-in path if not existent
2016-12-22 11:02:05 +01:00
c456a311d6
Add coreos-alpha weave manual CI builds
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-22 11:00:31 +01:00
ed4b4b8482
Merge pull request #791 from kubernetes-incubator/premptilble_gce_vm
...
Use preemptible instances
2016-12-22 11:00:08 +01:00
8e4e3998dd
Fix wrong path of dhclient on CentOS+Azure
...
This was alredy fixed in #755 but had to be reverted. This PR should be
more intelligent about deciding which path to use.
2016-12-21 21:51:07 +01:00
8d9f207836
create systemd drop-in path if not existent
2016-12-21 13:06:12 -05:00
2a3164e040
Merge pull request #794 from kubernetes-incubator/revert-722-dnsmasq_armors
...
Revert "Do not forward private domains for upstream resolvers"
2016-12-21 17:39:11 +01:00
f10d1327d4
Revert "Do not forward private domains for upstream resolvers"
2016-12-21 15:24:17 +01:00
d314174149
Add wait for kube-apiserver to kubernetes-apps
...
Fixes #777
2016-12-21 15:39:39 +03:00
9885fe73dc
use standard vm
2016-12-21 11:43:52 +01:00
f2cf323ecf
Merge pull request #782 from samos123/master
...
Vagrant, skip synchronize tasks (bug #697 )
2016-12-21 11:18:20 +01:00
cf4f2b4f14
Merge pull request #780 from bogdando/downloads
...
Add download_always_pull check and sha256 for docker images
2016-12-21 11:02:57 +01:00
fbc13ea6dc
Use preemptible instances
2016-12-21 09:27:21 +01:00
b8bc8eee41
Add download_always_pull check and sha256 for docker images
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-20 17:02:09 +01:00
11380769cd
Merge pull request #722 from bogdando/dnsmasq_armors
...
Do not forward private domains for upstream resolvers
2016-12-20 14:25:17 +01:00
ee62c99eb1
Merge pull request #785 from bogdando/pipelines
...
Add gitlab CI auto builds for triggers
2016-12-20 14:18:19 +01:00
843d439898
Merge pull request #775 from kubernetes-incubator/register_master
...
Register master node as unschedulable
2016-12-20 14:17:55 +01:00
8d5da5cfca
Add gitlab CI auto builds for triggers
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-20 11:23:13 +01:00
5a2c75a3cb
Fix #781 prevent vagrant asking for password
...
When download_run_once=True it will try to first download images to host
running vagrant, then upload the images from vagrant host to the vagrant
vms. While trying to upload the images it will ask for a the vagrant
linux user password.
For small environments this behaviour is unnecessary hence changing the
default to download_run_once=False inside the Vagrantfile seems like a
good fix.
2016-12-19 11:52:18 -08:00
c1e4cef75b
Merge pull request #774 from kubernetes-incubator/ant31-patch-2
...
check if calico_peer_rr is defined
2016-12-19 18:19:03 +01:00
5d73b9ccc5
Merge pull request #778 from mattymo/fix_etcd_upgrade
...
Fix etcd to-SSL upgrade and task register vars
2016-12-19 15:20:07 +01:00
9efe1fe09d
Merge pull request #779 from bogdando/ci_triggers
...
Allow triggered gitlab CI builds
2016-12-19 15:18:43 +01:00
4bbec963e6
Allow triggered gitlab CI builds
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-19 13:43:04 +01:00
348fc5b109
Fix etcd to-SSL upgrade and task register vars
2016-12-19 15:05:49 +03:00
101864c050
Do not forward private domains for upstream resolvers
...
Also fix kube log level 4 to log dnsmasq queries.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
Co-authored-by: Matthew Mosesohn <mmosesohn@mirantis.com >
2016-12-19 11:01:41 +01:00
fe150d4e4d
Register master node as unschedulable
...
Also refactor generation of kubelet args to not repeat args.
2016-12-19 10:47:43 +01:00
048ac264a3
Update main.yml
2016-12-17 20:22:39 +01:00
add7570a94
Merge pull request #770 from kubernetes-incubator/ant31-patch-2
...
Remove 'bastion' as default conf
2016-12-17 12:42:51 +01:00
db77bd9588
Remove 'bastion' as default conf
2016-12-17 12:42:30 +01:00
768fe05eea
Merge pull request #704 from vwfs/bastion_hosts
...
Add support for bastion hosts
2016-12-17 12:08:49 +01:00
1c48a001df
Merge pull request #763 from bogdando/resolver_fallback
...
Fallback to default resolver if no nameservers
2016-12-17 12:03:41 +01:00
a7276901a3
Merge pull request #766 from kubernetes-incubator/docker12point5
...
Update docker to 1.12.5
2016-12-17 11:55:06 +01:00
b0fa189b3c
Merge pull request #764 from kubernetes-incubator/1.5
...
Bump kube_version to v1.5.1
2016-12-16 22:15:07 +01:00
cc57152cc0
Merge pull request #768 from bogdando/gitlab_pipes
...
Rework Gitlab pipeline stages for PRs/merges
2016-12-16 18:19:18 +01:00
046f3eebcb
Rework Gitlab pipeline stages for PRs/merges
...
Run 1 of each part1/2/special for Gitlab CI only for PRs
Remaining 2/3 of each stage are manual steps for master only (merges)
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-16 16:33:14 +01:00
ea874899c7
Merge pull request #767 from kubernetes-incubator/revert-755-fix_dhclientconf_path
...
Revert "Fix wrong path for dhclient.conf on RedHat/CentOS"
2016-12-16 15:50:06 +01:00
1782d19e1f
Fallback to default resolver if no nameservers
...
Current design expects users to define at least one
nameserver in the nameservers var to backup host OS DNS config
when the K8s cluster DNS service IP is not available and hosts
still have to resolve external or intranet FQDNs.
Fix undefined nameservers to fallback to the default_resolver.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-16 14:51:34 +01:00
e2476fbd0b
Revert "Fix wrong path for dhclient.conf on RedHat/CentOS"
2016-12-16 14:49:26 +01:00
07cd81ef58
Update docker to 1.12.5
...
Note the new ubuntu/debian version string change:
https://github.com/docker/docker/issues/29355
2016-12-16 16:30:46 +03:00
92f542938c
Merge pull request #745 from kubernetes-incubator/fix_weave_start
...
Fix weave restart after docker daemon restart
2016-12-16 14:06:48 +01:00
9df2306ee9
Bump kube_version to v1.5.1
2016-12-16 15:53:25 +03:00
495d0b659a
Fix weave restart after docker daemon restart
2016-12-16 14:15:22 +03:00
a2f8f17270
Merge pull request #757 from kubernetes-incubator/issue754
...
Add dns_domain for each host to /etc/hosts
2016-12-15 21:42:59 +01:00
0e2329b59e
Merge pull request #755 from kubernetes-incubator/fix_dhclientconf_path
...
Fix wrong path for dhclient.conf on RedHat/CentOS
2016-12-15 19:08:31 +01:00
7c011b14df
Merge pull request #761 from kubernetes-incubator/reduce_test_inventory
...
Manual steps for Gitlab CI pipeline
2016-12-15 18:57:35 +01:00
ad68b23d8a
Manual steps for Gitlab CI pipeline
...
* Reduce default testcase to 2 nodes, add HA case.
* Adjust gen_matrix script for Travis/Gitlab CIs.
* Enable netchecker deploy foro gitlab CI.
* Sync other things from travis matrix and reorder them as build steps
for pull requests, master branch, auto/manual.
* Do auto-step1 from part1 and manual step2,3 for branches/PRs.
* Do manual steps from part2, special for master merges.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-15 17:23:18 +01:00
670d977dfb
Merge pull request #756 from bogdando/skip_netcheck
...
Consider netcheck passed if agents can't report in time
2016-12-15 14:48:09 +01:00
70143d87bf
Merge pull request #746 from kubernetes-incubator/etcd_ssl_upgrade_fix
...
Fix etcd member list when upgrading ETCD from an old version
2016-12-15 12:31:34 +01:00
e21ca5433a
Merge pull request #742 from kubernetes-incubator/gitlabci-gce
...
Add deployment from gitlab-ci
2016-12-15 12:20:56 +01:00
68ad4ff4d9
Add dns_domain for each host to /etc/hosts
...
Fixes #754
2016-12-15 13:34:59 +04:00
d7b0ff3de6
Consider netcheck passed if agents can't report in time
...
Double the time to wait for the netcheck agents.
Do not fail CI build, if agents can't report in time.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-15 10:28:03 +01:00
725f9ea3bd
Merge pull request #749 from kubernetes-incubator/azure_ip_forward
...
Set net.ipv4.ip_forward=1 on all systems, not only on GCE
2016-12-15 10:19:43 +01:00
a9684648ab
Fix wrong path for dhclient.conf on RedHat/CentOS
...
/etc/dhclient.conf is ignored on RedHat/CentOS
Correct location is /etc/dhcp/dhclient.conf
2016-12-15 10:11:16 +01:00
6b1dfa4ae6
Add deployment from gitlab-ci
2016-12-15 09:12:19 +01:00
9cc73bdf08
Fix etcd member list when upgrading ETCD from an old version
2016-12-15 12:00:45 +04:00
114ab5e4e6
Merge pull request #721 from adidenko/calico-add-rr
...
Add calico/routereflector support
2016-12-14 17:22:00 +01:00
77ebf4531c
Merge pull request #751 from bogdando/rebalance_gce
...
Rebalance CI GCE zones for better CPU per region usage
2016-12-14 16:27:27 +01:00
1551fe01f9
Rebalance CI GCE zones for better CPU per region usage
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-14 16:23:57 +01:00
29874baf8a
Merge pull request #708 from vwfs/cloud_network
...
Add support for cloud-provider based networking
2016-12-14 16:23:20 +01:00
e6fe9d5807
Merge pull request #726 from bogdando/netcheck_ci
...
Enable netchecker for CI
2016-12-14 17:19:30 +03:00
81317505eb
Set net.ipv4.ip_forward=1 on all systems, not only on GCE
2016-12-14 15:08:13 +01:00
d57c27ffcf
Add calico/routereflector support
...
Add BGP route reflectors support in order to optimize BGP topology
for deployments with Calico network plugin.
Also bump version of calico/ctl for some bug fixes.
2016-12-14 13:44:10 +01:00
8d7b25d4f0
Enable netchecker for CI
...
* Enable netchecker app for CI postinstall tests
* Rework outputs and better coverage to the ping between pods post
intall test case. With netchecker deployed, the test covers hostnet
to hostnet and standard to standrad pods ping check as well.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-14 13:42:19 +01:00
8e809aed01
Merge pull request #741 from codablock/patch-1
...
Fix kube_version to include 'v' again
2016-12-13 21:46:36 +01:00
b4c87c669b
Fix kube_version to include 'v' again
...
https://github.com/kubernetes-incubator/kargo/pull/736 missed this
2016-12-13 21:43:25 +01:00
bca704e7e9
Merge pull request #727 from bogdando/standalone_kubelet
...
Address standalone kubelet config case
2016-12-13 18:15:25 +01:00
d50eb60827
Add --reconcile-cidr flag to kubelet to support cloud network plugin in 1.4
2016-12-13 17:30:10 +01:00
dbd9aaf1ea
Add check for azure_route_table_name and add it to all.yml
2016-12-13 17:30:10 +01:00
d20d5e648f
Add pseudo network plugin called "cloud" to use cloud provider for network
...
Allow to let the cloud provider configure proper routing for nodes.
2016-12-13 17:30:10 +01:00
96640e68e2
Add tags for bastion-ssh-config
2016-12-13 17:29:47 +01:00
3e007df97c
Add documentation about bastion hosts
2016-12-13 17:29:47 +01:00
06584ee3aa
Add support for bastion hosts
2016-12-13 17:29:47 +01:00
26e3142c95
Merge branch 'master' into standalone_kubelet
2016-12-13 17:26:21 +01:00
33585fa673
Merge pull request #736 from vwfs/anon_auth
...
Move kube_version to group_vars/all to allow easier changing of version
2016-12-13 17:24:05 +01:00
665ce82d71
Move kube_version to group_vars/all to allow easier changing of version
...
Also allows to perform version dependent logic in Ansible roles.
2016-12-13 17:21:00 +01:00
fb78bfaaae
Merge pull request #734 from vwfs/anon_auth
...
Pass --anonymous-auth to apiserver for 1.5>=
2016-12-13 17:10:00 +01:00
b4ce221002
Merge pull request #730 from vwfs/azurerm
...
Add Azure Resource Group templates and scripts to contrib
2016-12-13 17:07:41 +01:00
444b1dafdc
Pass --anonymous-auth to apiserver
...
Fixes #732
2016-12-13 17:06:53 +01:00
d6174b22e9
Merge pull request #731 from bogdando/fix_resolvconf
...
Fix resolvconf
2016-12-13 16:48:37 +01:00
c75f394707
Address standalone kubelet config case
...
Also place in global vars and do not repeat the kube_*_config_dir
and kube_namespace vars for better code maintainability and UX.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-13 16:35:53 +01:00
94ce99eb0a
Add documentation link for contrib/azurerm
2016-12-13 16:30:52 +01:00
0515814e0c
Fix resolvconf
...
Do not repeat options and nameservers in the dhclient hooks.
Do not prepend nameservers for dhclient but supersede and fail back
to the upstream_dns_resolvers then default_resolver. Fixes order of
nameservers placement, which is cluster DNS ip goes always first.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-13 15:48:53 +01:00
c87f4f613e
Add Azure Resource Manager templates to contrib folder
2016-12-13 15:37:04 +01:00
f12e9fa22a
Delete .tfstate and .tfstate.backup from openstack terraform
2016-12-13 15:37:04 +01:00
3ca11b70c4
Merge pull request #729 from vwfs/fix_reset_umount
...
Fix reverse umount in reset role
2016-12-13 14:25:01 +01:00
1cfaf927c9
Fix reverse umount in reset role
...
The Jinja2 filter 'reverse' returned an iterator instead of a list,
resulting in the umount task to fail.
Intead of using the reverse filter, we use 'tac' to reverse the output
of the previous task.
2016-12-13 14:21:24 +01:00
45135ad3e4
Merge pull request #705 from vwfs/centos7-azure
...
Better support for CentOS 7 on Azure
2016-12-13 10:36:58 +01:00
9c06dd2863
Merge pull request #725 from kubernetes-incubator/ci-fix
...
remove local deployment from ci
2016-12-12 21:52:46 +01:00
b2088b72dd
remove local deployment from ci
2016-12-12 21:50:13 +01:00
4e721bfd9d
Merge pull request #667 from bogdando/fix_dns
...
Rework DNS stack to meet hostnet pods needs
2016-12-12 21:38:13 +01:00
f52ed9f91e
Update main.yml
2016-12-12 21:37:16 +01:00
88f3b86410
Merge pull request #719 from kubernetes-incubator/gitlabci
...
Add gitlabci
2016-12-12 18:29:03 +01:00
3117858dcd
Rework DNS stack to meet hostnet pods needs
...
* For Debian/RedHat OS families (with NetworkManager/dhclient/resolvconf
optionally enabled) prepend /etc/resolv.conf with required nameservers,
options, and supersede domain and search domains via the dhclient/resolvconf
hooks.
* Drop (z)nodnsupdate dhclient hook and re-implement it to complement the
resolvconf -u command, which is distro/cloud provider specific.
Update docs as well.
* Enable network restart to apply and persist changes and simplify handlers
to rely on network restart only. This fixes DNS resolve for hostnet K8s
pods for Red Hat OS family. Skip network restart for canal/calico plugins,
unless https://github.com/projectcalico/felix/issues/1185 fixed.
* Replace linefiles line plus with_items to block mode as it's faster.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
Co-authored-by: Matthew Mosesohn <mmosesohn@mirantis.com >
2016-12-12 17:43:47 +01:00
8c36915ea0
add gitlabci
2016-12-12 16:49:17 +01:00
5176e5c968
Make growpart only run on Azure
2016-12-12 14:14:22 +01:00
e95c733a81
Merge pull request #690 from bogdando/collect-info
...
Add kubelet and calico CLI info collection
2016-12-12 11:46:14 +01:00
15c2919ecc
Merge pull request #715 from bogdando/tags_download
...
More granular control for download/upload images/binaries
2016-12-12 11:44:13 +01:00
774f4dbbf7
Merge branch 'master' into tags_download
2016-12-12 11:44:00 +01:00
b1e852a785
Merge pull request #707 from vwfs/reset_playbook
...
Add playbook and role to reset the cluster
2016-12-12 12:43:00 +03:00
42ea4d2cfd
Add comment about why ansible_ssh_pipelining is set to false in bootstrap-os
2016-12-12 09:55:28 +01:00
9fd14cb6ea
Add growpart role to allow growing the root partition on CentOS
...
At least the OS images from Azure do not grow the root FS automatically.
2016-12-12 09:55:28 +01:00
4e34803b1e
Disable fastestmirror on CentOS
...
It actually slows down things dramatically when used in combination
with Ansible.
2016-12-12 09:54:39 +01:00
7abcf6e0b9
Remove requiretty from sudoers to actually make pipelining work
...
Some systems (e.g. CentOS on Azure) have requiretty in sudoers which makes
pipelining fail.
2016-12-12 09:54:39 +01:00
e5ad0836bc
Merge pull request #713 from kubernetes-incubator/bump_kubedns
...
Bump kubedns version to 1.9
2016-12-10 11:08:42 +03:00
2c50f20429
Merge pull request #696 from bogdando/intranet_dns
...
Preconfigure dns stack early
2016-12-09 21:46:03 +01:00
a15d626771
Preconfigure DNS stack and docker early
...
In order to enable offline/intranet installation cases:
* Move DNS/resolvconf configuration to preinstall role. Remove
skip_dnsmasq_k8s var as not needed anymore.
* Preconfigure DNS stack early, which may be the case when downloading
artifacts from intranet repositories. Do not configure
K8s DNS resolvers for hosts /etc/resolv.conf yet early (as they may be
not existing).
* Reconfigure K8s DNS resolvers for hosts only after kubedns/dnsmasq
was set up and before K8s apps to be created.
* Move docker install task to early stage as well and unbind it from the
etcd role's specific install path. Fix external flannel dependency on
docker role handlers. Also fix the docker restart handlers' steps
ordering to match the expected sequence (the socket then the service).
* Add default resolver fact, which is
the cloud provider specific and remove hardcoded GCE resolver.
* Reduce default ndots for hosts /etc/resolv.conf to 2. Multiple search
domains combined with high ndots values lead to poor performance of
DNS stack and make ansible workers to fail very often with the
"Timeout (12s) waiting for privilege escalation prompt:" error.
* Update docs.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-09 17:30:55 +01:00
fd9b26675e
More granular control for download/upload images/binaries
...
Add upload tag allow users to exclude distributing images across nodes
when running with the download tag set.
Add related tags and update docs as well.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-09 17:04:55 +01:00
eb33f085b6
Changes according to code review
2016-12-09 16:33:10 +01:00
fb774d4317
Merge pull request #706 from vwfs/docker_storage_options
...
Allow to specify docker storage driver
2016-12-09 18:28:20 +03:00
459bee6d2c
Bump kubedns version to 1.9
...
Version 1.9 has reduced verbosity for federation dns queries
which flood container logs.
2016-12-09 17:57:54 +03:00
6e080cd9b0
Merge pull request #711 from bogdando/fix_link
...
Fix bad symlink
2016-12-09 14:53:30 +01:00
8a5ba6b20c
Use proper style (spacing) for docker_storage_options
2016-12-09 13:56:56 +01:00
c3ec3ff902
Allow to specify docker storage driver
2016-12-09 13:56:56 +01:00
284a21012c
Fix bad symlink
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-09 13:34:52 +01:00
7897c34ba3
Merge pull request #700 from bogdando/tags
...
Add tags
2016-12-09 13:23:56 +01:00
8cc84e132a
Add tags
...
Add tags to allow more granular tasks filtering.
Add generator script for MD formatted tags found.
Add docs for tags how-to.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-09 12:14:28 +01:00
00ad151186
Add playbook and role to reset the cluster
...
This deletes everything related to the cluster and allows to start from
scratch.
2016-12-09 11:15:36 +01:00
4265149463
Merge pull request #703 from adidenko/fix-docker_versioned_pkg
...
Convert docker_versioned_pkg dict keys to string
2016-12-09 11:50:17 +03:00
ee8d6ab4fc
Convert docker_versioned_pkg dict keys to string
...
This will allow to use '-e docker_version=1.12' in ansible playbook
execution. It's also backward-compatible and will work with floating
docker_version format in custom yaml files.
Closes #702
2016-12-09 09:17:36 +01:00
a80745b5bd
Merge pull request #668 from bodepd/etcd_access_address
...
Use etcd host ip instead of hostname to build etcd_access_addresses
2016-12-09 07:54:12 +03:00
bd3f2d5cef
Merge pull request #698 from bogdando/fix_terraform
...
Symlink global vars for terraform
2016-12-08 23:59:53 +01:00
e9c591e6de
Symlink global vars for terraform
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-08 12:07:01 +01:00
710d5ae48e
Merge pull request #691 from adidenko/calico-old-cni-fix
...
Fix possible problems with legacy calicoctl
2016-12-08 12:00:08 +01:00
fc769eb870
Merge pull request #693 from kubernetes-incubator/upgrades-doc
...
Add document outlining upgrade process
2016-12-08 13:02:55 +03:00
eec2ed5809
Allow etcd_access_addresses to be more flexible
...
The variale etcd_access_addresses is used to determine
how to address communication from other roles to
the etcd cluster.
It was set to the address that ansible uses to
connect to instance ({{ item }})s and not the
the variable:
ip_access
which had already been created and could already
be overridden through the access_ip variable.
This change allows ansible to connect to a machine using
a different address than the one used to access etcd.
2016-12-07 10:33:15 -08:00
f7dd20f21c
Merge pull request #695 from kubernetes-incubator/bug669
...
Force hardlink for calico/canal certs
2016-12-07 18:25:09 +01:00
bfc9bcb8c7
Force hardlink for calico/canal certs
...
Fixes : #669
2016-12-07 19:03:22 +03:00
8eb26c21be
Merge pull request #692 from bogdando/gce_fixes
...
Change GCE sysctls placement and docs
2016-12-07 16:17:30 +01:00
3c66e4cdba
Add document outlining upgrade process
2016-12-07 16:33:08 +03:00
f0f2b81276
Change GCE sysctls placement and docs
...
Override GCE sysctl in /etc/sysctl.d/99-sysctl.conf instead of
the /etc/sysctl.d/11-gce-network-security.conf. It is recreated
by GCE, f.e. if gcloud CLI invokes some security related changes,
thus losing customizations we want to be persistent.
Update cloud providers firewall requirements in calico docs.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-07 12:53:45 +01:00
45ed6de315
Merge pull request #688 from fen4o/cluster-signing-cert
...
add cluster-signing to kube-controller-manager
2016-12-07 14:53:30 +03:00
c9290182be
Fix possible problems with legacy calicoctl
...
When running legacy calicoctl we do not specify calico hostname in
calico-node container thus we should not specify it in CNI config.
Also move 'legacy_calicoctl' set_fact task to the top.
2016-12-07 12:26:44 +01:00
893538d8e6
Add kubelet and calico CLI info collection
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-07 11:05:30 +01:00
246c8209c1
add cluster-signing to kube-controller-manager
...
kube-controller-manager's cluster signing cert and key points by default to not
existing `/etc/kubernetes/ca/ca.pem` and `/etc/kubernetes/ca/ca.key` [docs][1]
[1]: http://kubernetes.io/docs/admin/kube-controller-manager/#options
2016-12-07 11:20:18 +02:00
36fe2cb5ea
Merge pull request #584 from chadswen/docker-options-refactor
...
Docker Options Refactor
2016-12-07 07:57:53 +01:00
9d6cc3a8d5
Merge pull request #684 from adidenko/fix-calico-peering
...
Calico: fix peering with routers for new version
2016-12-06 22:42:02 +01:00
8870178a2d
Merge pull request #627 from kubernetes-incubator/issue-626
...
add restart flag for docker run kubelet
2016-12-06 08:47:18 -08:00
b0079ccd77
Calico: fix peering with routers for new version
...
In new `calicoctl` version nodes peering with routers is broken.
We need to use predictable node names for calico-node and the
same names in calico `bgpPeer` resources and CNI.
2016-12-06 17:17:39 +01:00
1772d122b2
Merge pull request #683 from kubernetes-incubator/fix_debian_image
...
Re-enable debian-8-kubespray image for CI
2016-12-06 14:21:28 +01:00
756ae926ba
Re-enable debian-8-kubespray image for CI
...
debian-8 image is missing memory cgroup, so it can't spawn pods.
2016-12-06 16:00:58 +03:00
2c1db56213
Merge pull request #678 from adidenko/update-calico-unit
...
Update calico-node systemd unit
2016-12-06 13:51:37 +01:00
d672cef21c
Merge pull request #641 from pcm32/feature/glusterfs-pr
...
GlusterFS server separate nodes and client facilities for k8s nodes.
2016-12-06 12:05:36 +01:00
27e239c8d6
GlusterFS with external VMs, terraform/os included
2016-12-06 11:03:13 +00:00
f1d7af11ee
Update calico-node systemd unit
...
New calicoctl does not support --detach=false option, so we should
use a recommended way to run calico-node service:
http://docs.projectcalico.org/v2.0/usage/configuration/as-service
Closes #674 , #675
2016-12-06 11:34:12 +01:00
59a097b255
Merge pull request #679 from kubernetes-incubator/kube-proxy-dbus
...
Add dbus socket dir to kube-proxy
2016-12-06 11:08:16 +01:00
d40783022b
Merge pull request #680 from kubernetes-incubator/gce_ipv4_forward
...
Fix ipv4 forwarding on GCE
2016-12-06 11:02:45 +01:00
7a3a473ccf
Fix ipv4 forwarding on GCE
...
ipv4 forwarding gets broken when restarting networking, which
breaks all networking for all pods.
2016-12-06 11:57:57 +03:00
2cdf752481
Add dbus socket dir to kube-proxy
2016-12-05 19:25:27 +03:00
26f93feb2d
Merge pull request #673 from Smana/kargogo_link
...
Update README: kargo-golang, slack, and travis urls
2016-12-04 13:22:32 +01:00
d4aba0af48
README: change travis url
2016-12-04 09:24:30 +01:00
42d12afbc6
remove deprecation warning for kargo-cli
2016-12-04 09:18:26 +01:00
022468ae3e
change slack channel url
2016-12-04 09:14:15 +01:00
3bb42cc66a
change kargo go version branch url
2016-12-02 23:56:14 +01:00
8b5b27bb51
Docker Options Refactor
2016-12-02 15:07:51 -06:00
7328e0e1ac
Merge pull request #672 from kubernetes-incubator/fail_all_on_error
...
Fail all nodes on error
2016-12-02 17:08:10 +01:00
eeaf2ea4cf
Merge pull request #671 from bogdando/disable_logs_upload
...
Disable logs upload and verbose logging
2016-12-02 16:02:52 +01:00
42eb8e4663
Disable logs upload and verbose logging
...
In order to speed up CI jobs, do not produce -v logs.
Also, disable collecting and uploading logs to GS, unless
the buckets creation issue resolved.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-12-02 16:02:33 +01:00
c13d0db0cc
Merge pull request #656 from YorikSar/nginx-proxy-timeout
...
Set proxy_timeout to 10m in nginx.conf
2016-12-02 12:48:18 +01:00
dba2026002
Fail all nodes on error
2016-12-02 12:37:22 +01:00
a62f74259c
Merge pull request #663 from bogdando/reduce_matrix
...
Reduce CI test matrix
2016-11-30 10:43:43 +01:00
a2331fec55
Reduce CI test matrix
...
Reduce the test cases from 15 to 9, bearing in mind that:
* Disable weave/coreos gate unless its deployment fixed
* If debian/centos7 fails with net plugin X, ubuntu-xenial/rhel-7 will
likely fail as well
* Canal also covers the flannel plugin deployment, but keep at least one
of the flannel plugin deployment, unless it's superseded and removed.
* Keep at least one of each OS/plugin family to be tested in the separate
nodes layout
* Keep at least one of each OS family to be tested against each of the
plugin types in default nodes layout
* Rebalance GCE regions for instances, replace asia to eu/us as they
are the longest running jobs.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-29 18:53:43 +01:00
b6872a0be3
Merge pull request #657 from smelchior/master
...
add azure support for kargo
2016-11-29 12:20:49 +01:00
bc7a73ca2c
add azure to readme
2016-11-29 12:16:30 +01:00
c405944e9d
Merge pull request #658 from bogdando/gce_images
...
Switch to standard debian/centos/rhel for CI
2016-11-29 11:35:50 +01:00
7eab889c07
Switch to standard debian/centos/rhel for CI
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-29 10:25:07 +01:00
bb55f68f95
add basic azure support for kargo
2016-11-29 10:20:28 +01:00
658543c949
Set proxy_timeout to 10m in nginx.conf
...
Fixes #655 .
This is a teporary solution for long-polling idle connections to
apiserver. It will make Nginx not cut them for the duration of expected
timeout. It will also make Nginx extremely slow in realizing that there
is some issue with connectivity to apiserver as well, so it might not be
perfect permanent solution.
2016-11-28 20:27:47 +03:00
5b382668f5
Merge pull request #529 from bogdando/netcheck
...
Add a k8s app for advanced e2e netcheck for DNS
2016-11-28 15:26:30 +01:00
b7692fad09
Add advanced net check for DNS K8s app
...
* Add an option to deploy K8s app to test e2e network connectivity
and cluster DNS resolve via Kubedns for nethost/simple pods
(defaults to false).
* Parametrize existing k8s apps templates with kube_namespace and
kube_config_dir instead of hardcode.
* For CoreOS, ensure nameservers from inventory to be put in the
first place to allow hostnet pods connectivity via short names
or FQDN and hostnet agents to pass as well, if netchecker
deployed.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-28 13:23:25 +01:00
fbdda81515
Merge pull request #652 from kubernetes-incubator/debug_mode
...
Tune dnsmasq/kubedns limits, replicas, logging
2016-11-25 16:57:15 +01:00
7484888e42
Merge pull request #640 from bodepd/terraform_aws_decouple_k8s_cluster_etcd_roles
...
Decouple etcd/k8s-cluster roles in ec2 terraform
2016-11-25 15:11:51 +01:00
f783a638a3
Merge pull request #650 from adidenko/remove-calico-ctl-tag-override
...
Update default calico/ctl image tag
2016-11-25 14:55:59 +01:00
2d18e19263
Tune dnsmasq/kubedns limits, replicas, logging
...
* Add dns_replicas, dns_memory/cpu_limit/requests vars for
dns related apps.
* When kube_log_level=4, log dnsmasq queries as well.
* Add log level control for skydns (part of kubedns app).
* Add limits/requests vars for dnsmasq (part of kubedns app) and
dnsmasq daemon set.
* Drop string defaults for kube_log_level as it is int and
is defined in the global vars as well.
* Add docs
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-25 12:49:17 +01:00
ff7d489f2d
Update calico/ctl image tag
...
We no longer need to use v0.22.0 for calicoctl since Kargo has
support for new calicoctl CLI format.
Also fixing condition logic for calico pool task.
2016-11-25 11:23:27 +01:00
6d29a5981c
Merge pull request #651 from bogdando/fix_docker_install
...
Fix download dnsmasq image dependency on docker
2016-11-24 18:44:12 +01:00
10b75d1d51
Merge pull request #648 from artem-panchenko/fix_calicoctl_node_run
...
Fix Calico jinja template (systemd)
2016-11-24 18:33:34 +01:00
aa447585c4
Fix download dnsmasq image dependency on docker
...
When download_run_once with download_localhost is used, docker is
expected to be running on the delegate localhost. That may be not
the case for a non localhost delegate, which is the kube-master
otherwise. Then the dnsmasq role, had it been invoked early before
deployment starts, would fail because of the missing docker dependency.
* Fix that dependency on docker and do not pre download dnsmasq image
for the dnsmasq role, if download_localhost is disabled.
* Remove become: false for docker CLI invocation because that's not
the common pattern to allow users access docker CLI w/o sudo.
* Fix opt bin path hack for localhost delegate to ignore errors when
it fails with "sudo password required" otherwise.
* Describe download_run_once with download_localhost use case in docs
as well.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-24 18:31:26 +01:00
f6c32c3ea3
Merge pull request #649 from bogdando/coreos_resolvconf
...
Ensure /etc/resolv.conf content for CoreOS
2016-11-24 10:42:38 +01:00
d208896c46
Ensure /etc/resolv.conf content for CoreOS
...
Use cloud-init config to replace /etc/resolv.conf with the
content for kubelet to properly configure hostnet pods.
Do not use systemd-resolved yet, see
https://coreos.com/os/docs/latest/configuring-dns.html
"Only nss-aware applications can take advantage of the
systemd-resolved cache. Notably, this means that statically
linked Go programs and programs running within Docker/rkt
will use /etc/resolv.conf only, and will not use the
systemd-resolve cache."
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-23 16:51:49 +01:00
08506f5139
Merge pull request #646 from kubernetes-incubator/fix_nginx_download
...
Fix nginx container download for download_run_once mode
2016-11-23 11:46:53 +01:00
2c4b11f321
Fix Calico jinja template (systemd)
2016-11-23 11:43:53 +02:00
d890d2f277
Fix nginx container download for download_run_once mode
...
W/o this patch, the "Download containers" task may be skipped
when running on the delegate node due to wrong "when" confition.
Then it fails to upload nginx image to the nodes as well.
Fix download nginx dependency so it always can be pushed to
nodes when download_run_once is enabled.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-23 10:37:08 +01:00
793f3990a0
Merge pull request #642 from kubernetes-incubator/k8s_imgpull
...
Allow pre-downloaded images to be used effectively
2016-11-22 18:09:38 +01:00
9d439d2e5b
Merge pull request #645 from adidenko/fix-ansible_ssh_user
...
Set defaults for ansible_ssh_user
2016-11-22 18:07:16 +01:00
db03f17486
Set defaults for ansible_ssh_user
...
When setting permission for containers download/upload dir we're
using `ansible_ssh_user`. But if playbook is executed without
user being explicitly set `ansible_ssh_user` may be undefined.
In such situations dir ownership will default to `ansible_user_id`
Closes : #644
2016-11-22 18:00:56 +01:00
dff78f616e
Allow pre-downloaded images to be used effectively
...
According to http://kubernetes.io/docs/user-guide/images/ :
By default, the kubelet will try to pull each image from the
specified registry. However, if the imagePullPolicy property
of the container is set to IfNotPresent or Never, then a local\
image is used (preferentially or exclusively, respectively).
Use IfNotPresent value to allow images prepared by the download
role dependencies to be effectively used by kubelet without pull
errors resulting apps to stay blocked in PullBackOff/Error state
even when there are images on the localhost exist.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-22 16:16:04 +01:00
d3a4d8dc24
Merge pull request #638 from pskrzyns/fix_setting_loadbalancer_apiserver_localhost
...
Fix conditional when setting loadbalancer_apiserver_localhost
2016-11-22 15:15:38 +01:00
dc58159d16
Merge pull request #621 from xenolog/calico_network_backend
...
Add ability to define network backend for Calico.
2016-11-22 14:55:47 +01:00
b60d5647a2
Merge pull request #635 from kubernetes-incubator/download_images
...
Download images as dependencies of roles
2016-11-22 14:53:12 +01:00
2bcfb3fea3
Merge pull request #637 from bogdando/wait_pods
...
Increase wait for pods post-install test
2016-11-22 12:25:47 +01:00
66f27ed1f3
Download images as dependencies of roles
...
Pre download all required container images as roles' deps.
Drop unused flannel-server-helper images pre download.
Improve pods creation post-install test pre downloaded busybox.
Improve logs collection script with kubectl describe, fix sudo/etcd/weave
commands.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-22 11:13:57 +01:00
cb84b93930
Decouple etcd/k8s-cluster roles in ec2 terraform
...
Currently, the terraform script in contrib
adds etcd role as a child of k8s-cluster in
its generated inventory file.
This is problematic when the etcd role is
deployed on separate nodes from the k8s master
and nodes. In this case, this leads to failures
of the k8s node since the PKI certs required for
that role have not been propogated.
2016-11-21 10:44:13 -08:00
32a5453473
Fix conditional when setting loadbalancer_apiserver_localhost
2016-11-21 19:36:05 +01:00
97d126ac8b
Increase wait for pods post-install test
...
The test deployment/rc/pods creation time
is near 2m on slow CI instances with 1 CPU/1.7G RAM.
Increase wait time to allow the post test fail less often.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-21 18:50:05 +01:00
deea7bb87b
Merge pull request #636 from kubernetes-incubator/apiserver_liveness
...
Add missing liveness probe for apiserver static pod
2016-11-21 18:27:20 +01:00
1bd1825ecb
Add missing liveness probe for apiserver static pod
...
Fix unreliable waiting for the apiserver to become ready.
Remove logfile mount to align with the rest of static pods
and because containers shall write logs to stdout only.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-21 13:15:51 +01:00
20e36191bb
Merge pull request #629 from kubernetes-incubator/fix-download-once
...
Fix download once
2016-11-21 10:55:54 +01:00
769566f36c
Merge pull request #633 from bodepd/etcd_fix
...
Ensure that etcd health checks always pass
2016-11-21 10:29:35 +01:00
ddd230485b
Merge pull request #631 from kubernetes-incubator/allow_failures
...
Allow failures for coreos/weave
2016-11-21 10:21:57 +01:00
5ee0cbaa42
Merge pull request #630 from suside/node_port
...
Add service-node-port-range parameter for kube-apiserver
2016-11-21 10:17:34 +01:00
ff675d40f9
Ensure that etcd health checks always pass
...
in the etcd handler, the reload etcd action
was called after ansible waits for etcd to be
up, this means that the health checks which are
called immediately after fail (resulting in the etcd
role always failing and never finishing)
This patch changes the order to move the 'wait for etcd
up' resource after the 'reload etcd resource', ensuring that
the service is up before the health check is called.
2016-11-18 14:15:00 -08:00
0eebe43c08
updated all instances of restart always to restart on-failure with a max of 5 times
2016-11-18 14:33:22 -05:00
069636e5b4
Allow failures for coreos/weave
...
Unless https://github.com/kubernetes-incubator/kargo/issues/613
fixed.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-18 17:41:50 +01:00
a03540dabc
Add download localhost and enable for CI
...
* Add download_localhost for the download_run_once mode, which is
use the ansible host (a travis node for CI case) to store and
distribute containers across cluster nodes in inventory.
Defaults to false.
* Rework download_run_once logic to fix idempotency of uploading
containers.
* For Travis CI, enable docker images caching and run Travis
workers with sudo enabled as a dependency
* For Travis CI, deploy with download_localhost and download_run_once
enabled to shourten dev path drastically.
* Add compression for saved container images. Defaults to 'best'.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
Co-authored-by: Aleksandr Didenko <adidenko@mirantis.com >
2016-11-18 16:00:07 +01:00
f6d69d0a00
Add ability to define network backend for Calico.
...
This patch introduce `calico_network_backend` global variable,
which allow to describe alternative network backend.
Default behavior is unchanged.
2016-11-18 16:38:18 +03:00
cc2f26b8e9
Add service-node-port-range parameter for kube-apiserver
2016-11-18 14:09:38 +01:00
3e687bbe9a
Fix download_run_once for containers
...
Add one more step (task) to containers download/upload sequence -
copy saved .tar containers to ansible host (delegate_to: localhost).
Then upload images to target nodes. It uses synchronize module so
if ansible host (localhost) is the same host as kube-master[0] then
new task causes no issues and the copy to localhost process is
basically skipped.
2016-11-18 12:47:35 +01:00
c5113d3352
Merge pull request #628 from abourget/patch-1
...
Update roadmap.md
2016-11-17 22:59:25 +01:00
4d9712a3ef
Merge pull request #620 from bogdando/logs_coreos
...
Fix collect/upload logs for CoreOS
2016-11-17 22:53:53 +01:00
5b9b2c0973
Update roadmap.md
2016-11-17 12:44:30 -05:00
a5af87758a
remove the --rm b/c it conflicts with restart
2016-11-17 12:21:30 -05:00
8b11de5425
Merge pull request #608 from sneumann/patch-1
...
Fix failure if image package index is outdated
2016-11-17 12:21:15 -05:00
ff928e0e66
add restart flag for docker run kubelet
2016-11-17 12:03:41 -05:00
952191db99
Fix collect/upload logs for CoreOS
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-17 15:54:41 +01:00
61adca2a6d
Merge pull request #618 from kubernetes-incubator/fix_inventory_example
...
Fix inventory example
2016-11-17 14:41:21 +01:00
9872ed4bb2
Merge branch 'master' of github.com:kubespray/kargo
2016-11-17 14:32:14 +01:00
3aa2d56da9
updated bootstrap-ubuntu.yml
...
Moved the variable setting to the apt-get install part where it matters as requested in the review.
2016-11-16 12:11:54 +01:00
6a398724b6
Merge pull request #609 from sneumann/patch-2
...
Fix sugested bootstrap options
2016-11-16 11:51:48 +01:00
af3823bced
Merge pull request #611 from bogdando/coreos_canal
...
Improve CI test matrix
2016-11-16 11:31:03 +01:00
1e601bb2ef
Merge pull request #601 from adidenko/calico_mtu
...
Move CNI config and add MTU support for calico-cni
2016-11-15 18:40:03 +01:00
e4d240b1b7
Improve CI test matrix
...
For Travis CI and GCE, add a naive generator script into a markdown table.
Add GCE/Travis CI matrix docs.
Add CoreOS test cases.
Rework existing cases w/o loosing of coverage.
Rework postinstall tests to support CoreOS as well.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-15 18:17:30 +01:00
e3470b28c5
Move CNI config and add MTU support for calico-cni
...
- Move CNI configuration creation for Calico to appropriate
network_plugin role from kubernetes/node.
- Add support for MTU configuration in Calico.
2016-11-15 18:05:11 +01:00
e9a48770a7
Fix sugested bootstrap options
2016-11-15 17:52:35 +01:00
0322b69f63
Fix failure if image package index is outdated
2016-11-15 17:49:14 +01:00
e587e82f7f
Merge pull request #600 from adidenko/calico-cni-container-support
...
Replace calico-cni binaries with calico/cni container
2016-11-15 15:40:13 +01:00
5f5199bf53
Merge pull request #607 from kubernetes-incubator/fix_mounts
...
Fix mountflags and kubelet config
2016-11-15 11:29:30 +01:00
876c4df1b6
Fix mountflags and kubelet config
...
Add missing --require-kubeconfig to the if..else stanza.
Make sure certs dirs mounted in RO.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-15 11:22:23 +01:00
e68ec257a3
Merge pull request #606 from kubernetes-incubator/issue-605
...
update comment with valid options for bootstrap_os
2016-11-15 10:51:05 +01:00
216e0b2a52
Merge pull request #599 from kubernetes-incubator/bug_542
...
Fix kubelet deprecated options
2016-11-15 10:50:26 +01:00
ab0ff2ab3c
Merge pull request #602 from adidenko/fix-canal-ssl
...
Fix etcd ssl for canal
2016-11-15 12:43:22 +03:00
5cd65f9c45
Merge pull request #598 from kubernetes-incubator/bug_376
...
Generate kubectl bash completion from kubectl instead of file
2016-11-15 12:28:51 +03:00
4e47c267fb
Merge pull request #604 from kubernetes-incubator/k8s-upgrade-v1.4.6
...
upgrade k8s version to 1.4.6
2016-11-15 12:27:29 +03:00
cb47bbf753
update comment with valid options for bootstrap_os
2016-11-14 16:31:15 -05:00
c41d200a95
upgrade k8s version to 1.4.6
2016-11-14 21:40:05 +01:00
771d537ff3
Merge pull request #603 from bogdando/fix_logs
...
Fix collect_info script
2016-11-14 19:16:29 +01:00
8ca1f4ce44
Fix kubelet deprecated options
...
--api-servers now just reads kubeconfig
--config is now --pod-manifest-path
Fixes #542
2016-11-14 22:13:44 +04:00
625ec529ff
Fix collect_info script
...
Fix missing journal ctl utc key.
Rework kube* logs collection.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-14 19:01:50 +01:00
caa81f3ac2
Fix etcd ssl for canal
...
- Move CNI configuration from `kubernetes/node` role to
`network_plugin/canal`
- Create SSL dir for Canal and symlink etcd SSL files
- Add needed options to `canal-config` configmap
- Run flannel and calico-node containers with proper configuration
2016-11-14 14:49:17 +01:00
8092f57695
Merge branch 'master' into calico-cni-container-support
2016-11-14 14:58:42 +03:00
965a1234d3
Replace calico-cni binaries with calico/cni container
...
Calico CNI binaries are also released/shipped in calico/cni
container. This patch replaces download of calico CNI binaries with
calico/cni container.
2016-11-14 12:19:58 +01:00
15bc445a9c
Generate kubectl bash completion from kubectl instead of file
2016-11-14 14:54:59 +04:00
bb72de0dc9
Merge pull request #496 from kubernetes-incubator/idempotency_resolvconf
...
Ignore changes on check resolvconf task
2016-11-14 11:10:04 +01:00
6da0ecfa55
Merge pull request #550 from chadswen/hostname-alias
...
Hostname alias fixes
2016-11-14 13:09:18 +03:00
1ccc10baf8
Merge pull request #597 from pcm32/patch-1
...
Adds missing 'ip' var for terraform-generated inventory, based on internal ip
2016-11-14 10:41:21 +03:00
45c2900e71
Merge branch 'master' into hostname-alias
2016-11-14 09:32:35 +03:00
eb583dd2f3
Merge branch 'master' into idempotency_resolvconf
2016-11-14 09:30:22 +03:00
f6233ffc9a
Merge pull request #596 from kubernetes-incubator/fix_etcd_coreos_ca
...
Fix ca certificate loading on CoreOS
2016-11-14 07:28:17 +01:00
46ee9faca9
Fix ca certificate loading on CoreOS
2016-11-14 08:47:09 +04:00
f320b79c0c
Adds missing ip based on internal ip, for etcd
2016-11-14 02:04:13 +00:00
6cc05c103a
Merge pull request #592 from artem-panchenko/support_golang_calicoctl
...
Support new version of 'calicoctl' (>=v1.0.0)
2016-11-11 13:55:24 +03:00
88577b9889
Merge pull request #593 from bogdando/label_apps
...
Label k8s apps, adjust collect info commands
2016-11-10 18:09:05 +01:00
5821f9748a
Merge pull request #594 from adidenko/fix-calico-policy-controller
...
Fix policy controller
2016-11-10 16:15:36 +01:00
c58bd33af7
Support new version of 'calicoctl' (>=v1.0.0)
...
Since version 'v1.0.0-beta' calicoctl is written
in Go and its API differs from old Python based
utility. Added support of both old and new version
of the utility.
2016-11-10 17:11:29 +02:00
cf7c60029b
Label k8s apps, adjust collect/upload info steps
...
- Drop debugs from collect-info playbook
- Drop sudo from collect-info step and add target dir var (required for travis jobs)
- Label all k8s apps, including static manifests
- Add logs for K8s apps to be collected as well
- Fix upload to GCS as a public-read tarball
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-10 16:05:50 +01:00
046e315bfd
Merge pull request #595 from kubernetes-incubator/etcdtls-followup
...
Fix canal's calico networking config for ETCD TLS
2016-11-10 16:00:05 +03:00
251800eb16
Fix policy controller
...
'etcd_cert_dir' variable is missing from 'kubernetes-apps/ansible'
role which breaks Calico policy controller deployment.
Also fixing calico-policy-controller.yml.
2016-11-10 13:31:31 +01:00
fe16fecd8f
Fix canal's calico networking config for ETCD TLS
...
Also fixes kube-apiserver upgrade that was erroneously
deleted in a previous commit.
2016-11-10 12:49:47 +03:00
9ea9604b3f
Merge pull request #591 from kubernetes-incubator/etcdtls
...
Add etcd tls support
2016-11-10 12:32:13 +03:00
a32cd85eb7
Add etcd TLS support
2016-11-09 18:38:28 +03:00
95b460ae94
Remove etcd-proxy from all nodes and use etcd multiaccess
2016-11-09 13:31:12 +03:00
57e467c03c
Merge pull request #589 from bogdando/fix_gcs_upload
...
[WIP] Fix uploading CI logs to GCS
2016-11-09 10:55:00 +01:00
764a2fd5a8
Merge pull request #588 from adidenko/canal-support
...
Adding support for canal network plugin
2016-11-09 10:31:56 +01:00
d197130148
Fix uploading CI logs to GCS
...
* Use gsutil to configure the logs bucket's lifecycle,
which is not in the gc_storage module yet.
(See https://cloud.google.com/storage/docs/gsutil_install ).
* Generate uniq bucket names extended with the build's OS type info as well.
* Ignore boto related errors for the gc_storage module.
* Use no_log when needed to supress noise/secrets in output
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-08 16:17:10 +01:00
39d68822ed
Merge pull request #590 from adidenko/fix-policy-rc-idempotency
...
Fix idempotency of calico-policy-controller rs
2016-11-08 15:54:07 +01:00
4ece73d432
Fix idempotency of calico-policy-controller rs
...
We need to specify kube resource type and name in order to avoid
playbook errors related to k8s resource duplication.
2016-11-08 12:59:18 +01:00
60a217766f
Add ConfigMap for basic configuration options
...
Container settings moved from deamonset yaml to a separate
configmap.
2016-11-08 12:57:34 +01:00
309240cd6f
Adding support for canal network plugin
...
This patch provides support for Canal network plugin installation
as a self-hosted app, see the following link for details:
https://github.com/tigera/canal/tree/master/k8s-install
2016-11-08 11:04:01 +01:00
6b0d26ddf0
Merge pull request #585 from pcm32/feature/terraform_floating_ips_squashed
...
openstack/terraform: allows masters and nodes with no floating ips
2016-11-07 12:53:34 +01:00
5aa8df163e
Merge branch 'master' of github.com:kubespray/kargo
2016-11-07 12:05:36 +01:00
881dc8172c
update example
2016-11-07 12:03:55 +01:00
aff441a01f
Merge branch 'feature/terraform_floating_ips_squashed' of https://github.com/pcm32/kargo into feature/terraform_floating_ips_squashed
2016-11-07 10:55:07 +00:00
44a14d0b3e
Merge pull request #586 from bogdando/fix_upload_logs
...
[WIP] Fix upload logs
2016-11-07 11:53:47 +01:00
f106bf5bc4
adds ability to have hosts with no floating ips on terraform/openstack (+8 squashed commits)
...
Squashed commits:
[f9355ea
] Swap order in which we reload docker/socket
[2ca6819
] Reload docker.socket after installing flannel on coreos
Workaround for #569
[9f976e5
] Vagrantfile: setup proxy inside virtual machines
In corporate networks, it is good to pre-configure proxy variables.
[9d7142f
] Vagrantfile: use Ubuntu 16.04 LTS
Use recent supported version of Ubuntu for local development setup
with Vagrant.
[50f77cc
] Add CI test layouts
* Drop Wily from test matrix
* Replace the Wily cases dropped with extra cases to test separate
roles deployment
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
[03e162b
] Update OWNERS
[c7b00ca
] Use tar+register instead of copy/slurp for distributing tokens and certs
Related bug: https://github.com/ansible/ansible/issues/15405
Uses tar and register because synchronize module cannot sudo on the
remote side correctly and copy is too slow.
This patch dramatically cuts down the number of tasks to process
for cert synchronization.
[2778ac6
] Add new var skip_dnsmasq_k8s
If skip_dnsmasq is set, it will still not set up dnsmasq
k8s pod. This enables independent setup of resolvconf section
before kubelet is up.
2016-11-07 10:53:13 +00:00
39b8336f3f
Fix upload logs
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-07 10:48:01 +01:00
a6bc284abd
adds ability to have hosts with no floating ips on terraform/openstack
2016-11-05 09:12:40 +00:00
6b7b8a2303
Merge pull request #583 from kubernetes-incubator/issue-582
...
update admission controllers for > 1.4
2016-11-04 18:11:30 +01:00
8f20d90f88
update admission controllers for > 1.4
2016-11-04 12:54:35 -04:00
047f098660
Merge pull request #580 from bogdando/gcs_logs
...
Upload logs to GCS after failure
2016-11-04 14:50:54 +01:00
3b2554217b
Upload logs to GCS after failure
...
Delete configure logs script as not needed
Rework collect info script defaults
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-11-03 15:25:37 +01:00
672d50393c
Merge branch 'master' into idempotency_resolvconf
2016-11-03 13:08:07 +01:00
d4467ab1c6
Merge pull request #3 from kubernetes-incubator/master
...
stays up to date with upstream
2016-11-02 11:23:03 +00:00
ebeb57ee7c
Merge pull request #576 from sgm-media/master
...
Reload docker.socket after installing flannel on coreos
2016-11-02 09:03:09 +01:00
f9355ea14d
Swap order in which we reload docker/socket
2016-11-01 13:12:40 +01:00
2ca6819cdf
Reload docker.socket after installing flannel on coreos
...
Workaround for #569
2016-11-01 13:12:32 +01:00
437372021d
Merge pull request #574 from kad/vagrant-proxy
...
Vagrantfile: setup proxy inside virtual machines
2016-11-01 11:40:17 +01:00
78ac01add7
Merge pull request #573 from kad/newvb
...
Vagrantfile: use Ubuntu 16.04 LTS
2016-11-01 11:37:34 +01:00
3b3938c6a6
Merge branch 'master' into newvb
2016-11-01 10:28:56 +01:00
36fc05d2fd
Merge pull request #2 from kubernetes-incubator/master
...
stays up to date with upstream repo
2016-10-31 14:10:19 +00:00
7abc747b56
Merge pull request #572 from bogdando/ci_matrix_chagnes
...
Add CI test layouts
2016-10-31 11:21:55 +01:00
9f976e568d
Vagrantfile: setup proxy inside virtual machines
...
In corporate networks, it is good to pre-configure proxy variables.
2016-10-29 00:32:56 +03:00
9d7142f476
Vagrantfile: use Ubuntu 16.04 LTS
...
Use recent supported version of Ubuntu for local development setup
with Vagrant.
2016-10-28 23:26:25 +03:00
50f77cca1d
Add CI test layouts
...
* Drop Wily from test matrix
* Replace the Wily cases dropped with extra cases to test separate
roles deployment
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-10-28 16:42:03 +02:00
33ebf124c4
Merge pull request #570 from mattymo/update_owners
...
Update OWNERS
2016-10-28 14:27:01 +02:00
03e162b342
Update OWNERS
2016-10-28 11:16:11 +04:00
d8b06f3e2f
Ignore changes on check resolvconf task
2016-10-28 10:38:16 +04:00
d6f206b5fd
Merge pull request #561 from kubespray/rsync_certs
...
Use tar+register instead of copy/slurp for distributing tokens and certs
2016-10-27 10:52:41 +02:00
357a15ffd4
Merge pull request #568 from kubespray/issue/452
...
Add new var skip_dnsmasq_k8s
2016-10-27 09:07:39 +02:00
a3f892c76c
Merge pull request #1 from kubespray/master
...
stays up to date with main project
2016-10-26 22:03:23 +01:00
2778ac61a4
Add new var skip_dnsmasq_k8s
...
If skip_dnsmasq is set, it will still not set up dnsmasq
k8s pod. This enables independent setup of resolvconf section
before kubelet is up.
2016-10-26 17:56:15 +03:00
c7b00caeaa
Use tar+register instead of copy/slurp for distributing tokens and certs
...
Related bug: https://github.com/ansible/ansible/issues/15405
Uses tar and register because synchronize module cannot sudo on the
remote side correctly and copy is too slow.
This patch dramatically cuts down the number of tasks to process
for cert synchronization.
2016-10-26 15:46:18 +03:00
7fe255e5bb
Merge pull request #566 from bogdando/smart_facts
...
Enable smart facts cache for CI jobs
2016-10-25 14:13:18 +02:00
93f7a26896
Enable smart facts cache for CI jobs
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-10-25 12:23:49 +02:00
3d617fbf88
Merge pull request #564 from bogdando/containers_download
...
Fix idempotency/recurrence of download and preinstall
2016-10-25 11:52:24 +02:00
c59c3a1bcf
Fix idempotency/recurrence of download and preinstall
...
* Don't push containers if not changed
* Do preinstall role only once and redistribute defaults to
corresponding roles
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-10-24 18:28:53 +02:00
4c0bf6225a
Merge pull request #562 from kubespray/enable_standalone_node
...
Enable standalone node deployment
2016-10-24 13:10:53 +02:00
b11662a887
Merge pull request #558 from chadswen/etcdctl-path
...
Use absolute path for etcdctl
2016-10-21 23:06:15 +02:00
11f1f71b3b
dynamically calculate etcd peer names
2016-10-21 16:17:50 +03:00
0e9d1e09e3
Sync master tokens only with those in play_hosts
2016-10-21 14:43:41 +03:00
65d2a3b0e5
Use only native cachable hostvars for etcd set_facts
2016-10-21 14:39:58 +03:00
8165da3f3d
Merge pull request #559 from kubespray/fix_cloud_provider
...
fix dnsmasq template cloud_provider lookup
2016-10-21 12:25:29 +02:00
4b7347f1cd
fix dnsmasq template cloud_provider lookup
2016-10-21 13:00:40 +03:00
e6902d8ecc
Use absolute path for etcdctl
...
Small fix. The shell module won't automatically resolve the path to the etcdctl binary, so i prefixed with {{ bin_dir }}/
2016-10-20 14:56:52 -05:00
a5137affeb
Hostname alias fixes
...
Change the kubelet --hostname-override flag to use the ansible_hostname variable which should be more consistent with the value required by cloud providers
Add ansible_hostname alias to /etc/hosts when it is different from inventory_hostname to overcome node name limitations see https://github.com/kubernetes/kubernetes/issues/22770
Signed-off-by: Chad Swenson <chadswen@gmail.com >
2016-10-18 16:22:32 -05:00
a423927ac9
Merge pull request #546 from chadswen/dependency-variables
...
Parameterize dependency endpoints
2016-10-18 18:42:17 +02:00
31c2922752
Merge pull request #552 from kubespray/upgrade_k8s_v1.4.3
...
upgrade to k8s v1.4.3
2016-10-18 18:19:08 +02:00
7e81855e24
Merge pull request #554 from bogdando/kubeadm_adoption
...
Update roadmap for the kubeadm LCM track
2016-10-18 13:52:55 +02:00
2510092599
Merge pull request #555 from kubespray/update_roadmap
...
update roadmap, kubeadm adoption
2016-10-18 13:52:08 +02:00
6113a3f350
update roadmap, kubeadm adoption
2016-10-18 13:51:36 +02:00
7d6fc1d680
Update roadmap for the kubeadm LCM track
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-10-18 13:44:45 +02:00
91a101c855
upgrade to k8s v1.4.3
2016-10-18 12:52:35 +02:00
1de127470f
Merge pull request #549 from bogdando/fix_ha_lb
...
Update ha docs
2016-10-17 15:45:35 +02:00
40de468413
Update ha docs
...
Fix mismatch in code and docs, see
https://github.com/kubespray/kargo/pull/528
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-10-17 15:42:30 +02:00
c402feffbd
Parameterize several dependency endpoints so that they can be overridden with internal mirrors.
...
Signed-off-by: Chad Swenson <chadswen@gmail.com >
2016-10-15 12:26:52 -05:00
f74d6b084b
Merge pull request #545 from kubespray/upgrade_calico_v0.22.0
...
upgrade calico version v0.22.0
2016-10-15 18:01:25 +02:00
dd022f2dbc
upgrade calico version v0.22.0
2016-10-15 15:01:45 +02:00
19928dea2b
Merge pull request #544 from kubespray/upgrade_flannel_v0.6.2
...
upgrade flannel version v0.6.2
2016-10-13 17:03:51 +02:00
21273926ce
upgrade flannel version
2016-10-12 21:55:39 +02:00
c03bab3246
Merge pull request #543 from kubespray/kube-proxy-cluster-cidr
...
[WIP] Add cluster-cidr to kube-proxy config
2016-10-12 21:18:33 +02:00
71347322d6
Add cluster-cidr to kube-proxy config
...
This option enables masquerading for traffic directed at pods
that comes frmom outside the cluster.
2016-10-12 19:13:33 +03:00
c9769965b8
Merge pull request #540 from aateem/enable-network-policy
...
Add possibility to enable network policy via Calico network controller
2016-10-11 12:10:56 +02:00
52cee1f57f
Merge pull request #538 from kubespray/upgrade_k8s_v1.4.0
...
Upgrade to kubernetes version 1.4.0
2016-10-10 23:14:03 +02:00
056f4b6c00
upgrade to kubernetes version 1.4.0
...
test to change the machine type
Revert "test to change the machine type"
This reverts commit 7a91f1b5405a39bee6cb91940b09a0b0f9d3aee1.
use google dns server when no upstream dns are defined
comment upstream_dns_servers
update documentation
remove deprecated kubelet flags
Revert "remove deprecated kubelet flags"
This reverts commit 21e3b893c896d0291c36a07d0414f4cb88b8d8ac.
2016-10-10 22:44:47 +02:00
3919d666c1
Add possibility to enable network policy via Calico network controller
...
The requirements for network policy feature are described here [1]. In
order to enable it, appropriate configuration must be provided to the CNI
plug in and Calico policy controller must be set up. Beside that
corresponding extensions needed to be enabled in k8s API.
Now to turn on the feature user can define `enable_network_policy`
customization variable for Ansible.
[1] http://kubernetes.io/docs/user-guide/networkpolicies/
2016-10-10 17:22:12 +03:00
8c8d978cd8
Merge pull request #537 from xenolog/issues/535
...
Issues/535
2016-10-07 18:05:14 +02:00
dea4210da1
Bump Calico-CNI plugin binaries versions
...
and correct checksums
2016-10-07 13:14:46 +03:00
a6344f7561
Changes in Kubernetes and Calico-CNI plugin config files
...
required for usage of Calico CNI plugin version 1.4.2
2016-10-06 19:33:16 +03:00
c490e5c8a1
Merge pull request #528 from kubespray/proxy-nginx
...
Use nginx proxy on non-master nodes to proxy apiserver traffic
2016-10-05 19:19:32 +02:00
84052ff0b6
use nginx proxy on non-master nodes to proxy apiserver traffic
...
Also adds all masters by hostname and localhost/127.0.0.1 to
apiserver SSL certificate.
Includes documentation update on how localhost loadbalancer works.
2016-10-05 20:09:10 +03:00
9ca374a88d
Merge pull request #491 from kubespray/calicopools
...
Allow calico to configure pool if tree exists, but no pools defined
2016-10-05 17:12:26 +02:00
648aa7422d
Merge pull request #522 from anthonyhaussman/KubeVersionDefaults
...
Move kube_version var to defaults
2016-10-05 17:11:59 +02:00
41aefd131b
Merge pull request #531 from kubespray/reverselookups
...
Disable reverse lookups again
2016-10-05 13:49:13 +02:00
2e90d3fe76
Merge branch 'master' into reverselookups
2016-10-05 14:46:47 +03:00
4f33c6cfe6
Merge pull request #533 from kubespray/etcd_quorum_read
...
Enable quorum read for apiserver
2016-10-05 12:01:04 +02:00
f4e6fdc193
Enable quorum read for apiserver
...
This reduces the likelihood of apiserver status updates
timing out due to etcd write conflicts.
2016-10-04 18:31:42 +03:00
9d069d54d6
Merge pull request #530 from adidenko/fix-calico-cluster-ip
...
Add support for --masquerade-all in kube-proxy
2016-10-03 16:49:31 +02:00
fb0ee9d84a
Add support for --masquerade-all in kube-proxy
...
New boolean var `kube_proxy_masquerade_all` which enables/disables
`--masquerade-all` argument for kube-proxy.
Closes #524
2016-10-03 12:24:43 +02:00
016b7893c6
Merge pull request #525 from keglevich3/patch-2
...
changed to the correct link
2016-09-30 12:38:55 +02:00
1724772b20
Merge pull request #527 from bogdando/download_binaries
...
Skip download_run_once for binaries as unimplemented yet
2016-09-30 12:28:53 +02:00
a6a5d0e068
Skip download_run_once for binaries as unimplemented yet
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-30 10:55:02 +02:00
d548cb6ac2
changed to the correct link
2016-09-29 17:44:24 +03:00
d9641771ed
add kube-masters to SSL certificate
2016-09-29 15:12:30 +03:00
aaa3f1c491
Merge pull request #502 from adidenko/custom-calico-hyperkube
...
Allow to use custom "canalized" calico cni
2016-09-29 13:29:49 +02:00
5889f7af0e
Merge pull request #515 from adidenko/fix-delegate-to
...
Fix delegate_to expression in download tasks
2016-09-29 10:36:44 +02:00
5579cddbdb
Disable reverse lookups again
...
Initially this was removed, but it turns out that services that
perform reverse lookups (such as MariaDB) will encounter severe
performance degredation with this disabled.
2016-09-29 10:49:55 +04:00
2b6866484e
Allow to use custom "canalized" calico cni
...
- Allow to overwrite calico cni binaries copied from hyperkube
by the custom ones.
- Fix calico-ipam deployment (it had wrong source in rsync)
- Make copy from hyperkube idempotent (use rsync instead of cp)
- Remove some orphaned comments
2016-09-28 18:09:20 +02:00
34a27b0127
Move kube_version var to defaults
...
Move the variable kube_version to defaults to have the possibility to overwrite it via group_vars inventory if needed.
2016-09-28 16:15:18 +02:00
948d1d61ff
Merge pull request #521 from anthonyhaussman/MethodBoolUseCNI
...
Change method to set use_hyperkube_cni var bool
2016-09-28 12:24:53 +02:00
c96a9bfdfd
Merge pull request #518 from bogdando/issues/516
...
Allow subdomains of dns_domain and fix kubelet restarts
2016-09-28 10:11:44 +02:00
4e80ac1cb3
Merge pull request #497 from tonycapone/master
...
Restored gather facts on all hosts
2016-09-27 17:00:39 +02:00
550bda951e
Change method to set use_hyperkube_cni var bool
...
The precedent method returb a string "True\n" or "False\n", it seems to be an Ansible bug.
New method return a boolean
2016-09-27 16:41:09 +02:00
6b27508c93
Merge pull request #519 from bogdando/fix_containers_download
...
Fix containers download condition
2016-09-27 15:23:50 +02:00
6684766c5f
Merge pull request #520 from kubespray/use_dns_name_kubedns
...
use variable dns_domain instead of cluster_name for kubedns
2016-09-27 14:52:30 +02:00
5fd43b7cf0
Allow subdomains of dns_domain and fix kubelet restarts
...
* Add a var for ndots (default 5) and put it hosts' /etc/resolv.conf.
* Poke kube dns container image to v1.7
* In order to apply changes to kubelet, notify it to
be restarted on changes made to /etc/resolv.conf. Ignore errors as the kubelet
may yet to be present up to the moment of the notification being processed.
* Remove unnecessary kubelet restart for master role as the node role ensures
it is up and running. Notify master static pods waiters for apiserver,
scheduler, controller-manager instead.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-27 14:32:49 +02:00
336e2b8c84
use variable dns_domain instead of cluster_name for kubedns
2016-09-27 14:15:27 +02:00
ee69ac857e
Fix containers download condition
...
Save/push/load containers if only download.enabled and download.container
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-27 13:44:29 +02:00
6caf5b0ac3
Fix delegate_to expression in download tasks
...
"else omit" is causing problems in this expression. Replacing
it with more strict "inventory_hostname" fixes the issue and
handles `download_run_once` as expected.
Closes issue #514
2016-09-27 11:25:24 +02:00
0f461282c8
Merge pull request #507 from anthonyhaussman/KubeDNSCorrection
...
Correct nslookup command
2016-09-26 13:58:00 +02:00
ab7c110880
Merge pull request #510 from bogdando/dns_docs
...
Add more DNS docs
2016-09-26 13:57:14 +02:00
5046466dae
Merge pull request #509 from kubespray/cnicopyweave
...
Copy hyperkube CNI plugins when using weave
2016-09-26 13:54:02 +02:00
0cc581b2da
Merge pull request #500 from kubespray/docker1.12.1
...
Add Docker 1.12.1 version
2016-09-26 13:53:29 +02:00
7dde23e60b
Add more DNS docs
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-26 13:47:34 +02:00
e4a48cf53b
Add Docker 1.12.1 version
2016-09-26 12:16:16 +03:00
a3fe1e78df
Copy hyperkube CNI plugins when using weave
2016-09-26 12:02:19 +03:00
5f2bb3319b
Correct nslookup command
...
Change nslookup command to check the right cluster_name
2016-09-23 17:44:09 +02:00
429b08a408
Merge pull request #506 from bogdando/dns_drawing
...
Adjust DNS picture
2016-09-23 17:26:29 +02:00
ec0317e0e4
Adjust DNS picture
...
Reflect changes made to DNS setup
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-23 17:11:07 +02:00
613e3b65ac
Merge pull request #505 from bogdando/rework_dnsstack
...
Fix docs and dns servers placement order
2016-09-23 16:25:20 +02:00
dfb9063b3f
Fix docs and dns servers placement order
...
- Update docs and a drawing to clarify DNS setup.
- Change order of nameservers placement to match
changes in https://github.com/kubespray/kargo/pull/501
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-23 16:16:00 +02:00
284354c0da
Merge pull request #504 from bogdando/rework_dnsstack
...
Make dnsmasq daemon set optional
2016-09-23 15:33:34 +02:00
82ee60fe8b
Make dnsmasq daemon set optional
...
Change additional dnsmasq opts:
- Adjust caching size and TTL
- Disable resolve conf to not create loops
- Change dnsPolicy to default (similarly to kubedns's dnsmasq). The
ClusterFirst should not be used to not create loops
- Disable negative NXDOMAIN replies to be cached
- Make its very installation as optional step (enabled by default).
If you don't want more than 3 DNS servers, including 1 for K8s, disable
it.
- Add docs and a drawing to clarify DNS setup.
- Fix stdout logs for dnsmasq/kubedns app configs
- Add missed notifies to resolvconf -u handler
- Fix idempotency of resolvconf head file changes
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-23 12:59:06 +02:00
73a8c24089
Merge pull request #501 from kubespray/nameserver_update_fix
...
Improve management of nameservers in resolv.conf
2016-09-22 18:49:29 +02:00
d313be4420
Improve management of nameservers in resolv.conf
...
Changing nameservers now will clean up previous entries
2016-09-22 18:11:15 +03:00
83750d14e3
Merge pull request #498 from teutostack/pr_dnsmasq_enhancement
...
Changed ImagePullPolicy from Always to IfNotPresent to avoid download…
2016-09-22 12:40:49 +02:00
123532d2a4
Changed ImagePullPolicy from Always to IfNotPresent to avoid download issue when DNS is not working
2016-09-20 10:34:44 +02:00
1a05b5980f
restored gather facts on all hosts
2016-09-19 14:12:42 -05:00
a3a772be7b
Merge pull request #495 from sc68cal/sc68cal-patch-1
...
Rename large-deploymets.md to large-deployments.md
2016-09-19 18:49:37 +02:00
42a5055d3c
Rename large-deploymets.md to large-deployments.md
...
Filename was a typo
2016-09-19 11:51:37 -04:00
a93639650f
Allow calico to configure pool if tree exists, but no pools defined
2016-09-19 15:27:47 +03:00
71a230a4fa
Merge pull request #493 from ivan4th/fix-reverse-dns-lookups
...
Fix reverse DNS lookups of service IPs.
2016-09-19 14:20:15 +02:00
0643ed968f
Merge pull request #494 from kubespray/etcd_proxy_fix
...
always bind etcd_proxy to localhost
2016-09-19 14:19:55 +02:00
1572aaf6ca
Merge pull request #489 from lukaszo/patch-1
...
Add socat do required pkgs
2016-09-19 12:19:46 +02:00
5803de1ac5
Merge pull request #486 from kubespray/etchosts
...
switch /etc/hosts to use blockinfile
2016-09-19 12:19:37 +02:00
13874f4610
Fix reverse DNS lookups of service IPs.
...
This fixes "DNS should provide DNS for services [Conformance]"
e2e test in k8s.
2016-09-19 09:12:10 +03:00
341ea5a6ea
always bind etcd_proxy to localhost
2016-09-18 19:58:15 +04:00
93be5afb60
Merge pull request #492 from bogdando/fix_cni
...
Fix use_hyperkube_cni logic
2016-09-16 15:01:48 +02:00
5ed3916f82
Fix use_hyperkube_cni logic
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-16 13:07:04 +02:00
7760f75ae0
Merge pull request #488 from bogdando/issue/480
...
Distribute container images across nodes
2016-09-16 09:15:10 +02:00
390764c2b4
Add retry_stagger var for failed download/pushes.
...
* Add the retry_stagger var to tweak push and retry time strategies.
* Add large deployments related docs.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-15 16:43:58 +02:00
9926395e5b
Distribute downloaded artifacts
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-15 16:43:56 +02:00
422428908a
Download containers and save all
...
Move version/repo vars to download role.
Add container to download params, which overrides url/source_url,
if enabled.
Fix networking plugins download depending on kube_network_plugin.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-15 16:43:56 +02:00
76c43f62e2
Merge pull request #490 from kubespray/fix_hyperkube_cni_decision
...
Fix logic handling for use_hyperkube_cni
2016-09-15 15:35:00 +02:00
b69d5f6e6e
Fix logic handling for use_hyperkube_cni
2016-09-15 16:09:40 +03:00
0db441b28f
Add socat do required pkgs
...
It's required for port forwarding.
2016-09-14 21:27:33 +02:00
e3ebabc3b0
switch /etc/hosts to use blockinfile
2016-09-14 19:43:33 +03:00
d0867c8d03
Merge pull request #484 from ursuad/master
...
Added IntelliJ IDEA Project folder to .gitignore
2016-09-14 13:03:35 +02:00
b46458a18f
Merge pull request #483 from kubespray/fix_idempotency_kubedns
...
Fix kubedns idempotency
2016-09-14 13:02:02 +02:00
3ae29d763e
Added IntelliJ IDEA Project folder to .gitignore
2016-09-14 10:34:47 +01:00
125cb0aa64
Merge pull request #481 from bogdando/issue/479
...
Add retries for copying binaries from containers and packages
2016-09-14 10:04:32 +02:00
783871a253
Add retries for packages installation
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-13 18:12:07 +02:00
8294a9f1db
Merge pull request #482 from anthonyhaussman/checkkubeversioncni
...
Check kube version for calico cni to use
2016-09-13 15:54:47 +02:00
ef43b21597
Fix kubedns idempotency
...
Removed api-version from kube.py because it is deprecated.
Updating both kube.py because dnsmasq one is actually used.
Fixed name back to kubedns for checking its resource.
2016-09-13 16:49:51 +03:00
6fdcaa1a63
Add retries for copying binaries from containers
...
Closes issue: https://github.com/kubespray/kargo/issues/479
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-13 15:09:34 +02:00
d47a2d03b4
Delete default variable use_hyperkube_cni
...
The variable is now set via a task depending of the version of kube
2016-09-13 14:59:50 +02:00
739cf59953
Determine hyperkube cni to use
...
Starting from version 1.3.4 of hyperkube, calico is "canalized" which requires flannel and hostonly cni plugins.So we let hyperkube ship necessary cni
2016-09-13 14:58:29 +02:00
2e386dfbdc
Merge pull request #465 from kubespray/freeze_kpm_version
...
Multiple app deploy tools
2016-09-08 22:01:52 +02:00
ccbb2ee3ae
App deployer plugins
2016-09-08 15:01:57 +02:00
eb78ce4c4e
Merge pull request #473 from kubespray/bootsrap
...
Bootstrap
2016-09-08 14:54:08 +02:00
6084e05a6b
Bootstrap os
2016-09-07 20:19:46 +02:00
da8a604c4c
Changed apt to apt-get
2016-09-07 20:13:15 +02:00
df2b2d7417
Added bootstrap script for Ubuntu 16.04 LTS and later
2016-09-07 20:13:05 +02:00
d87b0344b5
Merge pull request #471 from kubespray/kubednsrc
...
Reset replicacluster name of kube-dns-v19 back to kubedns
2016-09-07 13:22:46 +02:00
2606e8e1c8
combine bootstrap options, add xenial support
2016-09-06 10:04:41 -04:00
b62de1dcb1
Reset replicacluster name of kube-dns-v19 back to kubedns
...
This broke upgraded clusters
2016-09-06 16:43:17 +03:00
37057ba969
Merge pull request #468 from kubespray/fix-kubedns-name
...
Rename kube-dns back to kubedns
2016-09-02 13:36:38 +02:00
b58512bbda
Rename kube-dns back to kubedns
...
kubedns should stay named the same so that services which
depend on this name are not broken.
2016-09-02 15:09:49 +04:00
c90045c506
Merge pull request #467 from kubespray/issue-352
...
remove dependency on kpm for kubedns
2016-09-02 12:20:24 +02:00
8b91a43576
remove dependency on kpm for kubedns
2016-09-01 10:01:15 -07:00
602dba45ea
Merge pull request #466 from bogdando/fix_resolvconf
...
Fix updating resolvconf
2016-09-01 14:09:45 +02:00
d240073f65
Fix updating resolvconf
...
Move updating resolvconf to the network restart handler to
ensure changes applied to the /etc/resolv.conf.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-09-01 11:10:26 +02:00
69f09e0f18
Merge pull request #461 from kubespray/issue-369
...
Issue 369
2016-08-31 15:09:33 +02:00
cca26ae3d7
Merge pull request #458 from kubespray/issue456
...
Remove search and nameserver entries from resolvconf base
2016-08-31 13:15:30 +02:00
1c1894cdd3
Merge pull request #462 from kubespray/calicodefaultpool
...
Disable calicoctl from creating a default pool
2016-08-31 11:58:37 +02:00
26a0406669
Disable calicoctl from creating a default pool
...
Sometimes invoking calicoctl to create a pool also
creates a default pool, which causes errors in deploy.
2016-08-31 12:54:05 +03:00
a746d63177
ensure docker.service.d exists
2016-08-30 09:34:34 -07:00
0fc5e70c18
incorrect file name
2016-08-30 09:26:14 -07:00
b74c2f89f0
lay down a systemd dropin instead of the /run/flannel_docker_opts.env symlink
2016-08-30 09:17:41 -07:00
7ac7fc33a7
Merge pull request #460 from str1ke/fix-vagrant-ansible-groups
...
Fix vagrant custom instance name prefix
2016-08-30 15:47:25 +02:00
9339903a85
Fix vagrant custom instance name prefix
2016-08-30 19:24:17 +06:00
33c8d0a1a7
Remove search and nameserver entries from resolvconf base
...
These items conflict when they are provided also in head file
Fixes : #456
2016-08-30 13:14:44 +03:00
5488571108
Merge pull request #455 from kubespray/fix_etcd_checksum
...
fix etcd checksum
2016-08-29 19:06:41 +02:00
28fbfbbbe7
fix etcd checksum
2016-08-29 19:09:08 +02:00
18cdab3671
Merge pull request #449 from kubespray/fixapiserverplugins
...
Remove SecurityContextDeny API plugin
2016-08-29 18:58:53 +02:00
311baeed5d
Merge pull request #448 from kubespray/etcdnosync
...
Add --no-sync to etcdctl member list
2016-08-29 18:58:14 +02:00
f4d4d490af
Merge pull request #451 from kubespray/etcd306
...
Rebase etcd to v3.0.6
2016-08-29 18:56:32 +02:00
256a4e1f29
Rebase etcd to v3.0.6
...
Fixes #450
2016-08-29 15:31:05 +03:00
c50c6672f3
Remove SecurityContextDeny API plugin
...
This is no longer recommended for use since K8s 1.2:
http://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-plug-ins-to-use
2016-08-29 14:20:28 +03:00
1345dd07f7
Add --no-sync to etcdctl member list
...
Fixes #447
2016-08-29 12:51:43 +03:00
e83010b739
Merge pull request #445 from kubespray/caliconodechoice
...
Enable customization of calico-node docker image
2016-08-28 09:36:06 +02:00
0dbde9e923
Merge pull request #446 from kubespray/upgrade_weave_v1.6.1
...
upgrade weave version to 1.6.1
2016-08-27 17:20:31 +02:00
d4193bbd22
upgrade weave version to 1.6.1
2016-08-27 16:04:06 +02:00
b92404fd0a
Enable customization of calico-node docker image
...
New vars: calico_node_image_repo and claico_node_image_tag
Defaults: calico/node and {{ calico_version }}, respectively
2016-08-27 16:25:39 +04:00
9f01331595
Merge pull request #442 from kubespray/issue-441
...
ensure bin dir for coreos before anything else
2016-08-26 21:05:04 +02:00
82076f90a3
ensure bin dir for coreos before anything else
2016-08-26 13:24:47 -04:00
e165bb19a0
Merge pull request #440 from bogdando/roles_deps
...
Refactor roles and hosts
2016-08-25 15:32:22 +02:00
8168689caa
Refactor roles and hosts
...
Shorten deployment time with:
- Remove redundand roles if duplicated by a dependency and vice versa
- When a member of k8s-cluster, always install docker as a dependency
of the etcd role and drop the docker role from cluster.yaml.
- Drop etcd and node role dependencies from master role as they are
covered by the node role in k8s-cluster group as well. Copy defaults
for master from node role.
- Decouple master, node, secrets roles handlers and vars to be used w/o
cross references.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-25 13:27:57 +02:00
c71b078c8e
Merge pull request #437 from kubespray/issues/429
...
Fix handler triggering for kubelet restart
2016-08-25 11:33:50 +02:00
caa8efbf86
Fix handler triggering for kubelet restart
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-25 09:12:25 +02:00
bcec5553c5
Merge pull request #434 from kubespray/issue-426
...
Check only for AWS, wrote some docs on actually using AWS
2016-08-24 21:55:57 +02:00
9ac744779c
Merge pull request #433 from bogdando/issues/322
...
Fix resolv.conf search/nameserver
2016-08-24 17:08:31 +02:00
4e76bced53
merge with current master, update typos in doc
2016-08-24 09:56:42 -04:00
60f263b629
updated to no longer handle gce as cloud-provider. provided aws setup doc
2016-08-24 09:48:32 -04:00
ea57ce7514
Fix resolv.conf search/nameserver
...
* Ensure additional nameserver/search, if defined as vars.
* Don't backup changed dhclient hooks as they are going to be
executed by dhclient as well, which is not what we want.
* For debian OS family only:
- Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
- Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
* For rhel OS family, the fix TBD, it doesn't work the same way.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-24 15:31:57 +02:00
439a2e2678
Merge pull request #432 from kubespray/revert_regressions
...
Revert regressions
2016-08-24 15:31:21 +02:00
346eca5748
Revert "pass cloud provider flag in all cases, not just openstack"
...
This reverts commit f35e5e864f
.
2016-08-24 14:32:54 +02:00
643b28f9d3
Revert "Fix resolv.conf search/nameserver"
...
This reverts commit 977f82c32c
.
2016-08-24 12:36:25 +02:00
1938c96239
Merge pull request #420 from bogdando/collect_info
...
Adjust collect-info playbook
2016-08-24 10:06:30 +02:00
5dc8f5229f
Merge pull request #427 from kubespray/issue-426
...
pass cloud provider flag in all cases, not just openstack
2016-08-23 21:12:11 +02:00
f35e5e864f
pass cloud provider flag in all cases, not just openstack
2016-08-23 13:57:32 -04:00
47b4242613
Adjust collect-info playbook
...
Cleanup collected artifacts,
drop unrelated files/commands.
Always install gitinfos script to binaries for external
use.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-23 11:28:27 +02:00
92c4428cfd
Merge pull request #422 from kubespray/issue-421
...
remove host ca-certs, as they aren't necessary
2016-08-23 10:17:38 +02:00
d97673c13f
Merge pull request #423 from bogdando/fix_gitinfos
...
Fix gen-gitinfos.sh
2016-08-23 10:17:21 +02:00
f61071312a
Fix gen-gitinfos.sh
...
Fix the error gen-gitinfos.sh: 57: [: foo: unexpected operator
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-23 10:15:30 +02:00
234608433e
remove host ca-certs, as they aren't necessary
2016-08-22 16:09:33 -04:00
36b6ae9a3c
Merge pull request #419 from bogdando/fix_322
...
Fix resolv.conf search/nameserver
2016-08-22 13:48:35 +02:00
977f82c32c
Fix resolv.conf search/nameserver
...
Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
Ensure additional nameserver/search, if defined as vars.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-22 11:53:44 +02:00
1f6dce61ba
Merge pull request #418 from kubespray/fixkubeletnode
...
Restart kubelet if launcher changed
2016-08-19 09:10:55 +02:00
6f07da9f41
Restart kubelet if launcher changed
...
Fixes #409
2016-08-18 19:00:05 +03:00
ac7cc4b7d1
Merge pull request #413 from kubespray/fix_etcd_standalone_play
...
Fix etcd play to only run on non-k8s-cluster nodes
2016-08-18 14:15:15 +02:00
d591b59205
Fix etcd play to only run on non-k8s-cluster nodes
...
This decreases the time required to deploy a cluster with
3 nodes, but none are standalone etcd roles.
2016-08-18 14:08:24 +03:00
c6f2102073
Merge pull request #412 from kubespray/optionalkubeletcni
...
Copy hyperkube cni plugins optionally for calico deployment
2016-08-16 14:00:27 +02:00
612266f3e5
Merge pull request #408 from kubespray/upstreaming_to_k8s
...
upstreaming to k8s
2016-08-16 13:59:13 +02:00
5fbfa1481e
files needed to move kargo to k8s
2016-08-16 14:01:03 +02:00
430a87d887
Merge pull request #416 from kubespray/bug383
...
Fix init scripts for etcd. Fixes #383
2016-08-16 09:17:53 +02:00
0c953101ff
Fix init scripts for etcd. Fixes #383
...
Fixes Ubuntu 14.04 deployment of etcd.
2016-08-15 14:09:42 +03:00
07c144d8a6
Merge pull request #415 from kubespray/issue-414
...
force fact check of all nodes first thing
2016-08-12 17:16:18 +02:00
298ab8e89e
force fact check of all nodes first thing
2016-08-12 10:06:31 -04:00
8812be1e14
Merge pull request #411 from idvoretskyi/patch-1
...
OpenStack minor fix
2016-08-11 14:22:36 +02:00
4268996680
OpenStack minor fix
2016-08-11 12:33:29 +03:00
34232a170a
Merge pull request #410 from dis-xcom/fix-resolvconf-discovery
...
Fix resolvconf executable discovery
2016-08-10 21:58:16 +02:00
0fa90ec9e8
Fix resolvconf executable discovery
...
If resolvconf was installed and then removed, the file
/etc/resolvconf/resolv.conf.d/head remains in the filesystem
- change discovery of 'resolvconf' executable to check if it
can be located with 'which resolvconf' command or not.
2016-08-10 17:22:33 +03:00
f073ee91ea
Copy hyperkube cni plugins optionally for calico deployment
...
Hyperkube from CoreOS now ships with all binaries required for
calico and flannel (but not weave). It simplifies deployment for
some network plugin scenarios to not download CNI images.
TODO: Optionally disable downloading calico to /opt/cni/bin
2016-08-10 15:35:53 +03:00
cf502735e9
Merge pull request #407 from bogdando/ansible_logs
...
Collect ansible logs as artifacts
2016-08-09 09:14:31 +02:00
252a30aee8
Collect ansible logs as artifacts
...
Extends https://github.com/kubespray/kargo/pull/406
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-08 16:52:08 +02:00
677c4c4cb6
Merge pull request #404 from bogdando/fix_sunit
...
Fix calico-node service unit
2016-08-08 16:41:28 +02:00
6a457720a4
Merge pull request #406 from bogdando/collect_info
...
Add a diagnostic info collect playbook
2016-08-08 16:09:53 +02:00
f2de250b10
Merge pull request #405 from kubespray/disableipv6dns
...
Add option to disable ipv6 dns lookup
2016-08-08 16:09:43 +02:00
6cb9bd2619
Add a diagnostic info collect playbook
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-08 13:38:25 +02:00
e727bd52f1
Add option to disable ipv6 dns lookup
...
New variable disable_ipv6_dns in kubernetes/preinstall.
2016-08-08 13:59:20 +03:00
d2c57142d3
Fix calico-node service unit
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-08 12:06:32 +02:00
9be099466d
Merge pull request #403 from kubespray/bug368
...
Check dnsmasq on first kube-node
2016-08-05 15:07:25 +02:00
acae5d4286
Check dnsmasq on first kube-node
...
kube-masters without kube-node role will not run
kube-proxy, and therefore can't check if dnsmasq
is running.
Fixes #368
2016-08-05 16:55:48 +04:00
637eabccce
Merge pull request #401 from bogdando/revert_ci_changes
...
Revert "Merge pull request #393 from bogdando/ci_changes"
2016-08-03 15:13:07 +02:00
e6cfbe42db
Revert "Merge pull request #393 from bogdando/ci_changes"
...
This reverts commit 4662b41de6
, reversing
changes made to 4fb4ac120b
.
2016-08-03 12:42:52 +02:00
15aec7cd87
Merge pull request #398 from mattymo/rework_systemd_wait_master
...
Improve systemd handling and stabilize docker
2016-08-03 11:30:14 +02:00
b5d3f9b2fe
Merge pull request #397 from kubespray/docker112
...
Add future docker versions
2016-08-02 17:39:43 +02:00
e38258381f
Wait for static pods when setting up
...
Fixes #390
2016-08-02 17:56:31 +03:00
e8a1c7a53f
Move docker systemd unit creation to docker role
...
Creating the unit using default settings early on
and then changing it during network_plugin section
leads to too many docker restarts and duplicated code.
Reversed Wants= dependence on docker.service so it does not
restart docker when reloading systemd
Consolidated all docker restart handlers.
2016-08-02 17:56:24 +03:00
5bf9b5345e
Add future docker versions
...
Default version is still unchanged, but added docker versions 1.11 and 1.12
2016-08-02 12:35:05 +03:00
2af71f31b4
Rework systemd service units
...
* Add for docker system units:
ExecReload=/bin/kill -s HUP $MAINPID
Delegate=yes
KillMode=process.
* Add missed DOCKER_OPTIONS for calico/weave docker systemd unit.
* Change Requires= to a less strict and non-faily Wants=, add missing
Wants= for After=.
* Align wants/after in a wat if Wants=foo, After= has foo as well.
* Make wants/after docker.service to ask for the docker.socket as well.
* Move "docker rm -f" commands from ExecStartPre= to ExecStopPost=.
hooks to ensure non-destructive start attempts issued by Wants=.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-02 10:55:42 +02:00
4662b41de6
Merge pull request #393 from bogdando/ci_changes
...
Add CI test layouts
2016-08-01 05:31:05 -07:00
ff5a48c9f9
Add CI test layouts
...
* Drop Trusty from test matrix
* Add extra cases to test separate roles deployment
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-08-01 14:07:59 +02:00
4fb4ac120b
Merge pull request #389 from kubespray/fixweave
...
Fix weave deployment task names
2016-07-30 18:26:08 -07:00
c7fef6cb76
Fix weave deployment task names
2016-07-30 23:12:41 +04:00
6a7308d5c7
Merge pull request #372 from adidenko/calico-ipip-support
...
Support --ipip option for calico pool
2016-07-29 08:05:00 -07:00
4419662fa0
Merge pull request #330 from jonbec/master
...
Add settable flannel image tag & image repo
2016-07-29 08:02:18 -07:00
b91f8630a3
Merge pull request #387 from kubespray/dockerwants
...
Fix etcd restart and calico-node unit
2016-07-29 07:59:22 -07:00
5668e5f767
Fix etcd restart and handler systemd tasks
...
Changed Wants=docker.service to docker.socket
Renamed handlers for reloading systemd to contain role in task name.
2016-07-29 16:32:35 +03:00
aa0d7ea5d0
Merge pull request #386 from kubespray/fixetcdproxysysv
...
Fix etcd user for etcd-proxy service
2016-07-28 07:53:20 -07:00
c52c5f5056
Add run_once to define calico pool task name
2016-07-27 15:55:41 +02:00
90fc407420
Fix etcd user for etcd-proxy service
...
Only affects sys V OSes (Ubuntu 14.04)
Fixes ##383
2016-07-27 11:54:47 +03:00
9fb391fed5
Merge pull request #381 from kubespray/fixetcdstandalone
...
Fix etcd standalone deployment
2016-07-26 16:04:26 -07:00
fbc55da2bf
Merge pull request #378 from bogdando/issues/26
...
Add HA/LB endpoints for kube-apiserver
2016-07-26 16:03:31 -07:00
1b1f5f22d4
Fix etcd standalone deployment
...
etcd facts are generated in kubernetes/preinstall, so etcd nodes need
to be evaluated first before the rest of the deployment.
Moved several directory facts from kubernetes/node to
kubernetes/preinstall because they are not backward dependent.
2016-07-26 18:15:06 +03:00
66da43bbbc
Merge pull request #380 from kubespray/kubectl-container
...
Copy kubectl from docker container
2016-07-26 08:02:56 -07:00
731d32afda
Add HA/LB endpoints for kube-apiserver
...
* Add HA docs for API server.
* Add auto-evaluated internal endpoints and clarify the loadbalancer_apiserver
vars and usecases.
* Use facts for kube_apiserver to not repeat code and enable LB endpoints use.
* Use /healthz check for the wait-for apiserver.
* Use the single endpoint for kubelet instead of the list of apiservers
* Specify kube_apiserver_count to for HA layout
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-25 17:25:45 +02:00
b4688701ea
Copy kubectl from docker container
...
Nearly the last stage of source all components to containers.
Kubectl will be called from hyperkube image.
Remaining tasks:
* Move kube_version variable to kubernetes/preinstall
* Drop placeholder download.nothing requirement
2016-07-25 18:17:59 +03:00
af4c41f32e
Merge pull request #363 from mattymo/kubelet
...
Deploy kubelet and kube-apiserver as containers
2016-07-24 01:02:33 +02:00
d0a1e15ef3
Deploy kubelet and kube-apiserver as containers
...
kubelet via docker
kube-apiserver as a static pod
Fixed etcd service start to be more tolerant of slow start.
Workaround for kube_version to stay in download role, but not
download an files by creating a new "nothing" download entry.
2016-07-22 16:42:34 +03:00
a4da0e4ee2
Merge pull request #375 from bogdando/ha_docs
...
Add ha docs
2016-07-22 15:16:01 +02:00
7d816aecf1
Add ha docs
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-22 14:44:36 +02:00
a63b05efbc
Merge pull request #374 from kubespray/revert-lb
...
Revert "Add HA/LB endpoints for kube-apiserver"
2016-07-22 14:17:50 +02:00
7f212ca9cb
Revert "Add HA/LB endpoints for kube-apiserver"
...
This reverts commit a70c3b661e
.
2016-07-22 13:54:38 +03:00
296eccd238
Merge pull request #361 from bogdando/issue/26_p2
...
Add HA/LB endpoints for kube-apiserver
2016-07-21 14:43:53 +02:00
f94eb0b997
Support --ipip option for calico pool
...
Adds new boolean configuration variable for calico network plugin
`ipip`. When it's enabled calico pool is created with '--ipip'
option (IP-over-IP encapsulation across hosts).
Also refactor pool creation tasks to simplify logic and make tasks
more readable.
2016-07-21 13:05:40 +02:00
a70c3b661e
Add HA/LB endpoints for kube-apiserver
...
* Add auto-evaluated internal endpoints and clarify the loadbalancer_apiserver
vars and usecases.
* Add loadbalancer_apiserver_localhost (default false). If enabled, override
the external LB and expect localhost:443/8080 to be new internal only frontends.
* Add kube_apiserver_multiaccess to ignore loadbalancers, and make clients
to access the apiservers as a comma-separated list of access_ip/ip/ansible ip
(a default mode). When disabled, allow clients to use the given loadbalancers.
* Define connections security mode for kube controllers, schedulers, proxies.
It is insecure be default, which is the current deployment choice.
* Rework the groups['kube-master'][0] hardcode defining the apiserver
endpoints.
* Improve grouping of vars and add facts for kube_apiserver.
* Define kube_apiserver_insecure_bind_address as a fact, add more
facts for ease of use.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-21 11:05:03 +02:00
0f246bfba4
Merge pull request #365 from kubespray/etcddockerdefault
...
Set default etcd deployment to docker
2016-07-21 10:59:49 +02:00
8141b72d5e
Merge branch 'master' into etcddockerdefault
2016-07-20 19:16:47 +03:00
277c5d74cc
Merge pull request #367 from bogdando/set_facts
...
Fix set_facts visibility
2016-07-20 18:00:15 +02:00
7a86b6c73e
Set default etcd deployment to docker
...
Improved docker reload command to wait for etcd to be
up before proceeding. Switched reload to run restart
because it can't reload if it is not guaranteed to be
in running state.
2016-07-20 18:26:16 +03:00
52a85d5757
Merge pull request #366 from mattymo/kubeletresolv
...
Add variable kube_resolv_conf
2016-07-20 13:47:59 +02:00
a76e5dbb11
Fix set_facts visibility
...
Move set_facts to the preinstall scope, so every role
may see it. For example, network plugins to see the etcd_endpoint.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-20 11:41:09 +02:00
c3e5aac18e
Add variable kube_resolv_conf
...
Allow configuration of a custom /etc/resolv.conf for kubelet.
2016-07-20 11:57:47 +03:00
10b38ab9ff
Merge pull request #355 from bogdando/issues/26
...
Add etcd proxy support
2016-07-19 17:43:21 +02:00
32cd6e99b2
Add etcd proxy support
...
* Enforce a etcd-proxy role to a k8s-cluster group members. This
provides an HA layout for all of the k8s cluster internal clients.
* Proxies to be run on each node in the group as a separate etcd
instances with a readwrite proxy mode and listen the given endpoint,
which is either the access_ip:2379 or the localhost:2379.
* A notion for the 'kube_etcd_multiaccess' is: ignore endpoints and
loadbalancers and use the etcd members IPs as a comma-separated
list. Otherwise, clients shall use the local endpoint provided by a
etcd-proxy instances on each etcd node. A Netwroking plugins always
use that access mode.
* Fix apiserver's etcd servers args to use the etcd_access_endpoint.
* Fix networking plugins flannel/calico to use the etcd_endpoint.
* Fix name env var for non masters to be set as well.
* Fix etcd_client_url was not used anywhere and other etcd_* facts
evaluation was duplicated in a few places.
* Define proxy modes only in the env file, if not a master. Del
an automatic proxy mode decisions for etcd nodes in init/unit scripts.
* Use Wants= instead of Requires= as "This is the recommended way to
hook start-up of one unit to the start-up of another unit"
* Make apiserver/calico Wants= etcd-proxy to keep it always up
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
Co-authored-by: Matthew Mosesohn <mmosesohn@mirantis.com >
2016-07-19 14:09:40 +02:00
a2540e3318
Merge pull request #362 from bogdando/fix_service_unit
...
Fix systemd service unit for etcd
2016-07-16 10:38:36 +02:00
0b874e8db2
Fix systemd service unit for etcd
...
See https://github.com/coreos/etcd/issues/4308
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-15 16:22:17 +02:00
192136df20
Merge pull request #359 from kubespray/fix_351
...
deployment idempotent
2016-07-14 21:34:21 +02:00
ab8fdba484
deployment idempotent
2016-07-14 21:33:24 +02:00
342e6d6823
Merge pull request #358 from kubespray/use_coreos_hyperkube
...
use hyperkube coreos image
2016-07-14 21:19:10 +02:00
dfe7bfd127
use hyperkube coreos image
2016-07-14 21:20:41 +02:00
51f55f3748
Merge pull request #353 from kubespray/proxymode_default_iptables
...
use iptables as default proxy mode
2016-07-12 11:16:39 +02:00
a709cd9aa1
use iptables as default proxy mode
2016-07-12 10:20:43 +02:00
d4dfdf68a6
Add settable flannel image tag & image repo
...
New settings with defaults:
flannel_server_helper_image_repo: "gcr.io/google_containers/"
flannel_server_helper_image_tag: "0.1"
flannel_image_repo: "quay.io/coreos/flannel"
flannel_image_tag: "0.5.5"
2016-07-11 13:18:20 +08:00
a5c21ab2e8
Merge pull request #346 from bogdando/issues/345
...
Add hostpath dynamic provisioner for PetSets
2016-07-09 22:43:09 +02:00
c1690c91c2
Merge pull request #348 from rsmitty/master
...
updated admission controllers for >1.2 Kubernetes
2016-07-08 23:08:32 +02:00
e8195b65e4
Merge pull request #344 from jcsirot/master
...
Some additional roadmap items
2016-07-08 19:06:35 +02:00
c9cff5c845
updated admission controllers for >1.2 Kubernetes
2016-07-08 10:04:14 -07:00
da20d9eda4
Add hostpath dynamic provisioner for PetSets
...
Defaults to false. Use with v1.3 only.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com >
2016-07-08 16:52:39 +02:00
a2bdcabc33
Some additional roadmap items
2016-07-08 16:32:01 +02:00
1e8ee99d1a
a small change in the roadmap
2016-07-08 09:40:12 +02:00
a07260959d
Merge pull request #339 from kubespray/roadmap
...
roadmap
2016-07-08 09:20:29 +02:00
5fdea4b947
first version of the roadmap
2016-07-08 09:21:33 +02:00
83da5d7657
Merge pull request #335 from mattymo/calicoctl
...
Change calicoctl deployment to use container
2016-07-07 21:47:40 +02:00
1761f9f891
Merge pull request #309 from mattymo/etcddocker
...
Add optional deployment mode for Docker etcd_deployment_type
2016-07-07 21:17:58 +02:00
b3282cd0bb
Add optional deployment mode for Docker etcd_deployment_type
...
Running etcd in Docker reduces the number of individual file
downloads and services running on the host.
Note: etcd container v3.0.1 moves bindir to /usr/local/bin
Fixes : #298
2016-07-07 19:31:28 +03:00
65ece3bc1d
Merge pull request #341 from jcsirot/ci-test-matrix
...
Add CI test matrix for GCE
2016-07-07 11:11:03 +02:00
e2d6b92370
Add CI test matrix
2016-07-07 10:35:59 +02:00
bcd912e854
Merge pull request #337 from blasphemy/add-kubelet-ip
...
Add kubelet ip
2016-07-07 08:05:03 +02:00
8251781efb
Merge pull request #340 from abourget/fix/flanneld-free-the-logs
...
flanneld: don't redirect logs to an unreadable location
2016-07-07 07:56:10 +02:00
3b7eaf66b6
flanneld: don't redirect logs to an unreadable location, let docker/k8s see
...
and aggregate them.
2016-07-06 16:25:11 -04:00
1d148e9755
fix kubelet ip with quotes
2016-07-05 17:23:08 -04:00
d84ed1b4b3
make kubelet use "ip" as bind address
2016-07-05 17:14:12 -04:00
baf80b7d7e
Change calicoctl deployment to use container
...
Improves upgradability of calicoctl by leveraging docker tags.
2016-07-05 13:49:03 +03:00
9777b3c177
Merge pull request #333 from mattymo/apiserver-loglevel
...
Fix kube-apiserver log level syntax
2016-07-05 12:15:26 +02:00
d2151500b6
Fix kube-apiserver log level syntax
2016-07-05 13:11:45 +03:00
e101b72a72
Merge pull request #332 from mattymo/hyperkubeversion
...
Set hyperkube version to kube_version
2016-07-05 11:47:30 +02:00
b847a43c61
Set hyperkube version to kube_version
2016-07-05 12:43:27 +03:00
19f5093034
Merge pull request #331 from kubespray/docs
...
add documentation
2016-07-04 14:39:00 +02:00
585102ee20
add documentation
2016-07-04 14:37:30 +02:00
ee7ac22f0d
Merge pull request #328 from kubespray/upgrade_k8s_v1.3.0
...
upgrade to k8s v1.3.0
2016-07-03 18:23:17 +02:00
0b67c23d42
test the apiserver from the masters instead of the deployment machine
2016-07-03 16:18:04 +02:00
f1ba247844
upgrade to k8s v1.3.0
2016-07-03 14:14:09 +02:00
2fa7ee0cf9
Merge pull request #326 from kubespray/upgrade_etcd_v3
...
upgrade to etcd v3.0.1
2016-07-02 14:26:13 +02:00
40fbb3691d
uprade to etcd v3.0.1
2016-07-02 14:14:32 +02:00
d9b1435621
Merge pull request #325 from blasphemy/apiserver-bind-address
...
Add --bind-address to kube-apiserver
2016-07-02 10:35:34 +02:00
72ab34f210
Add --bind-address to kube-apiserver
2016-07-01 18:33:59 -04:00
67ca186dd1
Merge pull request #318 from kubespray/upgrade_k8s_v1.2.5
...
upgrade kubernetes to v1.2.5
2016-06-29 16:51:42 +02:00
85fa3efc06
upgrade kubernetes to v1.2.5
2016-06-29 15:38:33 +02:00
8531ec9186
Merge pull request #313 from Smana/choose_k8s_version
...
Helper to change k8s version
2016-06-29 15:14:32 +02:00
8c3f5f0831
change licence to apache2
2016-06-29 14:08:17 +02:00
c4beee38f6
include variables from a distinct file
2016-06-29 14:08:14 +02:00
247a1a6e6e
change hyperkube repository
2016-06-29 14:07:05 +02:00
a4396cfca0
use python script to update sha256 sum in the vars
2016-06-29 14:07:01 +02:00
53b72920a5
Merge pull request #317 from kubespray/etcd_upgrade_v2.3.7
...
upgrade etcd version to 2.3.7
2016-06-28 13:22:31 +02:00
536454b079
upgrade etcd version to 2.3.7
2016-06-28 12:31:57 +02:00
95bb8075f5
Merge pull request #315 from mattymo/patch-2
...
Add KUBE_API_INSECURE_BIND to systemd unit file
2016-06-27 11:10:34 +02:00
708d2fbd61
Add KUBE_API_INSECURE_BIND to systemd unit file
...
This was missing from commit c4c312c2e6
2016-06-27 13:01:22 +04:00
103f09b470
Merge pull request #310 from mattymo/kube_api_insecure_port
...
Add configurable option for kube_apiserver_insecure_bind_address
2016-06-24 17:13:44 +02:00
c4c312c2e6
Add configurable option for kube_apiserver_insecure_bind_address
2016-06-24 18:10:01 +03:00
d7babeba2e
Merge pull request #308 from aLostEngineer/master
...
Update calico systemd.service template for EL7
2016-06-22 21:12:11 +02:00
9e59c74c24
Maintain backwards compatibility with EL6
2016-06-22 09:51:49 -04:00
d94253ff6a
Modify calico docker.service
2016-06-22 09:44:31 -04:00
dc90c594c6
Merge pull request #305 from kubespray/upgrade_coreos_pypy
...
upgrade pypy version
2016-06-21 12:20:39 +02:00
094c2c75f3
upgrade pypy version
2016-06-21 12:11:10 +02:00
9ddace0566
Merge pull request #294 from billyoung/master
...
Add IAM profiles for Kubernetes nodes
2016-06-18 11:03:24 +02:00
47061a31e2
Merge pull request #296 from mattymo/forcedockerpkg
...
Force install of specified docker version, fixes #295
2016-06-17 12:11:04 +02:00
33d897bcb6
Force install of specified docker version, fixes #295
...
This allows Ubuntu/Debian to downgrade Docker version if
a newer version is installed, instead of failing.
2016-06-17 12:31:55 +03:00
bf94d6f45e
Merge pull request #285 from paulczar/contrib_terraform_openstack
...
WIP: terraform openstack
2016-06-17 10:09:18 +02:00
1556d1c63e
Add IAM profiles for Kubernetes nodes
2016-06-15 12:58:44 -04:00
c2093b128d
Merge pull request #293 from mattymo/calicodockeropts
...
Add docker_options to calico networking
2016-06-14 19:13:43 +02:00
153b82a803
Add docker_options to calico networking
2016-06-14 19:33:44 +03:00
587c8f4701
Merge pull request #220 from kubespray/deploy_application_with_kpm
...
Add kpm role
2016-06-12 21:26:22 +02:00
922c6897d1
Install python-pip on first master
2016-06-12 20:44:12 +02:00
eb6025a184
Add kubedns as default package to install
2016-06-12 18:08:53 +02:00
c43f9bc705
Add variables to kpm module
2016-06-12 18:02:44 +02:00
cd2847c1b9
Add kpm role
2016-06-12 18:02:44 +02:00
309d6a49b6
Merge pull request #291 from kubespray/install_pip_kpm
...
install kpm in order to deploy addons
2016-06-11 21:48:07 +02:00
8281b98e19
install kpm in order to deploy addons
2016-06-11 21:08:05 +02:00
0e99cbb0ad
Merge pull request #290 from kubespray/upgrade_calico_v0.20_cni_v1.3.1
...
upgrade calico to v0.20 and calico-cni to v1.3.1
2016-06-10 09:16:21 +02:00
7c7adc7198
upgrade calico to v0.20 and calico-cni to v1.3.1
2016-06-09 19:55:12 +02:00
c1ebd84bf0
Merge pull request #289 from rsmitty/issue-279
...
base functionality to create aws resources
2016-06-09 13:57:04 +02:00
26aeebb372
base functionality to create aws resources
2016-06-07 12:45:25 -07:00
c7de2a524b
Merge pull request #284 from rsmitty/issue-283
...
allow for bootstrapping of separate CoreOS etcd nodes
2016-06-06 11:07:00 +02:00
e924504928
WIP: terraform openstack
2016-06-05 15:52:20 -05:00
63908108b2
allow for separate CoreOS etcd nodes
2016-06-03 10:29:12 -04:00
9bc5da9780
Merge pull request #282 from kubespray/clean_docker_templates
...
clean conditions into docker templates
2016-06-02 22:00:31 +02:00
4a7d8c6fea
clean conditions into docker templates
2016-06-02 21:01:41 +02:00
722aacb633
Merge pull request #272 from rustyrobot/fix-etcd-scale-up
...
Add scale-up for etcd cluster
2016-06-01 17:20:04 +02:00
ab0581e114
Merge pull request #276 from mattymo/patch-1
...
Fix order in restart kubelet to fix systemd reload
2016-05-31 20:16:01 +02:00
68808534b3
Fix order in restart kubelet to fix systemd reload
...
Systemd reload before reload kubelet was failing because its definition was before "restart kubelet". Its definition should be after the notify hook.
2016-05-31 20:09:49 +04:00
0500f27db8
Scale-up functionality for etcd cluster
...
* Set ETCD_INITIAL_CLUSTER_STATE from `new` to `existing`,
because parameter `new` makes sense only on cluster assembly
stage.
* If cluster exists and current node is not a part
of the cluster, add it with command `etcdctl add member name url`.
Closes kubespray/kargo/#270
2016-05-31 18:23:46 +03:00
cb92b30c25
Merge pull request #273 from kubespray/default_to_insecure_registry
...
example env allow insecure-registry
2016-05-28 21:14:14 +02:00
67147cf435
example env allow insecure-registry
...
Many use cases of k8s involve running a local
registry, chances are the person running this
will learn the hard way that they need to allow
insecure registry on the `kube_service_addresses`
network.
We should just default to settings this in
`inventory/group_vars/all.yml` to help reduce
potential friction for first time users.
2016-05-28 11:56:16 -05:00
96a2439c38
Merge pull request #264 from rsmitty/issue-255
...
resolves coreos nodes not setting up docker proxies
2016-05-26 21:55:53 +02:00
e8f97aa437
Merge pull request #268 from rsmitty/issue-265
...
provides initial docker options support
2016-05-26 21:14:32 +02:00
87757d4fcf
provides initial docker options support
2016-05-25 12:56:45 -04:00
33de89b69f
Merge pull request #263 from rsmitty/issue-262
...
removed os restriction for coreos
2016-05-24 22:14:51 +02:00
9e86f1672b
Merge pull request #266 from rsmitty/slack-update
...
Dropped a link for people to self-invite to slack channel
2016-05-24 22:04:49 +02:00
28aade3e06
cleaned up wording after a second read
2016-05-24 12:32:09 -04:00
35276de37e
Dropped a link for people to self-invite to slack channel
2016-05-24 12:29:34 -04:00
492218a3e1
resolves coreos nodes not setting up docker proxies
2016-05-24 12:11:24 -04:00
a740e521d2
removed os restriction for coreos
2016-05-24 12:03:16 -04:00
bdc183114a
Merge pull request #261 from paulczar/meta_roles_yo
...
turn adduser/download roles into meta roles
2016-05-23 17:29:37 +02:00
7de87d958e
turn adduser/download roles into meta roles
...
This should make things a little more composable,
by making these roles meta roles that perform no
actions by default we allow each role to own its own
resources.
2016-05-22 17:25:52 -05:00
ffce277c0c
Merge pull request #259 from paulczar/api_advertised_address
...
set `--advertise-address` for kube api-server
2016-05-22 21:40:21 +02:00
c226b4e5cb
fixes issue #258
...
Kubernetes API server has an option:
```
--advertise-address=<nil>: The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.
```
kargo does not set --bind-address, thus it binds to eth0, in vagrant and similar
environments this causes issues because nodes cannot talk to eachother over eth0.
This sets `--advertise-address` to `ip` if its set, otherwise the default behavior
of is persisted by using `ansible_default_ipv4.address`.
2016-05-22 13:48:16 -05:00
094f4d02b8
Merge pull request #253 from paulczar/fix_vagrantfile
...
set vm box to be hashicorp hosted trusty
2016-05-21 09:28:33 +02:00
ba615ff94e
race condition in download role under vagrant
...
using a shared folder can cause race conditions for the download
role as it tries to download files on all the nodes to the same
shared path. This adds a flag to run the tasks in the download
role on just one node.
2016-05-20 17:04:38 -05:00
5240465f39
set vm box to be hashicorp hosted trusty
...
I accidently left in the old download URL for coreos
even after I switched the box name to be ubuntu, it
worked fine for me because I already had that box
locally so it didn't try to download. This should
resolve this by using the official bento/ubuntu-14.04
box which is a nice minimal image.
We also allow the default behaviour of sharing folder to VMs
By doing this we can stage our download files in a shared location
and speed up subsequent runs significantly.
Finally will create more verbose documentation.
2016-05-20 17:04:03 -05:00
ef6a59bbd3
Update README.md
2016-05-18 12:14:07 +02:00
cd123f7f24
Merge pull request #251 from davidreuss/patch-2
...
Use correct google ns for dns upstream
2016-05-17 13:41:30 +02:00
0984b23f0e
Use correct google ns for dns upstream
2016-05-17 13:19:13 +02:00
d9dca20d7f
Merge pull request #247 from paulczar/check_certs_defaults
...
Fix issue with check_certs playbook
2016-05-16 08:55:27 +02:00
d8bebcd201
Fix issue with check_certs playbook
...
check_certs task "Check_certs | Set 'sync_certs' to true" was failing
due to the dict not existing, this sets defaults that allows the
correct behavior of the conditionals.
2016-05-15 17:15:59 -05:00
f576d70b3c
Merge pull request #245 from kubespray/fix_flannel_deploy_213
...
fix flannel deployment, remove docker bridge before restarting
2016-05-13 19:54:07 +02:00
ae5ff890d4
fix flannel deployment, remove docker bridge before restarting
2016-05-13 18:10:00 +02:00
24ee97d558
Merge pull request #244 from rsmitty/issue-219
...
Remove need to pre-create writeable dir on CoreOS
2016-05-13 14:07:26 +02:00
f949bfd46c
remove need for baking image to get writeable /opt/bin
2016-05-13 02:48:13 -07:00
242e96d251
Merge pull request #230 from rsmitty/issue-229
...
Issue-229: Support Proxies in Docker Daemon
2016-05-12 21:25:53 +02:00
66d9a6ebbc
updated to use handlers
2016-05-12 12:18:38 -07:00
4e28f1de4e
Merge pull request #240 from kubespray/ant31-chat-1
...
Update README.md
2016-05-12 20:31:18 +02:00
9b8a757526
missed a name update :)
2016-05-12 09:30:11 -07:00
a894a8c7bc
Merge branch 'master' into issue-229
2016-05-12 09:10:57 -07:00
962155e463
updated names and removed checks for rhel, as we already know we have systemd inside that play
2016-05-12 09:06:31 -07:00
c90c981bb2
updated to support all OSes using systemd
2016-05-12 09:03:11 -07:00
04fe83daa0
Update README.md
2016-05-12 17:22:36 +02:00
50d0ab2944
Merge pull request #237 from kubespray/upgrade_kubernetes_v1.2.4
...
upgrade k8s vers, and add a script for future upgrades
2016-05-12 16:14:06 +02:00
608e7dfab2
upgrade k8s vers, and add a script for future upgrades
2016-05-12 15:56:30 +02:00
c6e3a8dbbd
Merge pull request #236 from kubespray/fix_gen_certs_234
...
fixes the certs issue when masters or not in the kube-node group
2016-05-12 10:23:10 +02:00
1884d89d3b
fixes the certs issue when masters or not in the kube-node group
2016-05-12 10:07:34 +02:00
ed95f9ab81
Merge pull request #232 from rsmitty/issue-231
...
Issue 231: ensure ca.pem makes it to multi-masters
2016-05-11 21:24:04 +02:00
9f8466a186
ensure ALL certs are synced between masters
2016-05-11 10:09:13 -07:00
8c869a2e3e
Merge pull request #235 from rsmitty/issue-233
...
Issue 233: Typo with sync_tokens vs. sync_certs
2016-05-11 18:43:18 +02:00
743ad0eb5c
s/sync_certs/sync_tokens
2016-05-11 09:38:26 -07:00
5253b3ec13
ensure ca.pem makes it to multi-masters
2016-05-11 09:06:08 -07:00
ebf8231c9a
only run if proxy variables are added
2016-05-10 15:53:32 -07:00
adceaf60e1
support proxies with docker on rhel
2016-05-10 15:49:27 -07:00
96c63cc0b6
Merge pull request #227 from paulczar/vagrant
...
Add native Vagrant support
2016-05-09 11:47:07 +02:00
5f2fa6d76f
revert .gitignore for secrets
2016-05-08 23:46:35 -05:00
bd064e8094
fix flannel's cross vm networking for vagrant
...
* set flannel backend type to `host-gw`
* set flannel interface to be eth1 ip
2016-05-08 23:42:42 -05:00
8f4e879ca7
Add native Vagrant support
...
This allows you to simply run `vagrant up` to get a 3 node HA cluster.
* Creates a dynamic inventory and uses the inventory/group_vars/all.yml
* commented lines in inventory.example so that ansible doesn't try to use it.
* added requirements.txt to give easy way to install ansible/ipaddr
* added gitignore files to stop attempts to save unwated files
* changed `Check if kube-system exists` to `failed_when: false` instead of
`ignore_errors`
2016-05-08 10:17:11 -05:00
a19ab91b1b
Merge pull request #225 from Smana/gen_secrets_on_first_master
...
generate secrets on first master
2016-05-07 22:00:00 +02:00
4f627baf71
generate secrets on first master
2016-05-07 21:08:29 +02:00
3914d51a7e
Merge pull request #222 from kubespray/fix_test_api_auth
...
fix api auth issue for ci tests
2016-05-05 09:37:03 +02:00
bd6c12d686
fix api auth issue for ci tests
2016-05-05 09:00:02 +02:00
9135c134ec
Merge pull request #221 from Smana/variable_for_root_api_pwd
...
use a variable for api's 'root' password
2016-05-04 18:13:38 +02:00
59d71740b1
use a variable for api's 'root' password
2016-05-04 16:49:25 +02:00
078d27c0f1
Merge pull request #217 from davidreuss/patch-1
...
Pull correct variable for etcd initial variable
2016-04-29 14:41:38 +02:00
180f2d1fde
Pull correct variable for etcd initial variable
...
This shouldn't use the `inventory_hostname` variable, as that will just yield the same variable, but rather use the `host` which we're looping over.
2016-04-29 14:37:01 +02:00
391b155a98
Merge pull request #216 from cmluciano/cml/fixubuntu
...
Fix ansible dict error on Ubuntu 14.04
2016-04-25 14:54:17 +02:00
47982ea21c
Use ansible array format instead of dot-notation.
...
This fixes the ansible error ```'dict object' has no attribute
'ansible_default_ipv4'"}```. Closes #215
2016-04-25 08:45:58 -04:00
d0e31f9457
Merge pull request #209 from kubespray/upgrade_weave_v1.5.0
...
Upgrade weave v1.5.0 with CNI
2016-04-20 19:44:55 +02:00
7803ae6acb
enabling travis tests for weave
2016-04-20 17:23:11 +02:00
97de82bbcc
upgrade weave to v1.5.0 with cni
2016-04-20 17:09:09 +02:00
bd1d49fabd
Merge pull request #207 from kubespray/upgrade_calico_v0.19.0
...
upgrade calico v0.19.0, calico-cni v1.2.1
2016-04-19 19:22:07 +02:00
928bbeaf0f
upgrade calico v0.19.0, calico-cni v1.2.1
2016-04-19 18:28:45 +02:00
343a26434d
Merge pull request #203 from zehicle/flagfixes12
...
Add code to detect if epel is already installed and skip it if it is
2016-04-13 09:48:12 +02:00
107da007b1
Merge branch 'master' into flagfixes12
2016-04-12 18:44:06 -07:00
fb980e4542
missed tick in message
...
cosmetic
2016-04-12 18:43:31 -07:00
f12ad6a56f
consolidate EPEL change into a single task
...
as per @smana request
2016-04-12 18:41:46 -07:00
5691086ba2
Merge pull request #164 from oneswig/master
...
Provide a non-default hostname for CoreOS systems.
2016-04-12 17:18:33 +02:00
831a54e9b7
add code to detect if epel is already installed and skip it if it is
...
add option for generic
2016-04-11 16:44:56 -05:00
fd64f4d2a0
Merge pull request #201 from Smana/upgrade_kubernetes_v1.2.2
...
Kubernetes upgrade to 1.2.2
2016-04-11 16:17:09 +02:00
3cd89bed45
Kubernetes upgrade to 1.2.2
2016-04-11 12:19:09 +02:00
5b2568adf1
Merge pull request #200 from kubespray/docker_install_on_rhel7
...
Fix docker install on rhel7
2016-04-11 11:54:14 +02:00
48a85ce8f8
use docker repository to install on CentOS
2016-04-11 11:17:14 +02:00
936927a54f
Fix docker install on rhel7
2016-04-10 22:08:13 +02:00
8418daa544
Merge pull request #198 from Smana/add_nodes
...
fix add nodes to the cluster
2016-04-10 11:35:00 +02:00
5c22133492
fix add nodes to the cluster
2016-04-08 07:45:39 +02:00
e69b9f6dcb
Merge pull request #194 from kubespray/upgrade_kubernetes_v1.2.1
...
Upgrade kubernetes v1.2.1
2016-04-05 15:28:04 +02:00
b03093be73
update kubectl bash completion
...
change hyperkube image repository
2016-04-05 15:27:06 +02:00
bc44d5deb3
upgrade to kubernetes v1.2.1
2016-04-05 12:59:18 +02:00
8ab86ac49d
Merge pull request #193 from kubespray/remove_deprecation_warns
...
remove deprecation warns and update doc
2016-04-04 10:54:56 +02:00
850b7466cd
remove deprecation warns and update doc
2016-04-04 10:14:56 +02:00
652cbedee5
Merge pull request #192 from oneswig/coreos-fixes
...
Coreos fixes
2016-04-03 09:32:00 +02:00
bf96b92def
Merge branch 'master' into coreos-fixes
2016-04-02 21:01:28 +01:00
ab21f4d169
Define empty default objects for docker package management.
...
On CoreOS where there is no package management, perform zero-trip
loops instead of throwing an exception for iterating over a member
of an undefined variable.
2016-04-02 20:55:17 +01:00
64a39fdb86
Use var for bin dir instead of assuming /usr/local/bin
...
On CoreOS the binaries are not installed in /usr/local/bin.
2016-04-02 20:53:33 +01:00
2192bcccbd
Merge pull request #191 from kubespray/add_certs
...
Add kubernetes.default.svc in certs dns
2016-04-01 15:13:29 +02:00
7237a925eb
Add kubernetes.default.svc in certs dns
2016-04-01 12:40:01 +02:00
34ed6e1a08
Merge pull request #190 from teutostack/automatic-cinder-provisioning
...
Implemented Dynamic Provisioning of PersistentVolumes with cinder
2016-04-01 09:47:29 +02:00
8cbdf73eba
Changed path to hosts ssl certs from /usr/share/ca-certificates to /etc/ssl/certs/ which fixes https problems in kube-controller-manager and kube-apiserver ( #189 ) caused by the lack of certificates on debian and redhat based systems.
2016-04-01 09:34:28 +02:00
624a964cda
Implemented Dynamic Provisioning of PersistentVolumes with cinder
...
When kubespray is deployed on OpenStack, the kube-controller-manager is now aware of the cluster and can create new cinder volumes automatically if the PersistentVolumeClaims are annotated accordingly.
Note that this is an alpha feature of kubernetes 1.2
2016-03-31 14:38:46 +02:00
a14dfe74e1
Merge pull request #188 from teutostack/warnings-removal
...
Fixing deprecation warnings regarding bare variables and apt
2016-03-30 11:57:57 +02:00
f2e822810a
Merge pull request #187 from teutostack/openstack-integration
...
Implemented cloud-provider integration for OpenStack
2016-03-30 11:55:53 +02:00
a192111e6a
Reverted deletion of "changed_when: False" for Task "Install python-dnf for latest RedHat versions". Deleted "changed_when: False" on Task "Install latest version of python-apt for Debian distribs" to get notified when kubespray has installed a new package version.
2016-03-30 11:21:36 +02:00
4271dd6645
using apt module instead of command module to install python-apt
2016-03-30 10:39:33 +02:00
457ed11b49
fixed deprecation warnings regarding bare variables
2016-03-30 10:23:43 +02:00
9f8da6c225
Implemented cloud-provider integration for OpenStack.
...
Currently kubespray does not install kubernetes in a way that allows cinder volumes to be used. This commit provides the necessary cloud configuration file and configures kubelet and kube-apiserver to use it.
2016-03-29 15:17:22 +02:00
ed9a521d6d
Merge pull request #185 from Smana/choose_cloud_provider
...
choose between gce and aws cloud providers
2016-03-24 16:57:40 +01:00
68fafd030d
choose between gce and aws cloud providers
2016-03-23 17:27:06 +01:00
f49926413a
Merge pull request #176 from kubespray/kubernetes-v1.2.0
...
Kubernetes v1.2.0
2016-03-22 13:52:37 +01:00
e8aec5f4f0
Don't call the apiserver when the server is master only
2016-03-22 13:25:41 +01:00
c51ed4bbb7
use master election option instead of podmaster
2016-03-21 22:25:09 +01:00
ba4ad51c26
add aufs-tools package for debian
2016-03-21 17:25:14 +01:00
785b84fd43
Upgrade to docker 1.10.3
2016-03-21 16:54:14 +01:00
15ce66b2f5
Kubernetes 1.2.0
2016-03-21 16:54:14 +01:00
9949c2b34e
Merge pull request #181 from Smana/fix_dnsmasq_as_ds
...
Dnsmasq runs on all nodes
2016-03-21 11:38:04 +01:00
7e6d7caf4b
Dnsmasq runs on all nodes
2016-03-21 11:37:35 +01:00
48c64a1f72
Merge pull request #179 from kubespray/dnsmasq_ds
...
Dnsmasq ds
2016-03-20 00:08:33 +01:00
6297e5ea93
Use dnsmasq inside pods
2016-03-19 23:41:27 +01:00
0c315e0ff4
Merge pull request #174 from jcsirot/jenkins_pipeline
...
Move common groovy test code for jenkins into git repo and add test r…
2016-03-15 17:30:09 +01:00
b7fcabea7b
Merge pull request #175 from Smana/update_ansible_galaxy
...
update requirements.yml with the new gitlab url
2016-03-15 16:16:39 +01:00
999141f0fd
update requirements.yml with the new gitlab url
2016-03-15 16:15:23 +01:00
f5f6e44369
Move common groovy test code for jenkins into git repo and add test result matrix
2016-03-10 22:45:54 +01:00
0c2183c10a
Merge pull request #173 from Smana/redirect_to_docs
...
redirecting to new doc page
2016-03-07 16:21:25 +01:00
cd38ecc378
redirecting to new doc page
2016-03-07 16:15:40 +01:00
1771f18437
Merge pull request #171 from kubespray/uploads_bin
...
Uploads bin
2016-03-04 19:33:56 +01:00
72807965a8
Upload files to a separate storage
2016-03-04 17:39:02 +01:00
611c7744a1
Remove submodules
2016-03-04 16:14:01 +01:00
9baf9e569b
Merge pull request #169 from kubespray/flannel_backend_option
...
flannel backend type option
2016-03-04 16:08:38 +01:00
ede3aad2ab
flannel backend type option
2016-03-04 14:55:04 +01:00
143a75ccde
Merge pull request #167 from kubespray/upgrade_calico_v0.17.0
...
upgrade calicoctl to v0.17.0
2016-03-02 11:56:44 +01:00
62218c1497
upgrade calicoctl to v0.17.0
2016-03-02 10:42:31 +01:00
8a238cda3d
Create LICENSE
2016-03-01 15:37:01 +01:00
706d8c7968
Merge pull request #165 from kubespray/option_proxy_mode
...
adding option --proxy-mode for kubeproxy
2016-02-29 11:42:18 +01:00
cb3cc6f523
adding option --proxy-mode for kubeproxy
2016-02-29 11:41:08 +01:00
87fd8415da
Merge pull request #163 from Smana/upgrade_kube_v1.1.8
...
Upgrade kuberenetes to v1.1.8
2016-02-26 23:25:00 +01:00
edcd5bf67f
Provide a non-default hostname for CoreOS systems.
...
A freshly-installed CoreOS system does not always have a hostname configured.
This causes problems for etcd and BGP mesh configuration for Calico.
Assign the Ansible inventory name as hostname as part of CoreOS bootstrap,
if the hostname is the default ("localhost").
2016-02-26 13:43:07 +00:00
9528caa1d7
Upgrade kuberenetes to v1.1.8
2016-02-25 17:35:38 +01:00
3f32e5973f
Merge pull request #158 from Smana/calico_nat_outgoing_opt
...
calico: enabling nat outgoing by default
2016-02-24 12:11:34 +01:00
a17e466a29
Merge pull request #162 from oneswig/master
...
On CoreOS, /etc/hosts does not always exist.
2016-02-23 14:27:07 +01:00
ff03c82151
On CoreOS, /etc/hosts does not always exist.
2016-02-23 12:04:58 +00:00
152c409022
calico: enabling nat outgoing by default
2016-02-21 17:11:49 +01:00
a46d4efba6
Merge pull request #156 from Smana/coreos_support
...
CoreOS support (Calico, Flannel, Weave)
2016-02-21 14:10:14 +01:00
fca384e24c
first version of CoreOS on GCE
...
Please enter the commit message for your changes. Lines starting
2016-02-21 00:06:36 +01:00
ec64eda2bc
Merge pull request #152 from rsmitty/issue-151
...
confirmed working change to mktemp command
2016-02-18 22:12:38 +01:00
20adb604cc
confirmed working change to mktemp command
2016-02-18 15:56:10 -05:00
57a1ce28c4
Merge pull request #150 from Smana/update_hyperkube_version
...
update hyperkube version
2016-02-18 16:40:21 +01:00
39caf94790
update hyperkube version
2016-02-18 16:38:25 +01:00
ba4c89a12e
Merge pull request #149 from Smana/upgrade_calico_etcd
...
Upgrade Calico and etcd
2016-02-15 15:31:32 +01:00
b013b125bc
Upgrade Calico and etcd
2016-02-15 12:41:27 +01:00
e786010584
Merge pull request #147 from kubespray/upgrade_kube_1.1.7
...
upgrade kubernetes to 1.1.7
2016-02-15 12:12:17 +01:00
01397678df
upgrade kubernetes to 1.1.7
2016-02-15 10:57:45 +01:00
fae77970ac
Allow to fail calico/trusty
2016-02-13 20:55:10 +01:00
e737ed8105
Merge pull request #146 from kubespray/rollback_docker_1.9
...
Rollback docker 1.9
2016-02-13 18:34:55 +01:00
b2dd01a0b0
Merge pull request #145 from jcsirot/jenkins
...
Jenkins
2016-02-13 18:03:29 +01:00
323ff78206
Update playbooks for automatic deployment tests
2016-02-13 17:57:10 +01:00
8659693c76
fix testcases
2016-02-13 17:29:41 +01:00
c3a8f379e8
rollback to docker 1.9
2016-02-13 15:38:42 +01:00
ad18f229c5
Merge pull request #143 from Smana/tests_kubectl_path
...
change tests, full path of kubectl binary
2016-02-13 14:58:46 +01:00
2feac2956a
change tests, full path of kubectl binary
2016-02-13 14:47:53 +01:00
60d6195a9e
Merge pull request #142 from kubespray/use_ansible_service_mgr
...
use ansible_service_mgr to detect init system
2016-02-13 14:30:04 +01:00
c0cf506fb4
install epel-release on RHEL7
2016-02-13 13:15:08 +01:00
a649aa8b7e
use ansible_service_mgr to detect init system
2016-02-13 11:46:53 +01:00
7fef64dacd
Merge pull request #140 from kubespray/secret_from_localhost
...
generate secrets on deployment machine
2016-02-13 07:27:56 +01:00
91fca69aa0
generate secrets on deployment machine
...
test travis with sudo=true instead of required
2016-02-13 06:51:54 +01:00
3fef552978
Docker 1.10.1
2016-02-13 06:19:47 +01:00
50364ab571
Merge pull request #141 from ntfrnzn/pin-docker-version
...
pin docker versions to 1.9 or earlier
2016-02-13 00:07:42 +01:00
a4e32c748a
pin docker version actually
2016-02-12 14:45:09 -08:00
c48bc34a34
pin docker versions to 1.9 or earlier
2016-02-12 14:40:13 -08:00
451ee18c4a
Merge pull request #138 from kubespray/integration_tests
...
Integration tests
2016-02-11 14:00:09 +01:00
4ee3699933
Add weave to tests
2016-02-11 10:57:54 +01:00
caa2555b1d
Add complete test integration
2016-02-10 22:58:57 +01:00
09851621de
Merge pull request #133 from Smana/weave_network_plugin
...
weave network plugin
2016-02-10 18:39:48 +01:00
05c8a29688
Merge branch 'master' into weave_network_plugin
2016-02-10 18:33:48 +01:00
793d665db4
specify weave version
2016-02-10 18:19:03 +01:00
50da691d45
Merge pull request #134 from rackn/kubeproxy-bind-local
...
Force kube-proxy to bind to local address
2016-02-10 18:05:50 +01:00
6f1fe0cda2
Force kube-proxy to bind to local address
2016-02-10 10:53:22 -06:00
ab007e4ab8
weave network plugin
2016-02-09 17:55:12 +01:00
03dd43e97d
Merge pull request #132 from Smana/net_plugins_distinct_roles
...
split network plugins into distinct roles
2016-02-09 16:10:15 +01:00
4f92417a5d
split network plugins into distinct roles
2016-02-09 11:42:00 +01:00
3016ab79cb
Merge pull request #129 from Smana/fedora_23_compat
...
fix some issues with fedora 23 and dnf
2016-02-04 12:11:51 +01:00
b2d6626363
fix some issues with fedora 23 and dnf
2016-02-03 21:26:49 +01:00
98e2d6957a
Merge pull request #128 from ansibl8s/fix_calico_initd_ip
...
calico uses --ip option
2016-02-01 16:32:19 +01:00
779299de15
calico uses --ip option
2016-02-01 15:53:23 +01:00
bf5582b01f
Merge pull request #127 from ansibl8s/increase_timeout
...
Increase liveness timeout
2016-02-01 14:53:48 +01:00
7e94d31c8b
Merge branch 'master' into increase_timeout
2016-02-01 14:32:25 +01:00
896f59267a
Merge pull request #126 from ansibl8s/calico_nat_outgoing
...
add option '--nat-outgoing' for calico on clouds
2016-02-01 14:32:13 +01:00
21b0a3649d
Increase liveness timeout
2016-02-01 13:41:49 +01:00
3bb6066558
add option '--nat-outgoing' for calico on clouds
2016-02-01 10:47:34 +01:00
64be24dd20
Merge pull request #123 from Smana/install_epel_rhel
...
install epel release for rhel
2016-02-01 10:46:10 +01:00
f8ffe53709
Merge pull request #124 from rackn/centos-fixes
...
Update docker for CentOS issues in AWS and general variables
2016-01-31 22:33:02 +01:00
4d3f6c6533
install epel release for rhel
...
install required packages before common
roles/kubernetes/preinstall/tasks/main.yml
2016-01-31 22:12:34 +01:00
6163fe166e
Update docker for CentOS issues in AWS and general
...
variables.
1. AWS has issues with ext4 (use xfs instead for CentOS only)
2. Make sure all the centos config files are include in the systemd config
3. Make sure that network options are set in the correct file by os family
This allows downstream items like opencontrail and others change variables
in expected locations.
2016-01-30 21:46:32 -06:00
6eff3f0fce
Merge pull request #120 from Smana/fix_etcd_initd
...
etcd initd startup command fix
2016-01-30 22:42:13 +01:00
6358cf788f
etcd initd startup command fix
2016-01-30 22:31:41 +01:00
6915278f65
Merge pull request #118 from ansibl8s/calico
...
Change calico condition --ipip
2016-01-29 15:51:17 +01:00
b33713da4a
Change calico condition --ipip
2016-01-29 14:07:21 +01:00
83c1bd516d
Update calico.yml
2016-01-29 12:23:29 +01:00
5d24cabc83
Merge pull request #116 from ansibl8s/calico_on_cloud
...
Add --ipip to calico if on cloud_proivder
2016-01-28 20:28:15 +01:00
7127e6de54
Add --ipip to calico if on cloud_proivder
2016-01-28 20:13:50 +01:00
cea8f1d381
Merge pull request #109 from rackn/awsify
...
Add variables and defaults for multiple types of ip addresses.
2016-01-28 14:47:27 +01:00
bedcca922c
Add variables and defaults for multiple types of ip addresses.
...
Each node can have 3 IPs.
1. ansible_default_ip4 - whatever ansible things is the first IPv4 address
usually with the default gw.
2. ip - An address to use on the local node to bind listeners and do local
communication. For example, Vagrant boxes have a first address that is the
NAT bridge and is common for all nodes. The second address/interface should
be used.
3. access_ip - An address to use for node-to-node access. This is assumed to
be used by other nodes to access the node and may not be actually assigned
on the node. For example, AWS public ip that is not assigned to node.
This updates the places addresses are used to use either ip or access_ip and walk
up the list to find an address.
2016-01-27 16:05:39 -06:00
faf50ea698
Merge pull request #111 from Smana/flannel_pods_subnet
...
use 'kube_pods_subnet' var for flannel conf
2016-01-27 22:14:20 +01:00
a323335d36
use 'kube_pods_subnet' var for flannel conf
2016-01-27 22:00:12 +01:00
f15dda0248
Merge pull request #110 from Smana/updatedoc
...
update submodules and documentation
2016-01-27 17:42:52 +01:00
8d71d56809
update submodules and documentation
2016-01-27 17:02:41 +01:00
cf472a6b4c
Merge pull request #107 from ansibl8s/race_condition_api_master
...
Slowdown apimaster restart
2016-01-26 18:00:47 +01:00
fd6ac61afc
Use local etcd/etcdproxy for calico
2016-01-26 17:28:30 +01:00
16a1926f94
Drop ansible 1.9 support
2016-01-26 15:31:11 +01:00
839974bad0
Merge pull request #108 from ansibl8s/set_perms_on_unarchive
...
Set perms on unarchive
2016-01-26 15:25:28 +01:00
4566d60e6f
Slowdown apimaster restart
2016-01-26 15:23:16 +01:00
49a7278563
Set perms on unarchive
2016-01-26 12:17:33 +01:00
8676f8761f
Merge pull request #99 from ansibl8s/symlink-dnsmasq-conf
...
Symlink dnsmasq conf
2016-01-26 00:44:13 +01:00
b9781fa7c2
Symlink dnsmasq conf
2016-01-26 00:30:29 +01:00
08052f60da
Merge pull request #105 from ansibl8s/fix_handlers
...
fix some handlers
2016-01-25 23:00:07 +01:00
44230a4e86
Merge pull request #101 from galthaus/patch-1
...
Fix download reference in cluster.ml
2016-01-25 22:56:48 +01:00
90ffb8489a
fix some handlers
2016-01-25 22:49:24 +01:00
238f6e8a0b
Remove apt-get update
2016-01-25 22:46:20 +01:00
ef7cf3bf11
Merge pull request #103 from rackn/perm-fix
...
Force owner and permissions for get_url retrieved files.
2016-01-25 22:01:57 +01:00
e7d5b7af67
Force owner and permissions for get_url retrieved
...
files. get_url doesn't honor owner and mode is spotty.
2016-01-25 13:30:48 -06:00
359e55f6e4
Merge pull request #100 from rackn/cache-update-centos
...
Need to use separate stanzas for each repo because the
2016-01-25 19:00:57 +01:00
dd29c8064f
Fix download reference in cluster.ml
2016-01-25 11:23:55 -06:00
c7bd2a2a1e
Need to use separate stanzas for each repo because the
...
args are different. Sigh.
2016-01-25 11:16:56 -06:00
87fa167efa
Merge pull request #95 from Smana/fix_ha_apiserver
...
workaround_ha_apiserver
2016-01-25 13:01:03 +01:00
baaa6efc2b
workaround_ha_apiserver
2016-01-25 12:07:32 +01:00
cece179bd4
Merge pull request #97 from ansibl8s/systemd_reload
...
Fix systemd reload and calico unit
2016-01-25 11:01:11 +01:00
56b92812fa
Fix systemd reload and calico unit
2016-01-25 10:54:07 +01:00
2cbbcee351
Merge pull request #98 from ansibl8s/setup_cache
...
Use update_cache when possible
2016-01-25 02:12:19 +01:00
f5508b1794
Use update_cache when possible
2016-01-25 02:06:34 +01:00
8f7d552401
Merge pull request #93 from ansibl8s/flannel-info
...
Add flannel vars to enable vagrant and amazon environments
2016-01-24 16:46:04 +01:00
bcd6ecb7fb
Add flannel vars to enable vagrant and amazon environments
2016-01-24 16:18:35 +01:00
65666fc28a
Merge pull request #90 from ansibl8s/add_users_role
...
AddUser Role
2016-01-24 16:17:24 +01:00
b4734c280a
Merge branch 'master' into add_users_role
2016-01-24 15:58:10 +01:00
dd61f685b8
AddUser Role
2016-01-24 11:54:34 +01:00
641ce3358a
Merge pull request #91 from Smana/rsync_instead_of_copy
...
use rsync instead of cp
2016-01-23 23:38:42 +01:00
4984b57aa2
use rsync instead of command
2016-01-23 18:26:07 +01:00
87d8d87c6e
Merge pull request #87 from Smana/apiserver_on_host
...
Apiserver on host
2016-01-23 17:46:23 +01:00
283c4169ac
run apiserver as a service
...
reorder master handlers
typo for sysvinit
2016-01-23 14:21:04 +01:00
d5f11b2442
Merge pull request #88 from Smana/complete_remove_downloader
...
missing commits for the PR #86
2016-01-22 17:25:12 +01:00
5edc81c627
moving kube-cert group into group_vars
2016-01-22 17:18:45 +01:00
391413f7e7
missing commits for the PR #86
2016-01-22 17:10:31 +01:00
c05c60a5d2
Merge pull request #86 from ansibl8s/remove_downloader
...
Remove downloader host
2016-01-22 17:04:54 +01:00
87b42e34e0
create kube-cert group task
2016-01-22 16:51:54 +01:00
be0bec9eab
add kube-cert group
2016-01-22 16:46:06 +01:00
cb59559835
use command instead of synchronize
2016-01-22 16:37:07 +01:00
078b67c50f
Remove downloader host
2016-01-22 09:59:39 +01:00
e95c4739f5
Merge pull request #82 from rackn/etcd-sync
...
Fix etcd synchronize to other nodes from the downloader
2016-01-21 20:39:52 +01:00
32877bdc7b
Merge branch 'master' into etcd-sync
2016-01-21 13:13:58 -06:00
5e3af86c26
Merge pull request #84 from rackn/init-system-fix
...
Test for a systemd service that should be up.
2016-01-21 20:07:47 +01:00
ec1073def8
Test for a systemd service that should be up.
2016-01-21 11:35:15 -06:00
28e530e005
Fix etcd synchronize to other nodes from the downloader
2016-01-21 11:21:25 -06:00
9e9aba4e3a
Merge pull request #79 from Smana/gitinfo
...
script which gives info about the deployment state
2016-01-21 13:49:11 +01:00
de038530ef
don't run gitinfos by default
2016-01-21 13:41:01 +01:00
337977e868
script which gives info about the deployment state
...
fix script location
2016-01-21 13:41:01 +01:00
1c2bdbacb1
Merge pull request #72 from Smana/etcd_on_host
...
etcd directly in host
2016-01-21 13:20:05 +01:00
9715962356
etcd directly in host
...
fix etcd configuration for nodes
fix wrong calico checksums
using a var name etcd_bin_dir
fix etcd handlers for sysvinit
using a var name etcd_bin_dir
sysvinit script
review etcd configuration
2016-01-21 11:36:11 +01:00
5afbe181ce
Merge pull request #78 from Smana/conf_etc-hosts_preinstall
...
move /etc/hosts configuration in 'preinstall' role
2016-01-20 19:02:03 +01:00
a5094f2a6a
move /etc/hosts configuration in 'preinstall' role
2016-01-20 17:37:23 +01:00
9156d1ecfd
Merge pull request #76 from rackn/dns-ip
...
Use IP is specified, otherwise use the ansible discovered address.
2016-01-20 15:46:27 +01:00
fe5ec398bf
Use IP is specified, otherwise use the ansible discovered address.
...
This fixes cases for use in Vagrant environments.
2016-01-20 08:34:39 -06:00
babf42f03a
Merge pull request #71 from ansibl8s/add_set_remote_user
...
Add set remote user
2016-01-19 22:20:31 +01:00
859f6322a0
Merge branch 'master' into add_set_remote_user
2016-01-19 21:08:52 +01:00
815c5fa43c
Merge pull request #74 from rackn/master
...
run_once only works if master[0] is first in inventory list of all nodes
2016-01-19 20:48:42 +01:00
10b2466d82
run_once only works if master[0] is first in inventory list
...
of all nodes.
2016-01-19 13:10:54 -06:00
f68d8f3757
Add seT_remote_user in synchronize
2016-01-19 14:20:05 +01:00
9b083b62cf
Rename tasks
2016-01-19 14:20:05 +01:00
59614fc60d
Merge pull request #70 from Smana/localhost_dnsmasq
...
Localhost dnsmasq
2016-01-19 14:01:05 +01:00
b54af6b42f
reduce dns timeout
2016-01-19 13:49:33 +01:00
7cab7e5fef
restarting kubelet is sometimes required after docker restart
2016-01-19 13:47:07 +01:00
4c5735cef8
configure dnsmasq to listen on localhost only
2016-01-19 13:34:30 +01:00
58e1db6aae
update kubedns submodule
2016-01-19 13:32:53 +01:00
63ae6ba5b5
dnsmasq runs on all nodes
2016-01-19 10:31:47 +01:00
f58b4d3dd6
dnsmasq listens on localhost
2016-01-19 10:29:33 +01:00
d3a8584212
add timeout options to resolv.conf
2016-01-19 10:18:53 +01:00
51f1ae1e9e
Merge pull request #67 from ansibl8s/v1.1.4
...
Change hyperkube repo
2016-01-18 17:32:05 +01:00
4271126bae
Change hyperkube repo
2016-01-18 17:17:08 +01:00
049f5015c1
upgrade hyperkube image version
2016-01-18 16:55:57 +01:00
6ab671c88b
update memcached submodule
2016-01-18 16:25:01 +01:00
d73ac90acf
udpate k8s-pgbouncer submodule
2016-01-18 11:58:12 +01:00
adf6e2f7b1
update postgres submodule
2016-01-18 11:44:33 +01:00
fb0803cf4c
README : update versions
2016-01-17 21:31:38 +01:00
806834a6e9
upgrade kubernetes to 1.1.4 and calico to 0.14.0
2016-01-17 21:30:11 +01:00
8415634016
use google hyperkube image
2016-01-16 22:55:49 +01:00
319f687ced
Merge pull request #62 from ansibl8s/flannel
...
Flannel running as pod
2016-01-15 13:13:56 +01:00
8127e8f8e8
Flannel running as pod
2016-01-15 13:03:27 +01:00
dd46cc64a4
README : Networking title
2016-01-15 12:18:26 +01:00
2d5862a94d
README : typo
2016-01-15 12:18:21 +01:00
3d45a81006
README: ansible basics docs link
2016-01-15 12:18:13 +01:00
51a0996087
fix regexp for resolv.conf
2016-01-15 12:18:03 +01:00
80ac2ec6fc
update README
2016-01-15 12:17:28 +01:00
5d61b5e813
Fix namespace
2016-01-14 16:22:37 +01:00
b769636435
Ansible 2.0
2016-01-13 16:40:24 +01:00