Skip to content

Instantly share code, notes, and snippets.

View seomago's full-sized avatar
:octocat:
Playing with AWS cloud

seomago seomago

:octocat:
Playing with AWS cloud
View GitHub Profile

Introduction

Imagine if you could create, for people in your company, a platform that would provide them with the same experience they have when working with AWS, Google Cloud, Azure, or any other public Cloud provider. Imagine if there would be a service for everything they do.

Do you need a database that works exactly as we expect it to work in this company with all the security, backup, compliance, and other policies we have?

Well...

There is a service for that.

# Source: https://gist.github.com/vfarcic/c6f369426c5149e3d05132d5e1cda62c
##################################################################
# Single Pane of Glass for Kubernetes Clusters with Clusterpedia #
##################################################################
# Additional Info:
# - Clusterpedia: https://clusterpedia.io
#########
@samuelj90
samuelj90 / RancherDesktopSetup.md
Last active August 2, 2025 19:07
Setup Rancher Desktop without admin rights

Setup Rancher Desktop without admin rights

Setup

  1. Install WSL from Microsoft Store

  2. Update to WSL2

wsl --install

@sidpalas
sidpalas / maintenance-page.yaml
Last active November 13, 2024 23:08
Kubernetes temporary maintenance page
apiVersion: v1
kind: ConfigMap
metadata:
name: maintenance-page
data:
maintenance.html: |-
<!--HTML GOES HERE-->
<!doctype html>
<title>Site Maintenance</title>
<link rel="stylesheet" href="maintenance.css">
@seomago
seomago / bucket1.yaml
Created October 25, 2022 08:01
bucket1.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Template test-MyBucket1 and 2 by manuel.cruanes 2022-09-29
Resources:
MyBucket2:
Type: AWS::S3::Bucket
Properties:
BucketName: photobox-dev-test-my-bucket2
Tags:
-
Key: "Owner"
@aifrak
aifrak / setup-wsl2-ubuntu-rancher-desktop.md
Last active August 2, 2025 19:08
Setup scoop + WSL2 + Ubuntu + Rancher Desktop + VSCode

Setup scoop + WSL2 + Ubuntu + Rancher Desktop + VSCode

Setup

  1. In Powershell, install scoop:
    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
    irm get.scoop.sh | iex
  2. In Powershell, install WSL2:
# Source: https://gist.github.com/4e2fd2696ef7d5ce6a915a2eb2408e17
###################################################################
# How To Manage Production-Grade Kubernetes Clusters With Rancher #
# https://youtu.be/JFALdhtBxR8 #
###################################################################
# Additional Info:
# - Rancher: https://rancher.com/products/rancher
# - Rancher Fleet: GitOps Across A Large Number Of Kubernetes Clusters: https://youtu.be/rIH_2CUXmwM
# Referenced videos:
# - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo
#########
# Setup #
#########
# A kubectl plugin providing diagnostic tools for Kubernetes applications
git clone https://github.com/vfarcic/troubleshoot-demo.git
@dmccuk
dmccuk / Ansible_Assert.txt
Last active December 2, 2024 19:28
Prove ansible did what is said it did!
-- Ansible testing using Assert
When we run Ansible to manage server configurations, we assume (if there is no red errors) that it worked. But if you are developing ansible modules for your systems, and want to take the DevOps approach and work on CICD pipelines, you need to have some tests in there to prove that what you asked ansible to do has actually worked.
One of the best ways to do this within ansible, is to use the Assert module. It asserts that a given expression is true. When you combine this with the output of a command that’s registered to a variable, there is almost no limit to what you can test.
I’m going to use the TDD (Test driven development) method where we create the tests before we start writing any ansible code to manage our systems. I expect the tests to fail. Then we’ll write ansible to pass the tests. That’s it.
This demo will cover the following:
• Create some tests using the command and assert modules.