This is a non-client repo of the Rancher Proof of Concept (POC). This is, this repo does not have a specific client of Redapt in mind. The idea for this repo is to have it as an example Rancher POC to show any customer. It should always have the latest version of Rancher configured.
by Christoph Champ, Redapt, Inc. (January 2017)
last updated: 2018-01-10
The Ansible playbooks are expecting the following packages and versions to be installed on the host (the Jenkins server, in this case) the playbooks will be run from:
- Ansible v2.4.x (tested on 2.4.2.0)
- Python v2.7.x (tested on 2.7.12)
- pip packages:
- awscli==1.15.16
- aws-adfs==0.10.1 (only needed for interacting with the AWS accounts sans IAM user accounts)
- boto==2.48.0
- boto3==1.7.16
- botocore==1.10.16
NOTE: Below is an example of how to use aws-adfs
for AWS accounts without IAM user accounts:
aws-adfs login --adfs-host aws-sso.example.com --profile nonprod
The remote hosts (EC2 instances) that will be running Rancher and/or Kubernetes will have the following packages and versions installed automatically by the related playbooks:
- Rancher v1.6.12
- Docker v1.12.3+ or 17.09.x-ce
- LVM2
There will also be some extra sysadmin-related packages useful for troubleshooting installed. For a complete list, see roles/sysadmin/tasks/main.yml
See Compatibility Matrix for details.
Rancher Version | Release Date | Host OS | Kubernetes | Docker |
---|---|---|---|---|
1.6.12 | 2017-12-15 | Ubuntu 14.04/16.04; RHEL/CentOS 7.2+; RancherOS 1.1.1 | 1.8.3 | 1.12.3+ |
1.6.2 | 2017-06 | Ubuntu 14.04/16.04; RHEL/CentOS 7.2+; RancherOS 0.8.1 | 1.5.4 | 1.12.3+, 1.13.x, 17.03.x-ce |
1.5.3 | 2017-03-24 | Ubuntu 14.04/16.04; RHEL/CentOS 7.x; RancherOS 0.7.1 | 1.5.2 | 1.12.3+ |
1.4.0 | 2017-02-04 | Ubuntu 14.04/16.04; RHEL/CentOS 7.x; RancherOS 0.7.1 | 1.4.6 | 1.10.3, 1.12.x |
1.3.1 | 2017-01-13 | Ubuntu 14.04/16.04; RHEL/CentOS 7.x; RancherOS 0.7.1 | 1.4.6 | 1.12.x |
1.2.2 | 2016-12-01 | Ubuntu 14.04/16.04; RHEL/CentOS 7.x; RancherOS 0.7.1 | 1.4.6 | 1.12.x |
1.1.4 | 2016-06-30 | Ubuntu 14.04/15.10; RHEL/CentOS 7.x; RancherOS 0.5.0 | 1.2.4 + Docker 1.10.3$ | 1.10.x 1.11.x |
1.0.2 | 2016-03-28 | Ubuntu 14.04/15.10; RHEL/CentOS 7.x; RancherOS 0.4.0 | 1.2.4 | 1.10.3 |
$ Kubernetes support is pinned to a specific version of Docker.
-
Rancher v.1.6.12 services/versions:
- rancher/server:v1.6.12
- rancher/agent:v1.2.7
- rancher/lb-service-haproxy:v0.7.15
- rancher-v0.6.5
- rancher-compose-v0.12.5
-
Supported Docker Versions
- Docker 1.12.3-1.12.6
- Docker 1.13.1
- Docker 17.03-ce/ee
- Docker 17.06-ce/ee
- Docker 17.09-ce/ee
Note: Kubernetes 1.8 supports Docker 1.12.6, 1.13.1 and 17.03.2. Kubernetes 1.7 supports up to Docker 1.12.6.
Starting with version 1.2.0, Rancher no longer supports AWS ELBs and only supports AWS ALB (Application Load Balancers). UPDATE: With Rancher 1.2.3, Rancher has re-introduced being able to use ELBs with this release. UPDATE: With Rancher 1.4.0, Rancher has gone back to recommending using AWS ELBs.