docs: added _Viewing and selecting the current Kubernetes context_ (#2303)

This commit is contained in:
Fabrice Flore-Thébault 2023-05-15 14:41:09 +02:00 committed by GitHub
parent 369291bc17
commit 3457bd8e14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 71 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,71 @@
---
sidebar_position: 10
title: Kubernetes context
description: Viewing and selecting the current Kubernetes context
keywords: [podman desktop, podman, containers, pods, migrating, kubernetes]
tags: [migrating-to-kubernetes]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Viewing and selecting the current Kubernetes context
With Podman Desktop, you can view and select your current Kubernetes context.
#### Prerequisites
- You have a Kubernetes context in your kubeconfig file: _<your_kubernetes_cluster>_.
For example, [Creating a kind cluster](kind/creating-a-kind-cluster).
#### Procedure
1. Open the **Podman Desktop tray** menu.
<Tabs groupId="operating-systems">
<TabItem value="win" label="Windows">
In the task bar, click **Show hidden icons**.
![Podman Desktop tray](img/tray-icon-on-windows-10.png)
Right-click the **Podman Desktop tray** icon to open the menu.
![Podman Desktop tray](img/tray-main-menu-on-windows-10.png)
</TabItem>
<TabItem value="mac" label="macOS">
![Podman Desktop tray](img/tray-main-menu-on-macos.png)
</TabItem>
<TabItem value="linux" label="Linux">
![Podman Desktop tray](img/tray-main-menu-on-linux.png)
</TabItem>
</Tabs>
1. Click **Kubernetes** to see your current Kubernetes context.
<Tabs groupId="operating-systems">
<TabItem value="win" label="Windows">
![Podman Desktop tray](img/tray-kubernetes-on-windows-10.png)
</TabItem>
<TabItem value="mac" label="macOS">
![Podman Desktop tray](img/tray-kubernetes-on-macos.png)
</TabItem>
<TabItem value="linux" label="Linux">
![Podman Desktop tray](img/tray-kubernetes-on-linux.png)
</TabItem>
</Tabs>
1. (Optionally) To change your Kubernetes context, click on the context name to activate.