Skip to content

Instantly share code, notes, and snippets.

View 07prajwal2000's full-sized avatar
🥅
Towards goal

Prajwal Aradhya S K 07prajwal2000

🥅
Towards goal
View GitHub Profile
@07prajwal2000
07prajwal2000 / Simple HTTP Server With Upload
Created July 26, 2024 11:50
Simple HTTP Server With Upload capabilities to upload files/scripts to EC2 or servers that don't have access to SSH but having public IP Address.
# Credits: https://gist.github.com/touilleMan/eb02ea40b93e52604938
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""
__version__ = "0.1"
__all__ = ["SimpleHTTPRequestHandler"]
@07prajwal2000
07prajwal2000 / Steps to install self-hosted k0s kubernetes.md
Last active September 7, 2024 12:51
Install Self-Hosted Kubernetes in minutes with external load balancer using K0s, MetalLB

Steps to install self-hosted k0s kubernetes

  • This uses K0s as the k8s distribution.
  • MetalLB as the external LoadBalancer.
  • All yaml manifests included from CRD's to Deployment (Nginx as the app).

Install K0S

curl -sSLf https://get.k0s.sh | sudo sh