Skip to content

Instantly share code, notes, and snippets.

View lukapetrovic-git's full-sized avatar

Luka Petrovic lukapetrovic-git

  • DTI
  • Belgrade
  • 01:18 (UTC +02:00)
View GitHub Profile

The following are steps to set up Azure AD as an Identity Provider for an on-prem Kubernetes cluster.

Starting point:

  • Azure Subscription
  • On-prem Kubernetes cluster (in my case RKE2 v1.27.12+rke2r1)

The scenario is pretty straightforward:

I want to connect from my Workstation (Windows/Linux/Mac) to an on-prem Kubernetes cluster and authenticate to is using Azure AD.