Member-only story
Ansible troubleshooting — Kubernetes K8s or OpenShift OCP 401 Unauthorized
How to troubleshoot and solve the 401 Unauthorized fatal error message when trying to create an “example” Namespace with the Ansible k8s module.
Today we’re going to talk about Ansible troubleshooting, specifically about the “Kubernetes 401 Unauthorized” message.
This fatal error message happens when we are trying to execute some code against your Kubernetes K8s or OpenShift OCP cluster without any authentication tokens.
These circumstances are usually related to Kubernetes K8s or OpenShift OCP authentication and usually are not related to Ansible Playbook or Ansible configuration.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
demo
How to reproduce, troubleshoot, and fix the error:
“Kubernetes 401 Unauthorized”.
The best way of talking about Ansible troubleshooting is to jump in a live demo to show you practically the “Kubernetes 401 Unauthorized” and how to solve it!