Skip to main content

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 request PersistentVolume 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

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

  1. In the Kubernetes explorer, click one of the options to open the respective object page. kube objects
  2. Click the Apply YAML button and select an object configuration file. A confirmation notification opens. configuring a node
  3. Click Ok.

Procedure: Updating an existing object

  1. In the Kubernetes explorer, click one of the options to open the respective object page.
  2. Click the name of the object.
  3. Select the Kube tab and edit the configuration file. editing a node
  4. Click Apply changes to cluster.

Verification

  1. View the created object on the page.
  2. Optional: Click the name of the object to view its detailed summary. summary tab