Skip to content

Commit

Permalink
Fix: update the docs flow for installs
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
  • Loading branch information
cloudnull committed Jun 4, 2024
1 parent a07a196 commit 17fcc37
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 38 deletions.
8 changes: 5 additions & 3 deletions docs/build-test-envs.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Lab Build Demo

[![asciicast](https://asciinema.org/a/629776.svg)](https://asciinema.org/a/629776)
!!! Example "This section is only for test environments"

The information on this page is only needed when building an environment in Virtual Machines.

The information on this page is only needed when building an environment in Virtual Machines.
[![asciicast](https://asciinema.org/a/629776.svg)](https://asciinema.org/a/629776)

## Prerequisites

Expand All @@ -12,7 +14,7 @@ Take a moment to orient yourself, there are a few items to consider before movin

!!! note

Your local genestack repository will be transferred to the eventual launcher instance for convenience **perfect for development**. See [Getting Started](quickstart.md) for an example on how to recursively clone the repository and its submodules.
Your local genestack repository will be transferred to the eventual launcher instance for convenience **perfect for development**. See [Getting Started](genestack-getting-started.md) for an example on how to recursively clone the repository and its submodules.

### Create a VirtualEnv

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md → docs/genestack-getting-started.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Quick Start Guide
# Getting the Genestack Repository

Before you can do anything we need to get the code. Because we've sold our soul to the submodule devil, you're going to need to recursively clone the repo into your location.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ hide:

Start building now.

[:octicons-play-24: Deployment Guide](quickstart.md)
[:octicons-play-24: Deployment Guide](genestack-getting-started.md)

</div>

Expand Down
6 changes: 0 additions & 6 deletions docs/infrastructure-ovn.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/k8s-kubespray.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,23 +140,3 @@ ansible-playbook --inventory /etc/genestack/inventory/openstack-flex-inventory.i
Given the use of a venv, when running with `sudo` be sure to use the full path and pass through your environment variables; `sudo -E /home/ubuntu/.venvs/genestack/bin/ansible-playbook`.

Once the cluster is online, you can run `kubectl` to interact with the environment.

## Installing Kubernetes

Currently only the k8s provider kubespray is supported and included as submodule into the code base.
A default inventory file for kubespray is provided at `/etc/genestack/inventory` and must be modified.

!!! tip

Existing OpenStack Ansible inventory can be converted using the `/opt/genestack/scripts/convert_osa_inventory.py`
script which provides a `hosts.yml`

Once the inventory is updated and configuration altered (networking etc), the Kubernetes cluster can be initialized with
the `setup-kubernetes.yml` playbook which in addition will also label nodes for OpenStack installation.

``` shell
source /opt/genestack/scripts/genestack.rc
cd /opt/genestack/ansible/playbooks

ansible-playbook setup-kubernetes.yml
```
5 changes: 4 additions & 1 deletion docs/sealed-secrets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Sealed Secrets Introduction and Installation Guide
!!! Danger "This section is still underdevelopment and experimental"

None of the vault components are required to run a Genestack environment.

# Sealed Secrets Introduction and Installation Guide

Sealed Secrets is a Kubernetes-native solution for securely storing and managing sensitive information within Kubernetes Secrets. It ensures secure secret management by encrypting Kubernetes Secrets and storing them as SealedSecret resources, which can only be decrypted by the cluster itself.

Expand Down
4 changes: 4 additions & 0 deletions docs/vault-secrets-operator.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
!!! Danger "This section is still underdevelopment and experimental"

None of the vault components are required to run a Genestack environment.

# HashiCorp Vault Secret Operators for Genestack Installation

The Vault Secrets Operator (VSO) enables Pods to seamlessly consume Vault secrets from Kubernetes Secrets. This guide outlines the process of consuming secrets stored in Vault for Genestack installation. This is continuation of [vault.md](https://docs.rackspacecloud.com/vault/) where we have created few secrets in the Vault
Expand Down
4 changes: 4 additions & 0 deletions docs/vault.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
!!! Danger "This section is still underdevelopment and experimental"

None of the vault components are required to run a Genestack environment.

# HashiCorp Vault Setup for Genestack Installation

HashiCorp Vault is a versatile tool designed for secret management and data protection. It allows you to securely store and control access to various sensitive data, such as tokens, passwords, certificates, and API keys. In this guide, we will use HashiCorp Vault to store Kubernetes Secrets for the Genestack installation.
Expand Down
13 changes: 7 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ nav:
- Overview:
- Architecture: genestack-architecture.md
- Components: genestack-components.md
- Quickstart:
- Building Virtual Environments: build-test-envs.md
- Simple Setup: quickstart.md
- Deployment Guide:
- What is Genestack?: deployment-guide-welcome.md
- Getting Started:
- Building Virtual Environments: build-test-envs.md
- Getting the code: genestack-getting-started.md
- Open Infrastructure:
- Kubernetes:
- k8s-overview.md
Expand Down Expand Up @@ -186,16 +186,17 @@ nav:
- skyline: openstack-skyline.md
- Octavia: openstack-octavia.md
- Metering:
- PostgreSQL: infrastructure-postgresql.md
- Gnocchi: openstack-gnocchi.md
- Ceilometer: openstack-ceilometer.md
- PostgreSQL: infrastructure-postgresql.md
- Gnocchi: openstack-gnocchi.md
- Ceilometer: openstack-ceilometer.md
- Monitoring:
- Monitoring Overview: prometheus-monitoring-overview.md
- Getting Started: monitoring-getting-started.md
- Grafana: grafana.md
- Kube-OVN Monitoring: prometheus-kube-ovn.md
- RabbitMQ Exporter: prometheus-rabbitmq-exporter.md
- Memcached Exporter: prometheus-memcached-exporter.md
- MariaDB Exporter: prometheus-mysql-exporter.md
- Postgres Exporter: prometheus-postgres-exporter.md
- Openstack Exporter: prometheus-openstack-metrics-exporter.md
- Blackbox Exporter: prometheus-blackbox-exporter.md
Expand Down

0 comments on commit 17fcc37

Please sign in to comment.