Remove outdated guides and restructure documentation for infctl and MVK
- Deleted the following guides: - Introduction to infctl - Local K3d Instance creation - Traefik ingress setup - Longhorn storage setup - Local Vagrant cluster setup - Quick Start guide for MVK - Minimal Viable Kubernetes overview - Added new guides: - Local Development Environment setup - Initial Pipeline Run for infctl - Create a Vagrant 3 node cluster - Smoke test for Vagrant cluster - Add Longhorn Storage guide - Add Ingress guide - Smoke test for Ingress - Updated index and navigation links to reflect new structure.
This commit is contained in:
parent
c1cea80b12
commit
ff6341edf1
16 changed files with 97 additions and 6811 deletions
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: Add Ingress
|
||||
description: A guide to adding ingress.
|
||||
---
|
||||
|
||||
## Prerequisites
|
||||
|
||||
This section follows on from [Add Longhorn Storage](/guides/local-vagrant-cluster-storage/). Be sure to complete that before commencing with this.
|
||||
|
||||
if not already shelled into the workstation, from `/home/user/projects/infctl-cli` we need to change directory to
|
||||
|
||||
```bash
|
||||
cd vagrant/dev/ubuntu/
|
||||
```
|
||||
so we can ssh to the workstation
|
||||
|
||||
```bash
|
||||
vagrant ssh workstation
|
||||
```
|
||||
|
||||
## Familiarise yourself with …
|
||||
|
||||
* [install_metallb.sh](https://codeberg.org/headshed/infctl-cli/src/branch/main/vagrant/dev/ubuntu/scripts/install_metallb.sh) applies a kubernetes manifest to install metallb and then applies an `IPAddressPool` and `L2Advertisement` which will be used later by `traefik` to access a loadbalancer in order to expose services so that we can access them from outside of kubernetes. This is a key part of MVK and one which does not exist in Kubernetes as this is typically expected to be provided by a managed kubernetes cloud service.
|
||||
* [install_traefik.sh](https://codeberg.org/headshed/infctl-cli/src/branch/main/vagrant/dev/ubuntu/scripts/install_traefik.sh) sets up some custom variables to enable an internal dashboard, ports for ingress, log level and loadbalancer.
|
||||
|
||||
## Run the pipelines …
|
||||
|
||||
The [metallb pipeline](https://codeberg.org/headshed/infctl-cli/src/branch/main/vagrant/dev/ubuntu/pipelines/vagrant-metallb.json) can be run with :
|
||||
|
||||
|
||||
```bash
|
||||
LOG_FORMAT=basic infctl -f pipelines/vagrant-metallb.json
|
||||
```
|
||||
|
||||
traefik ingress can be installed with
|
||||
|
||||
```bash
|
||||
LOG_FORMAT=basic infctl -f pipelines/vagrant-ingress.json
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue