All Projects → contiv → Install

contiv / Install

Licence: other
Contiv Installer

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Install

Ensembl Hive
EnsEMBL Hive - a system for creating and running pipelines on a distributed compute resource
Stars: ✭ 44 (-59.63%)
Mutual labels:  docker-swarm
Pico
Object Detection and Analysis Made easy using Raspberry Pi, Apache Kafka, AWS Rekognition & Docker
Stars: ✭ 63 (-42.2%)
Mutual labels:  docker-swarm
Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (-19.27%)
Mutual labels:  docker-swarm
Docker Swarm Cookbook
A large collection of recipes for a complete, self-hosted Docker Swarm stack including Traefik v2 and SSO/Auth
Stars: ✭ 49 (-55.05%)
Mutual labels:  docker-swarm
Docker Swarm Gui
📦 Docker Swarm GUI. A tiny tool to help you to visualize the state of your Docker swarm.
Stars: ✭ 61 (-44.04%)
Mutual labels:  docker-swarm
Cintodeutilidadesdocker
My Docker templates repository 🐳 ☁️ 🐳
Stars: ✭ 74 (-32.11%)
Mutual labels:  docker-swarm
Docker Swarm
🐳🐳🐳 This repository is part of a blog series on Docker Swarm example using VirtualBox, OVH Openstack, Azure and Amazon Web Services AWS
Stars: ✭ 43 (-60.55%)
Mutual labels:  docker-swarm
K8s On Openstack
An opinionated way to deploy a Kubernetes cluster on top of an OpenStack cloud.
Stars: ✭ 108 (-0.92%)
Mutual labels:  kubeadm
Kubeadm Dind Cluster
[EOL] A Kubernetes multi-node test cluster based on kubeadm
Stars: ✭ 1,112 (+920.18%)
Mutual labels:  kubeadm
Ubiquity
Ubiquity
Stars: ✭ 86 (-21.1%)
Mutual labels:  docker-swarm
Graceful Shutdown Spring Boot
Graceful Shutdown with Spring Boot (Demo)
Stars: ✭ 51 (-53.21%)
Mutual labels:  docker-swarm
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (-46.79%)
Mutual labels:  docker-swarm
Skuba
CLI tool used to simplify (or orchestrate) kubeadm-based Kubernetes cluster deployment and update
Stars: ✭ 76 (-30.28%)
Mutual labels:  kubeadm
K8s By Kubeadm
🏗 如何使用kubeadm在国内网络环境搭建单主k8s集群
Stars: ✭ 46 (-57.8%)
Mutual labels:  kubeadm
Aws Minikube
Single node Kubernetes instance implemented using Terraform and kubeadm
Stars: ✭ 101 (-7.34%)
Mutual labels:  kubeadm
Giropops Monitoring
Full stack tools for monitoring containers and other stuff. ;)
Stars: ✭ 1,019 (+834.86%)
Mutual labels:  docker-swarm
Gnes
GNES is Generic Neural Elastic Search, a cloud-native semantic search system based on deep neural network.
Stars: ✭ 1,178 (+980.73%)
Mutual labels:  docker-swarm
Docker Compose Ui
web interface for Docker Compose
Stars: ✭ 1,454 (+1233.94%)
Mutual labels:  docker-swarm
Libvirt K8s Provisioner
Automate your k8s installation
Stars: ✭ 106 (-2.75%)
Mutual labels:  kubeadm
Elasticsearch Docker Swarm
Elasticsearch Cluster on Docker swarm Cluster.
Stars: ✭ 77 (-29.36%)
Mutual labels:  docker-swarm

Contiv Installation for Docker Swarm & Kubernetes 1.4+

Install Contiv on your Docker Swarm or Kubernetes cluster.

Docker Swarm Installation

Prerequisites

  • CentOS 7.x operating system.
  • Python installed on the master and worker nodes.
  • Docker installed on the host where you are running the installer.
  • Install a Docker Swarm cluster in either legacy swarm mode or native swarm mode (requires 17.03+ version of Docker engine where swarm functionality is inbuilt). Alternatively, use the Contiv installer to setup docker and legacy swarm stack on cluster nodes.

Contiv Installation with Legacy Swarm Mode

The Contiv Docker Swarm installer is launched from a host external to the cluster. All the nodes must be accessible to the Contiv Ansible-based installer host through SSH. installer

  • Download the installer bundle:
    curl -L -O https://github.com/contiv/install/releases/download/$VERSION/contiv-$VERSION.tgz
    If your access to the Internet is limited or slow and you want to download the full Contiv install, choose
    contiv-full-$VERSION.tgz
    Note: The full image contains only Contiv components. Installing Docker Swarm will need Internet connectivity.

  • Extract the install bundle
    tar oxf contiv-$VERSION.tgz.

  • Change directories to the extracted folder
    cd contiv-$VERSION

  • To install Contiv with Docker Legacy Swarm:
    ./install/ansible/install_swarm.sh -f cfg.yml -e <ssh key> -u <username> -i

  • To install Contiv with Docker Legacy Swarm and ACI:
    ./install/ansible/install_swarm.sh -f aci_cfg.yml -e <ssh key> -u <username> -i -m aci

  • Example host config files are available at install/ansible/cfg.yml and install/ansible/aci_cfg.yml

  • To see additional install options and examples, run
    ./install/ansible/install_swarm.sh -h.

Contiv Installation with Native Swarm Mode

Docker swarm cluster must be already setup (see details). Installer only sets up Contiv v2plugin and dependencies. The Contiv installer can be run from a host in cluster itself.

  • Download the installer bundle:
    curl -L -O https://github.com/contiv/install/releases/download/$VERSION/contiv-$VERSION.tgz
    If your access to the Internet is limited or slow and you want to download the full Contiv install, choose
    contiv-full-$VERSION.tgz
    Note: The full image contains only Contiv components.

  • Extract the install bundle
    tar oxf contiv-$VERSION.tgz.

  • Change directories to the extracted folder
    cd contiv-$VERSION

  • To install Contiv v2plugin:
    ./install/ansible/install_swarm.sh -f cfg.yml -e <ssh key> -u <username> -p

  • Example host config files are available at install/ansible/cfg.yml and install/ansible/aci_cfg.yml

  • To see additional install options and examples, such as adding arguments to ansible for verbose output and proxy settings, run
    ./install/ansible/install_swarm.sh -h.

Removing Contiv

If you need to remove Contiv from Docker Swarm and return to your original state, you can uninstall Contiv with the following commands:

  • To uninstall Contiv and Docker Legacy Swarm:
    ./install/ansible/uninstall_swarm.sh -f cfg.yml -e <ssh key> -u <username> -i
  • To uninstall Contiv and Docker Legacy Swarm with ACI support:
    ./install/ansible/uninstall_swarm.sh -f aci_cfg.yml -e <ssh key> -u <username> -i -m aci
  • To uninstall Contiv and not Docker Legacy Swarm:
    ./install/ansible/uninstall_swarm.sh -f cfg.yml -e <ssh key> -u <username>
  • To uninstall Contiv v2plugin:
    ./install/ansible/uninstall_swarm.sh -f cfg.yml -e <ssh key> -u <username> -p
  • Note: Adding the -r flag, will cleanup any Contiv state.
  • To see additional install options and examples, such as adding arguments to ansible for verbose output and proxy settings, run
    ./install/ansible/uninstall_swarm.sh -h.

Kubernetes Installation

Prerequisites

  • Kubernetes 1.6.2+, and 1.8.4+ are supported with the following instructions.
  • CentOS 7.x operating system
  • Install Kubernetes:
    1. kubeadm installs the latest Kubernetes version.
      For Kubernetes 1.6, see an example script here. For Kubernetes 1.8, see an example script here.
    2. Replace step (3/4) in the kubeadm install guide with the following Contiv Installation Instructions. Contiv installation can be done after completing step (4/4).
    3. Instructions to install Kubernetes are available here.

Contiv Installation

  • Run the following commands on the kubernetes master host.
  • Use curl to get the installer bundle:
    curl -L -O https://github.com/contiv/install/releases/download/$VERSION/contiv-$VERSION.tgz
  • Extract the install bundle
    tar oxf contiv-$VERSION.tgz.
  • Change directories to the extracted folder
    cd contiv-$VERSION
  • To install Contiv with VXLAN:
    sudo ./install/k8s/install.sh -n $CONTIV_MASTER
  • NOTE: Use the same IP for CONTIV_MASTER as you use for --api-advertise-addresses in kubeadm init.
  • To install Contiv specifying a data plane interface for VLAN:
    sudo ./install/k8s/install.sh -n $CONTIV_MASTER -v <data plane interface like eth1>
  • NOTE: Ensure that the data plane interface is the same on all the worker nodes.
  • To install Contiv with ACI:
    ./install/k8s/install.sh -n $CONTIV_MASTER -a <APIC URL> -u <APIC User> -p <APIC Password> -l <Leaf Nodes> -d <Physical Domain> -e <EPG Bridge domain> -m <APIC contracts unrestricted mode>
    For example:
    ./install/k8s/install.sh -n <netmaster DNS/IP> -a https://apic_host:443 -u apic_user -p apic_password -l topology/pod-xxx/node-xxx -d phys_domain -e not_specified -m no
    where $CONTIV_MASTER is the Contiv proxy or Net Master IP.
  • To install Contiv with a custom infra network and gateway:
    ./install/k8s/install.sh -n <netmaster DNS/IP> -g <GATEWAY IP> -i <SUBNET>
  • To see additional install options, run
    ./install/ansible/install.sh.

Removing Contiv

  • To uninstall Contiv, retaining the etcd state, run:
    sudo ./install/k8s/uninstall.sh
  • To uninstall Contiv, cleaning up the etcd state, run:
    sudo ./install/k8s/uninstall.sh etcd-cleanup.
    Use this option to cleanup all the Contiv network state.
  • To stop Contiv, go to the install folder contiv-$VERSION and run:
    kubectl delete -f .contiv.yaml
  • To start Contiv, go to the install folder contiv-$VERSION and run:
    kubectl apply -f .contiv.yaml
  • To remove etcd state when Contiv is stopped, run:
    rm -rf /var/etcd/contiv-data
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].