Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add glasskube keptn integration blog post #3267

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ deploymentstate
deploymenttrace
dflags
distroless
dnf
Dockerfiles
docsy
donath
Expand Down Expand Up @@ -207,11 +208,13 @@ ginkgotypes
giscus
Gitlab
gke
glasskube
gms
GOBIN
gocognit
gocyclo
gofmt
GOGC
golangci
gomega
gomod
Expand Down Expand Up @@ -404,6 +407,7 @@ metricsobject
metricsprovider
metricsserver
metricstypes
Miglinci
mindepth
minio
mkdocs
Expand Down Expand Up @@ -461,6 +465,7 @@ operatorvalue
optionskeptnsh
ossf
otel
otelcol
otelprom
otelsdk
otelurl
Expand All @@ -481,6 +486,7 @@ phaseitem
phasetraceid
pid
pipefail
pmig
poc
poddisruptionbudgets
podgroups
Expand Down Expand Up @@ -554,6 +560,7 @@ sendserviceaccount
serrors
serviceaccount
serviceaccountspec
serviceapp
serviceport
setuptools
Shandilya
Expand Down Expand Up @@ -661,6 +668,7 @@ vmyversion
vnd
vwc
vwh
webbrowser
webhookcainjection
webhookmanager
webhooknamespaces
Expand All @@ -687,6 +695,3 @@ Yash
yml
YOURNAME
yourregistry
GOGC
otelcol
serviceapp
pmig marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/glasskube-keptn/glasskube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/blog/.authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ authors:
description: Docs Maintainer
avatar: https://avatars.githubusercontent.com/u/26523841?v=4
url: https://github.com/agardnerIT
pmig:
name: Philip Miglinci
description: Co-Founder Glasskube
avatar: https://avatars.githubusercontent.com/u/3041752?v=4
url: https://github.com/pmig
146 changes: 146 additions & 0 deletions docs/blog/posts/glasskube-keptn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
---
date: 2024-03-14
authors: [ pmig ]
description: >
In this blog post you will learn how to install and update Keptn via the Glasskube Package Manager.
categories:
- SRE
- Glasskube
- Installation
- Upgrade
comments: true
slug: install-keptn-with-glasskube
---

# Keptn is now officially available via the Glasskube Package Manager for Kubernetes

We are happy to announce that Keptn is now officially available via the Glasskube Package Manager to bring Keptn
to even more users.

Installing packages for Kubernetes clusters is one of the post pressing issues in the Cloud Native community.
pmig marked this conversation as resolved.
Show resolved Hide resolved
There are still some unaddressed challenges like managing dependencies and streamlining updates across multiple
packages.

In this article we give an overview about Glasskube, Keptn and how the installation works and looks like
pmig marked this conversation as resolved.
Show resolved Hide resolved

<!-- more -->

## What is Glasskube?

[Glasskube](https://glasskube.dev) is the next generation package manager for Kubernetes and part of the CNCF
landscape.

Inspired by traditional package managers like `brew`, `apt` or `dnf` with Glasskube users can easily find, install
pmig marked this conversation as resolved.
Show resolved Hide resolved
and update packages for Kubernetes.
Glasskube packages are dependency aware, so if multiple packages require for
example cert-manager, it only gets installed once in the recommended namespace can be utilized by multiple packages.
pmig marked this conversation as resolved.
Show resolved Hide resolved
Glasskube not only provides a streamlined CLI experience, but also a simple UI for managing Kubernetes packages.
Glasskube itself is designed as Cloud Native application and every installed package is represented by a
pmig marked this conversation as resolved.
Show resolved Hide resolved
Custom Resource.
This comes in handy if packages and Glasskube itself should be managed via a GitOps approach.

[`glasskube/glasskube`](https://github.com/glasskube/glasskube/) is in active development, welcoming new
contributors and has multiple _good first issues_.
pmig marked this conversation as resolved.
Show resolved Hide resolved

## What is Keptn?

[Keptn](https://lifecycle.keptn.sh/) is a CNCF project for continuous delivery and automated operations.
pmig marked this conversation as resolved.
Show resolved Hide resolved
It helps developers and platform engineering teams automate deployment, monitoring, and management of applications
running in cloud environments.
Keptn works with standard deployment software like ArgoCD or Flux, consolidating metrics, observability, and analysis
for all the microservices that comprise your deployed software as well as providing checks and executables that can
run before and/or after the deployment.

## Keptn package on Glasskube

The supported Keptn versions and packages can be found on in the Glasskube package repository:
pmig marked this conversation as resolved.
Show resolved Hide resolved
[`glasskube/packages/keptn`](https://github.com/glasskube/packages/tree/main/packages/keptn)

As Keptn requires a certificate in order to interact with the Kubernetes API it can either make use of cert-manager.io
or it alternatively packages its own package manager as traditional installation methods don't support dependencies.
pmig marked this conversation as resolved.
Show resolved Hide resolved
In the Glasskube package yaml there is a dependency on `cert-manager` configured:

```yaml
name: "keptn"
shortDescription: >-
Supercharge your deployments with Keptn! Keptn provides a “cloud-native” approach for managing the application
release lifecycle metrics, observability, health checks, with pre- and post-deployment evaluations and tasks.
iconUrl: "https://avatars.githubusercontent.com/u/46796476"
pmig marked this conversation as resolved.
Show resolved Hide resolved
defaultNamespace: "keptn-system"
manifests:
- url: https://glasskube.github.io/packages/packages/keptn/v2.0.0-rc.1+1/keptn.yaml
- url: https://glasskube.github.io/packages/packages/keptn/v2.0.0-rc.1+1/keptn-cert.yaml
- url: https://glasskube.github.io/packages/packages/keptn/v2.0.0-rc.1+1/keptn-issuer.yaml
dependencies:
- name: "cert-manager"
```

## Installation of Keptn with Glasskube

### Install Glasskube

If you haven't already installed the `glasskube` client you can install it either via brew or follow the
pmig marked this conversation as resolved.
Show resolved Hide resolved
[Glasskube Documentation](https://glasskube.dev/docs/getting-started/install/).

```shell
brew install glasskube/tap/glasskube
```

After installing Glasskube you can bootstrap Glasskube with `glasskube bootstrap` or perform an automatic
pmig marked this conversation as resolved.
Show resolved Hide resolved
bootstrap with your first package installation.

### Keptn installation with the Glasskube CLI

You simply install keptn with:
pmig marked this conversation as resolved.
Show resolved Hide resolved

```shell
glasskube install keptn
```

After the installation you can validate that all components have been installed by running by executing:
pmig marked this conversation as resolved.
Show resolved Hide resolved
`kubectl get all -n keptn-system`.
pmig marked this conversation as resolved.
Show resolved Hide resolved

### Keptn installation with the Glasskube GUI

Glasskube provides an easy way to install Keptn with a graphical user interface.

#### 1. Open the Glasskube GUI with

The first step is to open the Glasskube GUI with the `serve` command.

```shell
glasskube serve
```

#### 2. Install Keptn via the webbrowser

Your default webbrowser will open on [http://localhost:8580](http://localhost:8580).
pmig marked this conversation as resolved.
Show resolved Hide resolved

![Glasskube overview](/assets/images/glasskube-keptn/glasskube.png "Glasskube overview")

Where you just need to click the "Install" Button for Keptn.

![Glasskube keptn](/assets/images/glasskube-keptn/glasskube-keptn.png "Keptn installation via Glasskube")

You can also choose if you want to enable automatic updates or install a specific version.

#### 3. Validate Keptn installation

After some time the Glasskube GUI automatically updates the state of the installed package.

![Glasskube Keptn success](/assets/images/glasskube-keptn/glasskube-keptn-success.png "Keptn installation success")

After the installation you can validate that all components have been installed by running by executing:
`kubectl get all -n keptn-system`.
pmig marked this conversation as resolved.
Show resolved Hide resolved

## Summary

Keptn is now officially available via the Glasskube Package Manager and can easily be installed and updated via a CLI,
GUI or GitOps solutions like ArgoCD or FluxCD.

## Useful links

- <https://glasskube.dev/>
- <https://helm.sh/>
- <https://github.com/glasskube/glasskube/>
- <https://github.com/glasskube/packages/>
Loading