Jan Chaloupka 99745a0422 Consolidate etcd certs roles 7 years ago
..
defaults 4e84cf6dee Update calico to v2.5 7 years ago
handlers 4a38bc1bbc Test docker restart with retries 3 delay 30 7 years ago
meta 7a57517cf5 Use sdn_cluster_network_cidr as default calico pool 7 years ago
tasks 99745a0422 Consolidate etcd certs roles 7 years ago
templates 7a57517cf5 Use sdn_cluster_network_cidr as default calico pool 7 years ago
README.md 7a57517cf5 Use sdn_cluster_network_cidr as default calico pool 7 years ago

README.md

Calico

Configure Calico components for the Master host.

Requirements

  • Ansible 2.2

Installation

To install, set the following inventory configuration parameters:

  • openshift_use_calico=True
  • openshift_use_openshift_sdn=False
  • os_sdn_network_plugin_name='cni'

For more information, see Calico's official OpenShift Installation Documentation

Improving security with BYO-etcd

By default, Calico uses the etcd set up by OpenShift. To accomplish this, it generates and distributes client etcd certificates to each node. Distributing these certs across the cluster in this way weakens the overall security, so Calico should not be deployed in production in this mode.

Instead, Calico can be installed in BYO-etcd mode, where it connects to an externally set up etcd. For information on deploying Calico in BYO-etcd mode, see Calico's official OpenShift Installation Documentation

Calico Configuration Options

Additional parameters that can be defined in the inventory are:

| Environment | Description | Schema | Default |
|---------|----------------------|---------|---------| | CALICO_IPV4POOL_IPIP | IPIP Mode to use for the IPv4 POOL created at start up. | off, always, cross-subnet | always | | CALICO_LOG_DIR | Directory on the host machine where Calico Logs are written.| String | /var/log/calico |

Contact Information

Author: Dan Osborne dan@projectcalico.org

For support, join the #openshift channel on the calico users slack.