Kubernetes self-service portal
Go to file
Alex-Sizov a873765e4e
Updated helm deployment guide (#119)
* first draft

* update helm deployment guide and screenshots

* fix linter errors

* Compressed images

* add note about chart version parameter

* update octopod in octopod screenshot

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-10-01 18:12:52 +03:00
.github/workflows Check formatting on CI (#103) 2021-09-15 14:47:28 +03:00
.vscode Removed TLS Auth in favour of headers (#54) 2021-07-28 14:27:37 +03:00
charts/octopod Remove chart_repo_name parameter (#121) 2021-10-01 13:31:59 +03:00
dev frontend hotfixes (#120) 2021-09-29 23:23:44 +03:00
docs Updated helm deployment guide (#119) 2021-10-01 18:12:52 +03:00
helm-control-scripts Remove chart_repo_name parameter (#121) 2021-10-01 13:31:59 +03:00
img Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
migrations Removed separate tag field, added config check and unified control script arguments (#109) 2021-09-26 17:54:20 +03:00
nix Check formatting on CI (#103) 2021-09-15 14:47:28 +03:00
octo-cli Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
octopod-api Added archive cleaning to the Octopod Server (#112) 2021-09-27 14:24:22 +03:00
octopod-backend Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
octopod-common Started catching cleanup failures (#113) 2021-09-27 16:58:19 +03:00
octopod-css Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
octopod-frontend Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
.gitattributes Update .gitattributes (#1) 2021-01-25 18:40:35 +03:00
.gitignore Added new override markup (#97) 2021-09-15 15:02:58 +03:00
.hlint.yaml Implemented new override markup (#106) 2021-09-21 14:41:53 +03:00
build.sh Migrate to haskell.nix for everything (#46) 2021-07-16 15:56:18 +03:00
cabal.project Migrate to haskell.nix for everything (#46) 2021-07-16 15:56:18 +03:00
ChangeLog.md Initial open source release 2020-12-09 18:31:07 +03:00
default.nix Added the build git commit sha to ping endpoint (#110) 2021-09-26 19:36:10 +03:00
Development_guide.md Improved handling metadata links (#9) 2021-01-25 18:40:35 +03:00
fourmolu.yaml Removed TLS Auth in favour of headers (#54) 2021-07-28 14:27:37 +03:00
hie.yaml Added haskell-language-server support in nix-shell (#4) 2021-01-25 18:40:35 +03:00
LICENSE Initial open source release 2020-12-09 18:31:07 +03:00
Makefile Nixified css (#61) 2021-08-20 19:31:28 +03:00
octopod_local_install.sh explicit kubeconfig context (#122) 2021-10-01 17:32:56 +03:00
README.md Updated tech docs (#117) 2021-10-01 16:58:35 +03:00
Release_checklist.md Updated release checklist to include testing (#29) 2021-07-16 15:56:18 +03:00
release.sh Initial open source release 2020-12-09 18:31:07 +03:00
shell.nix Bumped nix dependencies (#83) 2021-08-24 17:06:29 +03:00
stack.yaml Migrate to haskell.nix for everything (#46) 2021-07-16 15:56:18 +03:00

Build Documentation

Octopod is a fully open-source self-service portal which empowers your team to leverage the full power of Kubernetes without the need for technical expertise.

Octopod is a way for you to provide a simple interface for managing instances of a service in your Kubernetes cluster. Anything you can describe in a Helm Chart, any member of team can deploy. No matter how complex the deployment process is.

The recipe is simple: you provide a url to your Helm repo, Octopod then automatically extracts the possible configuration that the Chart can have, and automatically manages the lifecycle of the services. What users see is just a simple web interface:

🖥 Demo

🧑‍🔬 Try it out for yourself

You can have the installation from the demo above running on your local machine in minutes by running the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/typeable/octopod/master/octopod_local_install.sh)"

You can dive deeper into the installation process in our deployment guide.

Motivation

We created Octopod because we believe that everything we release should be rigorously tested, however, such desires greatly complicate the development workflow leading to longer release cycles.

The members of our team that facilitate rigorously testing are also the member that require the most attention from our DevOps engineers to manage the many staging environments required for a proper testing cycle.

With Octopod we were able to reduce the reliance on our DevOps teams for testing to practically zero, while increasing the DevOps maneuverability of our QA engineers and process.

📑 Documentation

🔭 High-level notes

🛠️ Technical documentation

FAQ

How long does it take to set up Octopod?

Deploying Octopod itself can be done in a matter of minutes if you have a Kubernetes cluster at hand. If you want to deploy it locally we have a handy script that sets everything up automatically.

After you have Octopod up and running the only thing you need is a Helm Chart that your team might want to deploy. That's it.

Will Octopod work with my project if it uses X?

Yes. Octopod is project-agnostic. If you can run your project in a Docker container, then you can use Octopod with that project.

What do I need to know to set up Octopod?

You need to understand the basics of Kubernetes and be familiar with whatever hosting provider you will be using.

What separates Octopod from exiting solutions like Gitlab Dynamic Environments?

Most existing solutions like Gitlab Dynamic Environments offer you an extension of CI/CD pipelines. All they do is allow you to run bash scripts.

This has several drawback the main of which is the fact that you need to understand the under-the-hood details of the deployment process to use them. Existing solutions don't abstract the deployment process. They package up steps of deployment. The user is still responsible for coordinating the steps. You still need to manually manage the state of your deployed services.

Observability and transparency of the deployment management process is another drawback. To inspect the state of a deployed system you need to drop down to the Kubernetes level. At that point you alienate anyone without DevOps expertise. This is the problem Octopod solves.

Octopod actually abstracts the under-the-hood detail like Helm, Kubernetes and Docker from the user into an intuitive and easy to understand model. This allows anyone to manage and deploy services.

Octopod is great, but my service deployment lifecycle is slightly different.

Octopod was developed in a modular way from the very start. It offers specific extension points called control scripts that allow you to modify the behavior of Octopod. The control scripts can be implemented in any programming language, even Bash. You can read more about control scripts in our control script guide.

We have developed a generic set of control scripts that should work great with any Helm Chart. You can use them as a base for your custom control scripts.

Does Octopod work with my CI?

Yes. If you can run arbitrary executables in your CI, then you will be able to integrate it with Octopod. Integration basically consists of calling our octo CLI tool to perform desired actions. You can find more detail in the CI integration doc.

How come I can't see the deployment logs in Octopod web app?

It's been excluded from the GUI because we don't have a good security story to accompany this feature yet. Some secrets and credentials may leak to the project team using Octopod and, potentially, not everyone should have access to this data.

Octopod says "Failure" next to my deployment. Why is it not working?

There are several places where things can go wrong:

  1. Your DevOps engineer could have made mistakes in one of the Control Scripts leading to an improper deployment process.

    To fix this the DevOps engineer can use the octo CLI to see detailed logs collected during the deployment process and diagnose the issue.

  2. You could have one of the steps of your deployment failing (for example, a failing database migration).

    If you have supplied a Kubernetes Dashboard URL to Octopod during deployment, then you will have a "Details" button in the Web UI. You can click that button to get a filtered view of the Kubernetes Dashboard where you can see what could have gone wrong and diagnose the issue.

Quotations

Typeable team envisioned an insightful approach to CI/CD, which managed to help us cut the delivery time for new features and projects with Octopod

— Wes Iwanski VP Technology, Downtown Travel

Still have questions?

If you still have questions, be sure to ask them in our Octopod Discussions.