Skip to content

Instantly share code, notes, and snippets.

View lukapetrovic-git's full-sized avatar

Luka Petrovic lukapetrovic-git

  • DTI
  • Belgrade
  • 07:20 (UTC +02:00)
View GitHub Profile

RKE2 commands

  • Updated on May 29 to accommodate etcd container not having /bin/sh available anymore.

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@lukapetrovic-git
lukapetrovic-git / redis-backup-and-restore.md
Created December 18, 2024 07:56 — forked from oleksdovz/redis-backup-and-restore.md
Redis backup and restore in kubernetes

######################

Case

1 - old redis in k8s cluster #1

2 - fresh install of redis in Cluster #2

  • Target backup data in old cluster and restore in new cluster
@lukapetrovic-git
lukapetrovic-git / openssl_commands.md
Created July 23, 2024 15:29 — forked from Hakky54/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl

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.