Skip to content

Commit

Permalink
Add new files and update existing files
Browse files Browse the repository at this point in the history
  • Loading branch information
saffronjam committed Jan 11, 2024
1 parent 46f8b84 commit a244d5f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
Binary file added hugo/content/images/rancher_cd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions hugo/content/maintenance/appsAndGitOps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Apps and GitOps
---

# Apps and GitOps

Most of the time we use deploy to manage all of the apps and VMs. However, there are some apps that are not managed by deploy, such as depenedencies of deploy itself. These apps are managed using GitOps. This means that all apps are deployed using manifests stored in a GitHub repo, you can find the repo [here](https://github.com/kthcloud/k8s). The repo is only accessible to system admins, so if you need access, ask a system admin to add you.

The repo uses templates to make it easier to setup, for example, NFS storage for persistent volumes. These template values are substituted with the correct values after the push to the repo. It is divided into clusters under `apps`, meaning that if you add a manifest to the `sys` folder, it will be deployed to the sys-cluster.

Please see the [System Apps](/administration/systemApps) page for more information on how to add apps to the sys-cluster.

## Configuration
Behind the hood, it is [Rancher](/internal/rancher) that enables GitOps. Rancher uses a tool called [Fleet](https://fleet.rancher.io/) to manage the GitOps. Rancher monitors changes in the `apps` folder under the `artifacts` branch deploys the manifests to the correct cluster.
To edit the configuration, go to [Rancher](https://rancher.mgmt.cloud.cbh.kth.se) and click on `Continuous Delivery` in the left menu.

<img src="../../images/rancher_cd.png" width="35%">
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
title: Provision a host
---

# Provision a host

# Host Provisioning
The workflow to provision a new host is mostly automated using
PXE-booting using [MaaS](https://maas.io/) together with [cloud
init](https://cloudinit.readthedocs.io/en/latest/). But there are some
Expand Down
1 change: 0 additions & 1 deletion hugo/content/maintenance/manageKubernetesApps.md

This file was deleted.

0 comments on commit a244d5f

Please sign in to comment.