Managing Kubernetes objects
With Podman Desktop, you can easily transition from containers to Kubernetes and deploy a local Kubernetes environment with necessary objects. As a developer, you have the ability to:
- Manage your application resources visually.
- Configure the following Kubernetes objects:
Node
: Use this object to set up a node on which the necessary pods can run within a kubernetes cluster.Deployment
: Use this object to create necessary pods for execution and scale the number of pods.Service
: Use this object to expose your application to users and define policies for application access.Ingress
: Use this object to define routing rules and manage user access to the services running in a Kubernetes cluster.PersistentVolumeClaim
: Use this object to requestPersistentVolume
resources for storage and define volume access modes within your Kubernetes cluster.ConfigMap
: Use this object to to define non-sensitive configuration data for initializing or executing your application.Secret
: Use this object to store and manage sensitive data, such as passwords, OAuth tokens, and SSH keys for your application.
- View and analyze real-time information about the connection status of the resources configured within the cluster.
- Get resource details using the Summary and Inspect tabs.
- Edit and apply configuration changes directly using the Kube tab.
- Select multiple configuration files and apply them to your cluster in a single step.
Prerequisites
- A valid Kubernetes context and connection.
- A pod creation example for reference:
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: my-container
image: nginx:1.14.2
ports:
- containerPort: 80
Procedure: Creating an object
- In the Kubernetes explorer, click one of the options to open the respective object page.
- Click the Apply YAML button and select an object configuration file. A confirmation notification opens.
- Click Ok.
Procedure: Updating an existing object
- In the Kubernetes explorer, click one of the options to open the respective object page.
- Click the name of the object.
- Select the Kube tab and edit the configuration file.
- Click Apply changes to cluster.
Verification
- View the created object on the page.
- Optional: Click the name of the object to view its detailed summary.