Skip to content

Instantly share code, notes, and snippets.

View HariSekhon's full-sized avatar
🏠
100% Remote - Digital Nomad

Hari Sekhon HariSekhon

🏠
100% Remote - Digital Nomad
View GitHub Profile
@HariSekhon
HariSekhon / windows.md
Created May 18, 2024 09:40
windows.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Windows

File Permissions

Set owner of file adminstrator:

icacls "D:\test\test.txt" /setowner "administrator"
@HariSekhon
HariSekhon / web.md
Created May 18, 2024 09:40
web.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Web

PaaS - Platform as a Service

See PaaS doc.

SSG - Static Site Generators

Generate static HTML pages from code or markdown. Jekyll is an obvious example, used with GitHub Pages.

@HariSekhon
HariSekhon / paas.md
Created May 18, 2024 09:40
paas.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

PaaS - Platform as a Service

Deploy your code into an automated infrastructure handling the usual HTTP(S), scaling etc.

Vendors

@HariSekhon
HariSekhon / minio.md
Created May 15, 2024 20:29
minio.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

MinIO

S3 open source server software.

Useful for testing S3 access too:

Command Line

kubectl exec -ti -n my-namespace minio-cli --container minio-cli -- /bin/bash
@HariSekhon
HariSekhon / rke2.md
Last active May 7, 2024 22:47
rke2.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

RKE - Rancher Kubernetes Engine

This is a locally installable Kubernetes distribution bundling k3s and other components.

https://docs.rke2.io/

RKE2 Versions vs Kubernetes Versions

RKE2 versions match Kubernetes versions.

@HariSekhon
HariSekhon / rancher.md
Last active May 15, 2024 20:30
rancher.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Rancher

Rancher is a dashboard UI for managing Kubernetes clusters.

You can manage both on-premise clusters, eg. installed with RKE2 kubernetes distribution, or cloud clusters like AWS EKS (I've done both).

Install Rancher

Ready to install Kustomize + Helm:

@HariSekhon
HariSekhon / portworx.md
Last active May 7, 2024 22:47
portworx.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Portworx - Kubernetes Storage

  • Portworx Enterprise - clustered software defined storage (SDS) for Kubernetes persistent volumes
    • Freemium 5 node version
  • Portworx Data Services - SaaS control plane to administer multiple Kubernetes clusters using Portworx Enterprise
    • Control Plane - UI, API, and a catalog of data services
    • 2 x K8s extensions:
      • deployment operator

Portworx Enterprise Install

@HariSekhon
HariSekhon / zookeeper.md
Created March 22, 2024 01:20
zookeeper.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

ZooKeeper

Coordination and distributed locking service.

Small metadata, watches and locks.

Used by major technologies, especially Big Data technologies like HBase, Hive High Availability, and SolrCloud.

Basics

@HariSekhon
HariSekhon / virtualization.md
Created March 22, 2024 01:20
virtualization.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Virtualization

  • VirtualBox - free desktop virtualization software, only really for x86 / x86_64 based systems, current beta doesn't work on Mac Arm Silicon processors
  • UTM - easy frontend to use qemu virtualization on Mac Apple M Silicon processors
  • Vagrant - automates VirtualBox VMs for easy reproduction of local labs with scripted provisioners or calling Puppet or similar (I used this a lot at Cloudera)
@HariSekhon
HariSekhon / virtualbox.md
Created March 22, 2024 01:20
virtualbox.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

VirtualBox

https://www.virtualbox.org/

Open source VM desktop software.

Brilliant for its day on x86_64 machines.

Doesn't support new Apple Silicon ARM architecture chips properly yet, very buggy.