---
title: "Tutorials — Lens"
description: "Step-by-step guides for Kubernetes and cloud-native work — kubectl, RBAC, GitOps, observability, and Lens itself."
url: https://lenshq.io/blog/category/tutorials/
---

Blog

# Tutorials

38 posts from Team Lens.

[![Argo CD Tutorial: From Installation to App of Apps and ApplicationSets](https://lenshq.io/blog/argocd-tutorial/cover.webp)](https://lenshq.io/blog/argocd-tutorial/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Argo CD Tutorial: From Installation to App of Apps and ApplicationSets](https://lenshq.io/blog/argocd-tutorial/)

Install Argo CD, deploy real applications with the app of apps pattern, and scale your GitOps setup with ApplicationSets — plus Argo CD support in Lens.

Flavius Dinu September 18, 2026 10 min read

[![The OpenClaw fallout: why banning ungoverned AI agents doesn't work](https://lenshq.io/blog/banning-ungoverned-ai-agents/cover.webp)](https://lenshq.io/blog/banning-ungoverned-ai-agents/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [The OpenClaw Fallout: Why Banning Ungoverned AI Agents Doesn’t Work (and What to Do Instead)](https://lenshq.io/blog/banning-ungoverned-ai-agents/)

OpenClaw hit 500,000 exposed instances and got banned everywhere. The demand didn't disappear, it migrated. Here's how to govern agents instead.

Flavius Dinu August 27, 2026 10 min read

[![Hermes Agent: how to run it securely in enterprise environments](https://lenshq.io/blog/how-to-run-hermes-agent-securely/cover.webp)](https://lenshq.io/blog/how-to-run-hermes-agent-securely/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to run Hermes Agent Securely in Enterprise Environments](https://lenshq.io/blog/how-to-run-hermes-agent-securely/)

Hermes Agent runs autonomously with your credentials. Harden it in six steps: identity, default-deny egress, credential isolation, containment, and audit.

Flavius Dinu August 13, 2026 9 min read

[![VMs, Containers, or MicroVMs? A comparison of isolation, speed, and resource usage across the three](https://lenshq.io/blog/vms-vs-containers-vs-microvms/cover.webp)](https://lenshq.io/blog/vms-vs-containers-vs-microvms/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [VMs vs Containers vs MicroVMs: Which to Choose for Your Workloads](https://lenshq.io/blog/vms-vs-containers-vs-microvms/)

VMs, containers, and MicroVMs each trade isolation for speed differently. Learn how each works, when to use them, and why MicroVMs are the new standard for untrusted code and AI agent workloads.

Flavius Dinu July 31, 2026 8 min read

[![MCP security threat model: tool poisoning, line jumping, and rug pulls](https://lenshq.io/blog/mcp-security-tool-poisoning-threat-model/cover.webp)](https://lenshq.io/blog/mcp-security-tool-poisoning-threat-model/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [MCP Security: Tool Poisoning, Line Jumping & Rug Pulls Explained](https://lenshq.io/blog/mcp-security-tool-poisoning-threat-model/)

Every MCP server you connect to sends information to your model's context, and the model treats descriptions as trusted developer instructions. Tool poisoning hides malicious orders in the metadata, so a simple function can exfiltrate credentials, while still returning the right answer.

Flavius Dinu July 24, 2026 11 min read

[![Run Lens Agents locally on your own machine](https://lenshq.io/blog/run-lens-agents-locally/cover.webp)](https://lenshq.io/blog/run-lens-agents-locally/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [You can now try Lens Agents on your own machine](https://lenshq.io/blog/run-lens-agents-locally/)

Until now, seeing Lens Agents meant talking to us. That is the right call for a platform built for production and enterprise governance — but it's a slow way to answer the most basic question a builder has: what does this actually do?

Mario Sarcher July 21, 2026 3 min read

[![AI agents as non-human identities](https://lenshq.io/blog/ai-agents-non-human-identities/cover.webp)](https://lenshq.io/blog/ai-agents-non-human-identities/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [AI Agents are Non-Human Identities. Treat Them Like One.](https://lenshq.io/blog/ai-agents-non-human-identities/)

Non-Human Identities now significantly outnumber human users, making AI agent governance a critical security priority. This article explains how to treat AI agents as enterprise identities with proper credential management and access controls.

Flavius Dinu June 18, 2026 9 min read

[![Compounding error reliability curves for multi-step AI agent workflows](https://lenshq.io/blog/ai-agent-compounding-errors-math/cover.webp)](https://lenshq.io/blog/ai-agent-compounding-errors-math/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [The Math Behind Why Your Multi-Step AI Agentic Workflow Fails in Production](https://lenshq.io/blog/ai-agent-compounding-errors-math/)

Agent reliability compounds: 95% per-step accuracy gives only ~60% success over 10 steps and 36% over 20 steps. This post explains why multi-step AI agents fail in production despite working in demos.

Flavius Dinu May 26, 2026 5 min read

[![Why AI Agents Fail in Production](https://lenshq.io/blog/why-ai-agents-fail-in-production/cover.webp)](https://lenshq.io/blog/why-ai-agents-fail-in-production/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Why AI Agents Fail in Production (and How to Fix It)](https://lenshq.io/blog/why-ai-agents-fail-in-production/)

Most AI agents fail in production because of multiple reasons: no governance implemented, poor context management, fragile tool connectors, and compounding errors across multi-step workflows.

Flavius Dinu May 12, 2026 10 min read

[![Platform engineering for Kubernetes teams](https://lenshq.io/blog/platform-engineering-kubernetes/cover.webp)](https://lenshq.io/blog/platform-engineering-kubernetes/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [What Is Platform Engineering? A Practical Guide for Kubernetes Teams](https://lenshq.io/blog/platform-engineering-kubernetes/)

Platform engineering transforms internal infrastructure into a product for developers. Internal Developer Platforms abstract Kubernetes complexity through self-service portals and automated governance, with Gartner projecting 80% of large enterprises will have dedicated platform teams by 2026.

Flavius Dinu April 16, 2026 7 min read

[![GitOps for Kubernetes with ArgoCD and Flux](https://lenshq.io/blog/gitops-argocd-flux/cover.webp)](https://lenshq.io/blog/gitops-argocd-flux/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Implementing GitOps for your Kubernetes Workflows using ArgoCD and Flux](https://lenshq.io/blog/gitops-argocd-flux/)

GitOps uses your version control system (VCS) as the single source of truth for your deployments. In Kubernetes, it uses an in-cluster agent that continuously reconciles the desired and actual state.

Flavius Dinu April 8, 2026 11 min read

[![18 Best DevOps MCP Servers](https://lenshq.io/blog/best-devops-mcp-servers/cover.webp)](https://lenshq.io/blog/best-devops-mcp-servers/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [18 Best DevOps MCP Servers for 2026 | The Definitive Guide](https://lenshq.io/blog/best-devops-mcp-servers/)

Model Context Protocol (MCP) is the open standard introduced by Anthropic at the end of 2024, which lets AI agents use different tools using natural language. This article covers 18 relevant MCP servers across DevOps categories.

Flavius Dinu April 1, 2026 8 min read

[![Managing Multi-Cloud Infrastructure with Crossplane](https://lenshq.io/blog/crossplane-kubernetes-tutorial/cover.webp)](https://lenshq.io/blog/crossplane-kubernetes-tutorial/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Managing Multi-Cloud Infrastructure with Crossplane](https://lenshq.io/blog/crossplane-kubernetes-tutorial/)

Managing multi-cloud infrastructure has traditionally been associated with Terraform, its open-source alternative OpenTofu, Pulumi, or a mix of vendor-specific infrastructure as code (IaC) tools such as AWS CloudFormation or Azure Bicep.

Flavius Dinu March 26, 2026 8 min read

[![Kubernetes RBAC: Roles, ClusterRoles, and Service Accounts](https://lenshq.io/blog/kubernetes-rbac-tutorial/cover.webp)](https://lenshq.io/blog/kubernetes-rbac-tutorial/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Kubernetes RBAC Tutorial: Roles, ClusterRoles, and Service Accounts](https://lenshq.io/blog/kubernetes-rbac-tutorial/)

RBAC in Kubernetes is the authorization layer that decides if an API request succeeds or fails. Without least-privilege implementation, a single compromised account can access an entire cluster.

Flavius Dinu March 13, 2026 8 min read

[![Managing Kubernetes from Claude Desktop using MCP servers](https://lenshq.io/blog/kubernetes-claude-mcp/cover.webp)](https://lenshq.io/blog/kubernetes-claude-mcp/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How To Manage Kubernetes from Claude Desktop Using MCP Servers](https://lenshq.io/blog/kubernetes-claude-mcp/)

The Model Context Protocol enables Claude Desktop to connect directly to Kubernetes clusters for natural language management of pods, deployments, and services without memorizing kubectl commands.

Flavius Dinu February 20, 2026 6 min read

[![How to connect to a Kubernetes pod shell with kubectl exec](https://lenshq.io/blog/kubernetes-pod-shell/cover.webp)](https://lenshq.io/blog/kubernetes-pod-shell/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Connect to a Kubernetes Pod Shell with kubectl exec](https://lenshq.io/blog/kubernetes-pod-shell/)

The kubectl exec command lets you run commands and open interactive shell sessions inside running containers in your Kubernetes pods. This article covers everything you need to know to connect to a Kubernetes pod shell and execute commands inside its running containers.

Flavius Dinu February 10, 2026 6 min read

[![Securing Kubernetes with Trivy](https://lenshq.io/blog/secure-kubernetes-with-trivy/cover.webp)](https://lenshq.io/blog/secure-kubernetes-with-trivy/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Use Trivy with Kubernetes: From CLI to CI/CD to Lens](https://lenshq.io/blog/secure-kubernetes-with-trivy/)

Every container image you deploy, configuration you apply, and dependency you include is a potential attack surface. This article explores Trivy, a popular open-source security scanner, with practical examples for the CLI, CI/CD pipelines, and Lens.

Flavius Dinu February 6, 2026 7 min read

[![12 Best Kubernetes Security Tools You Need in 2026](https://lenshq.io/blog/best-kubernetes-security-tools/cover.webp)](https://lenshq.io/blog/best-kubernetes-security-tools/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [12 Best Kubernetes Security Tools You Need in 2026](https://lenshq.io/blog/best-kubernetes-security-tools/)

One of the biggest challenges in cloud-native infrastructure is securing Kubernetes. Knowing which security tools to implement can be the difference between a hardened cluster and a vulnerable one.

Flavius Dinu January 30, 2026 6 min read

[![Enforcing Kubernetes Security and Compliance with Kyverno](https://lenshq.io/blog/kubernetes-security-kyverno-policy-enforcement-guide/cover.webp)](https://lenshq.io/blog/kubernetes-security-kyverno-policy-enforcement-guide/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Enforcing Kubernetes Security and Compliance with Kyverno: A Complete Guide](https://lenshq.io/blog/kubernetes-security-kyverno-policy-enforcement-guide/)

Kubernetes excels at container orchestration, but it doesn't natively enforce security best practices or organizational policies. Kyverno is a CNCF incubating project that enables your team to define, validate, and enforce policies across your Kubernetes projects.

Flavius Dinu January 22, 2026 8 min read

[![How to use Kubernetes Secrets](https://lenshq.io/blog/kubernetes-secrets/cover.webp)](https://lenshq.io/blog/kubernetes-secrets/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to use Kubernetes Secrets](https://lenshq.io/blog/kubernetes-secrets/)

Hard-coding sensitive data in your applications makes it very easy for attackers to gain access to your systems and compromise them.

Flavius Dinu January 9, 2026 9 min read

[![Accessing private Kubernetes clusters through a bastion host with Lens](https://lenshq.io/blog/lens-bastion-access/cover.webp)](https://lenshq.io/blog/lens-bastion-access/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Accessing Private Kubernetes Clusters Through a Bastion Host with Lens](https://lenshq.io/blog/lens-bastion-access/)

When you are working with Kubernetes in production, security best practices dictate that your cluster's API server should not be exposed to the public internet.

Flavius Dinu December 15, 2025 6 min read

[![Kubernetes ConfigMaps tutorial](https://lenshq.io/blog/kubernetes-configmaps-guide/cover.webp)](https://lenshq.io/blog/kubernetes-configmaps-guide/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Kubernetes ConfigMaps Tutorial: Best Practices & Examples](https://lenshq.io/blog/kubernetes-configmaps-guide/)

Managing multiple application configurations in Kubernetes can be inconvenient. This guide walks through everything needed to understand Kubernetes ConfigMaps, from basics to practical implementation strategies.

Flavius Dinu November 13, 2025 7 min read

[![Kubectl port-forward guide for Kubernetes developers](https://lenshq.io/blog/kubernetes-port-forward/cover.webp)](https://lenshq.io/blog/kubernetes-port-forward/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Use Kubectl Port-Forward: Complete Guide for Kubernetes Developers](https://lenshq.io/blog/kubernetes-port-forward/)

Port forwarding is a powerful Kubernetes feature that helps you debug applications, test connections, and access internal dashboards without modifying cluster network configuration.

Flavius Dinu November 7, 2025 7 min read

[![How to manage Kubernetes deployments](https://lenshq.io/blog/kubernetes-deployment-management/cover.webp)](https://lenshq.io/blog/kubernetes-deployment-management/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Manage Kubernetes Deployments: Complete Guide 2025](https://lenshq.io/blog/kubernetes-deployment-management/)

Managing Kubernetes deployments involves handling pods, replicas, and updates. This guide walks through essential deployment management tasks you'll encounter in practice.

Flavius Dinu November 3, 2025 6 min read

[![Prometheus and Grafana in Kubernetes with Alertmanager and Slack alerts](https://lenshq.io/blog/prometheus-grafana-kubernetes/cover.webp)](https://lenshq.io/blog/prometheus-grafana-kubernetes/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Set Up Prometheus and Grafana in Kubernetes with Alertmanager and Slack Alerts](https://lenshq.io/blog/prometheus-grafana-kubernetes/)

Monitoring your Kubernetes clusters is a mandatory step, but the process doesn't have to be intimidating. This tutorial walks through setting up Prometheus with Grafana dashboards on a Minikube cluster and sending Slack alerts via Alertmanager.

Flavius Dinu October 17, 2025 7 min read

[![Kubernetes deployment strategies guide](https://lenshq.io/blog/kubernetes-deployment-strategies/cover.webp)](https://lenshq.io/blog/kubernetes-deployment-strategies/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Mastering Kubernetes Deployment Strategies: Complete End-to-End Guide with Real Example](https://lenshq.io/blog/kubernetes-deployment-strategies/)

Kubernetes offers many deployment options for your applications, and what options you implement determine whether your strategy is smooth or risky. This guide walks through the most important strategies with a real, follow-along example.

Flavius Dinu October 10, 2025 12 min read

[![Best AI tools for Kubernetes in 2025](https://lenshq.io/blog/best-kubernetes-ai-tools/cover.webp)](https://lenshq.io/blog/best-kubernetes-ai-tools/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Best AI Tools for Kubernetes in 2025: Optimize, Troubleshoot & Scale with AI](https://lenshq.io/blog/best-kubernetes-ai-tools/)

Managing Kubernetes, especially in enterprise environments, has outpaced what most humans can manage manually. AI tools powered by ChatGPT, Claude, and AI agents can help reduce operational risk and make systems reliable.

Flavius Dinu October 2, 2025 8 min read

[![Top 15 Kubernetes Use Cases](https://lenshq.io/blog/kubernetes-use-cases/cover.webp)](https://lenshq.io/blog/kubernetes-use-cases/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Top 15 Kubernetes Use Cases](https://lenshq.io/blog/kubernetes-use-cases/)

Kubernetes has transformed how organizations deploy and scale applications. This guide explores the top 15 use cases where Kubernetes excels, from microservices management to AI workloads, and when simpler alternatives may be more appropriate.

Flavius Dinu September 26, 2025 15 min read

[![14 Best Kubernetes Tools in 2025](https://lenshq.io/blog/best-kubernetes-tools/cover.webp)](https://lenshq.io/blog/best-kubernetes-tools/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [14 Best Kubernetes Tools in 2025](https://lenshq.io/blog/best-kubernetes-tools/)

Kubernetes is flexible, scalable and powerful, but without the right tools, running it in production environments can quickly turn into chaos.

Flavius Dinu September 10, 2025 14 min read

[![Managing AWS EKS Clusters at Scale: Best Practices & Tools](https://lenshq.io/blog/aws-eks/cover.webp)](https://lenshq.io/blog/aws-eks/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Managing AWS EKS Clusters at Scale: Best Practices & Tools](https://lenshq.io/blog/aws-eks/)

Running Kubernetes (K8s) clusters in Amazon Web Services (AWS) is an easy process thanks to Elastic Kubernetes Services (EKS). Managing them at scale, however, is an entirely different process as complexity starts to increase.

Flavius Dinu September 4, 2025 8 min read

[![The most common Kubernetes errors and how to fix them](https://lenshq.io/blog/fix-common-kubernetes-errors/cover.webp)](https://lenshq.io/blog/fix-common-kubernetes-errors/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [The Most Common Kubernetes Errors (and How to Fix Them)](https://lenshq.io/blog/fix-common-kubernetes-errors/)

Managing Kubernetes at scale can quickly become cumbersome. Learn the most common Kubernetes errors and how to fix them fast with Lens and Lens Prism.

Flavius Dinu August 29, 2025 13 min read

[![Lens Kubernetes IDE Overview: How to simplify Kubernetes Management](https://lenshq.io/blog/lens-kubernetes/cover.webp)](https://lenshq.io/blog/lens-kubernetes/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Lens Kubernetes IDE Overview: How to simplify Kubernetes Management](https://lenshq.io/blog/lens-kubernetes/)

Managing Kubernetes clusters at scale can be an overwhelming process. Lens - The Kubernetes IDE removes the friction by offering a visual, real-time interface for troubleshooting, monitoring, and inspecting your clusters at scale.

Flavius Dinu August 22, 2025 14 min read

[![Simplify Kubernetes monitoring and management with Lens Desktop](https://lenshq.io/blog/simplify-kubernetes-monitoring-and-management-with-lens-desktop/cover.webp)](https://lenshq.io/blog/simplify-kubernetes-monitoring-and-management-with-lens-desktop/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Simplify Kubernetes Monitoring and Management with Lens Desktop: A Comprehensive Guide](https://lenshq.io/blog/simplify-kubernetes-monitoring-and-management-with-lens-desktop/)

Managing Kubernetes workloads efficiently is crucial for ensuring the stability and performance of your applications. Lens Desktop streamlines this process, providing real-time insights and control over your Kubernetes environments.

Daiani Macedo July 30, 2024 4 min read

[![Adding a Kubernetes cluster to Lens](https://lenshq.io/blog/how-to-add-a-cluster-to-lens-a-step-by-step-guide/cover.webp)](https://lenshq.io/blog/how-to-add-a-cluster-to-lens-a-step-by-step-guide/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [How to Add a Cluster to Lens: A Step-by-Step Guide](https://lenshq.io/blog/how-to-add-a-cluster-to-lens-a-step-by-step-guide/)

Adding your Kubernetes cluster to Lens is a straightforward process that enables you to manage and monitor your workloads with ease.

Daiani Macedo July 17, 2024 4 min read

[![Lens Kubernetes development environment](https://lenshq.io/blog/lens-kubernetes-is-all-you-need-in-the-development-env-to-build-ship-and-run/cover.webp)](https://lenshq.io/blog/lens-kubernetes-is-all-you-need-in-the-development-env-to-build-ship-and-run/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Lens Kubernetes is all you need in the development env to build, ship, and run](https://lenshq.io/blog/lens-kubernetes-is-all-you-need-in-the-development-env-to-build-ship-and-run/)

How containers and Kubernetes let developers build, ship, and run cloud-native applications, and how the Lens Desktop Kube feature in Lens 6 consolidates many developer tools into one to reduce complexity.

Elodie Meste October 18, 2022 1 min read

[![Lens Business ID](https://lenshq.io/blog/easily-manage-lens-subscriptions-for-teams-with-lens-business-id/cover.webp)](https://lenshq.io/blog/easily-manage-lens-subscriptions-for-teams-with-lens-business-id/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Easily Manage Lens Subscriptions for Teams with Lens Business ID](https://lenshq.io/blog/easily-manage-lens-subscriptions-for-teams-with-lens-business-id/)

Lens Business ID is designed to make purchasing and managing multiple Lens subscriptions as easy as possible for larger teams, businesses and organizations.

Elodie Meste October 17, 2022 1 min read

[![Eliminating Kubernetes Complexity for Developers Using Lens](https://lenshq.io/blog/eliminating-kubernetes-complexity-for-developers-using-lens/cover.webp)](https://lenshq.io/blog/eliminating-kubernetes-complexity-for-developers-using-lens/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [Eliminating Kubernetes Complexity for Developers Using Lens](https://lenshq.io/blog/eliminating-kubernetes-complexity-for-developers-using-lens/)

Containers and Kubernetes changed how we build, deploy, and run applications, yet getting started with Kubernetes development and daily cluster interactions remains extremely complex. This post walks through the typical developer workflow and how Lens Platform simplifies it.

Lee Namba September 27, 2022 1 min read

[![5 Things You Didn't Know You Could Do with Lens](https://lenshq.io/blog/5-things-you-didn-t-know-you-could-do-with-lens/cover.webp)](https://lenshq.io/blog/5-things-you-didn-t-know-you-could-do-with-lens/)

[Tutorials](https://lenshq.io/blog/category/tutorials/)

### [5 Things You Didn't Know You Could Do with Lens](https://lenshq.io/blog/5-things-you-didn-t-know-you-could-do-with-lens/)

Over 750,000 users and many thousands of organizations rely on Lens to interact with Kubernetes clusters. Even experienced users may not have discovered every feature Lens has to offer.

Lee Namba September 15, 2022 1 min read
