https://github.com/mirantis/openstack-k8s-virtual-lab
https://github.com/mirantis/openstack-k8s-virtual-lab
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mirantis/openstack-k8s-virtual-lab
- Owner: Mirantis
- Created: 2020-05-05T09:20:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T13:04:10.000Z (about 1 year ago)
- Last Synced: 2025-01-17T12:17:46.181Z (4 months ago)
- Language: Shell
- Size: 35.2 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=========================
OpenStack K8S Virtual Lab
=========================Overview
--------The repository contains utils (heat-templates) that aimed to deploy multinode
kubernetes cluster by Docker UCP on top of underlying OpenStack environment.
Further this inner openstack (openstack on k8s) might be deployed by following
instructions: https://docs.mirantis.com/mosk/betaConfiguration
-------------* The repo provides the following list of environments that are stored in
``heat-templates/env/`` folder:* mstr3-wrkr3-cmp2-gtw0-lma3-osd3.yaml - is suitable for Neutron + OVS backend.
* mstr3-wrkr3-cmp2-ntw3-lma3-osd3.yaml - is suitable for Neutron + TungstenFabric.* Each environment contains set of settings. Before triggering deployment the following
parameters have to be set:* ``docker_ee_url`` link to repository that contains docker-ee packages
* ``cluster_public_key`` SSH public key used for instances* The underlying Openstack should have all needed resources like images, flavors.
* The underlying Openstack should have ability to disable portsecurity for VMs.
Installation
------------.. code-block:: bash
source keystone-openrc
cd heat-templates
export STACK_ENVIRONMENT=env/mstr3-wrkr3-cmp2-gtw0-lma3-osd3.yaml
export STACK_NAME=demo-deployment
openstack stack create -t top.yaml -e $STACK_ENVIRONMENT $STACK_NAME