Giter Club home page Giter Club logo

zenko-heat-template's Introduction

zenko-heat-templates

This repository contains a heat template to deploy Zenko on MetalK8s on an OpenStack cloud. It also comes with a way to create a murano app package. The Stack/Application deploys the required minimum system to run Zenko. By default, it does not deploy anything else than the instances, but it can be configured to install Metalk8s only, or Metalk8s And Zenko.

Heat template parameters

  • key_name
    Description: Keypair to enable SSH access to the instances.

  • metalk8s_version
    Description: MetalK8s version to install (only use master if you know what you're doing :)
    default: "1.0.0"
    Allowed_pattern: "(master|1.[0-9].0-9?)"

  • install
    Description: Should we deploy anything on the cluster?
    default: "none"
    Allowed_values:
    - none
    - metalk8sonly
    - both

  • zenko_version
    Description: Zenko version to install
    Default: "1.0.1"
    Allowed_pattern: "(master|1.[0-9].0-9?)"

  • network
    Description: Name or ID of network to create VMs on.

CLI Usage

This assumes that you have a functioning environment with openstack CLI tool able to run against your openstack environment.

Deploying the template only

openstack stack create --parameter key_name=<key_to_use> --parameter network=<network> -t template.yaml <stackname>

Deploying the template and metalk8s only

openstack stack create --parameter key_name=<key_to_use> --parameter install=metalk8sonly --parameter zenko_version=1.0.1 --parameter network=<network> -t template.yaml <stackname>

Deploying the full stack (instances, metalk8s and Zenko)

openstack stack create --parameter key_name=<key_to_use> --parameter install=both --parameter zenko_version=1.0.1 --parameter network=<network> -t template.yaml <stackname>

PF9 UI Usage

In the platform 9 UI, this template can be deployed using the orchestration tab, and by supplying the template_pf9_ui.yaml and k8snode_pf9_ui.yaml file and all the files in templates/ and scripts/ directories.
Orchestration UI
When asked about parameters, this JSON, filled in with the right data for your setup, should be used to deploy and install both metalk8s 1.0.0 and Zenko 1.0.1

  "key_name": "<key_to_use",
  "install": "both",
  "zenko_version": "1.0.1",
  "network": "<network>"
}

Orchestration UI
Orchestration UI

Murano Packages

The included script, create-nurano-package.sh, will generate a zip file that can be used to deploy the stack as well. the Platform9 UI allows creating applications based on murano packages, which can then be used to deploy zenko/metalk8s as an application tby all yourauthorized platform9 users.

zenko-heat-template's People

Contributors

mastachand avatar smaffulli avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mastachand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.