Register for our August 27th webinar: Why Kubernetes Docs Keep Losing You (And What We Did About It) →

How to give developers safe pod-level access in Kubernetes using Portainer

How to

Easily get Kubernetes logs, console, and stats in Kubernetes with Portainer.

5 min readFebruary 21, 2023Last updated: April 30, 2026

Table of Contents

Portainer provides a centrally deployed management platform that allows Operations teams to deliver a controlled, intuitive dashboard to developers.

With the correct access and RBAC roles in place, developers can safely interact with applications running in Kubernetes clusters without needing to use kubectl or understand Kubernetes internals.

This guide walks through the three core capabilities most developers require:

Prerequisites

Before proceeding, ensure:

1. How to view pod logs

One of the most common troubleshooting tasks is reviewing application logs. In Kubernetes, logs are generated by pods that back your deployments.

Portainer provides direct access to these logs without requiring kubectl.

Steps

  1. Log in to Portainer
  2. Select the target Kubernetes environment
  3. Select Applications in the left hand menu
  4. Locate the running pod within the Application containers view
  5. Click Logs from the Actions menu

You are immediately connected to a live stream of the pod logs with:

This allows developers to triage issues quickly without CLI access.

2. How to open a console into a running pod

When logs are not enough, developers may need shell access to inspect runtime behavior or review filesystem contents inside a container.

Portainer provides secure console access directly from the UI.

Steps

  1. Log in to Portainer
  2. Select the target Kubernetes environment
  3. Select Applications in the left hand menu
  4. Locate the running pod within the Application containers view
  5. Click Console from the Actions menu

A browser-based shell session opens directly into the container.

3. How to view pod performance metrics

Monitoring CPU and memory usage is critical for diagnosing performance issues.

Portainer integrates with the Kubernetes Metrics API, sourced from:

Steps

  1. Log in to Portainer
  2. Select the target Kubernetes environment
  3. Select Applications in the left hand menu
  4. Locate the running pod within the Application containers view
  5. Click Stats from the Actions menu

You can view real-time CPU and memory usage for the selected pod.

Why this matters

With Portainer installed, Operations teams can provide developers access to:

All without:

This model improves security, simplifies workflows, and reduces operational overhead.

Try Portainer with 3 Nodes Free

If you're ready to get started with Portainer Business, 3 nodes free is a great place to begin. If you'd prefer to get in touch with us, we'd love to hear from you!

Heading

Button TextButton Text

Tip  / Call out

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Let our experienced engineers set up and manage your Kubernetes infrastructure for you.

Kubernetes Managed ServicesRelated content

Industry news,  notes, and insights.

Visit resource hubJune 24, 2025

What No One Tells You Before You Adopt Kubernetes

Neil Cresswell,Portainer CEO
June 20, 2025

Here's What I've Learned In My First 30 Days At Portainer - Week 2

Niels Buitendijk,Technical Account Manager
Kubernetes Management Platform

One platform, not twelve tools.

Govern Kubernetes across your whole fleet from a single control plane. Get 3 nodes free.