Skip to content

Commit

Permalink
Teleport opsrecipe (#246)
Browse files Browse the repository at this point in the history
* Add teleport ops-recipe

* Update

---------

Co-authored-by: Puru <5674762+tuladhar@users.noreply.github.com>
  • Loading branch information
OnurYilmazGit and tuladhar committed Apr 3, 2024
1 parent 8ebb731 commit 30c1a73
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/docs/support-and-ops/ops-recipes/teleport/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Teleport Ops-recipes
weight: 70
description: >
Our collection of recipes for handling teleport alerts and problems.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "Teleport Process State Is Not Okay"
owner:
- https://github.com/orgs/giantswarm/teams/team-bigmac
confidentiality: public
---

This alert indicates that the state of teleport cluster is not in healthy state (state: 0).

State of the teleport process: 0 - ok, 1 - recovering, 2 - degraded, 3 - starting.

## Check if Teleport auth and proxy pods are running

First, login to teleport production cluster, if that works.

```
$ tsh login --auth giantswarm --proxy 'teleport.giantswarm.io:443'
$ tsh kube login teleport.giantswarm.io
```

If teleport login doesn't work, then you can use EKS to login.

```
aws eks ...
```


Then, check if teleport auth pods are running:

```
$ kubectl get pods -l app.kubernetes.io/component=auth -n teleport
```

Then, check if teleport proxy pods are running:

```
$ kubectl get pods -l app.kubernetes.io/component=proxy -n teleport
```


Then, check the logs for auth and proxy prod for errors:

```
$ kubectl get pods -l app.kubernetes.io/component=auth -n teleport
$ kubectl get pods -l app.kubernetes.io/component=proxy -n teleport
```

0 comments on commit 30c1a73

Please sign in to comment.