Files
k8s-docker-suite-app-murano/Kubernetes/KubernetesCluster/elements
Nikolay Mahotkin 2d4eb1d122 [K8s] Updating DIB elements and fix k8s application
* DIB element is updated to the latest k8s version - 1.3.0
 * K8s application is fixed according to the new k8s version:
    - replaced short '-t' flag on the long one - '--template'

Change-Id: I37d73a907c55c0e3aca6a2e786b05a9e99a215ac
2016-07-04 19:34:14 +03:00
..
2015-04-22 12:08:28 +00:00

Kubernetes Elements

This folders contains necessary DIB elements to build Kubernetes image expected by "Kubernetes Cluster" Murano application.

Prerequisites

  1. Install diskimage-builder
sudo pip install diskimage-builder
  1. Install qemu-uils and kpartx

On Ubuntu, Debian:

sudo apt-get install qemu-utils kpartx

On Centos, Fedora:

sudo yum install qemu-utils kpartx

Image building

sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/Kubernetes/KubernetesCluster/elements disk-image-create \
    vm ubuntu murano-agent docker kubernetes -o ubuntu14.04-x64-kubernetes

Where ${murano_agent_root} is a path to murano-agent files and ${murano_apps_root} is a path to murano-apps files.