You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stackit_ske_kubeconfig_login.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,15 @@ Login plugin for kubernetes clients, that creates short-lived credentials to aut
8
8
First you need to obtain a kubeconfig for use with the login command (first or second example).
9
9
Secondly you use the kubeconfig with your chosen Kubernetes client (third example), the client will automatically retrieve the credentials via the STACKIT CLI.
10
10
11
+
Project ID and region are resolved with the following precedence:
12
+
13
+
| Explicit flag | Global config | Exec cluster config | Result |
Use the previously saved kubeconfig to authenticate to the SKE cluster, in this case with kubectl.
25
34
$ kubectl cluster-info
26
35
$ kubectl get pods
36
+
37
+
Configure an IdP exec provider for a Kubernetes client that does not provide cluster information. In an SKE workload, the CLI automatically uses the projected workload identity token.
0 commit comments