LetsShip
kubernetes-the-hard-way
LetsShip | kubernetes-the-hard-way | |
---|---|---|
5 | 126 | |
2 | 38,765 | |
- | - | |
0.0 | 1.8 | |
almost 3 years ago | 8 days ago | |
C# | ||
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LetsShip
-
.NET 6 is now in Ubuntu 22.04
I have two DigitalOcean sites on the same VPS just serving from kestrel behind an nginx reverse proxy and then one site on a Hetzner VPS where I was playing around with k3s.
For digitalocean I followed this post which is probably way out of date now https://www.hanselman.com/blog/publishing-an-aspnet-core-web...
For the k3s site the source is here https://github.com/EliotJones/LetsShip/blob/main/kubernetes/... though worth noting I have set up LetsEncrypt incorrectly but that's my lack of k3s understanding.
-
We need to have a talk about making life easier for newcomers to .NET
This - https://github.com/EliotJones/LetsShip - hopefully gets you some of the way, it uses VS on Windows for development but I can't imagine the experience in Rider or VS Code for Linux is too disimilar. Individual steps here https://github.com/EliotJones/LetsShip/tree/main/docs/posts
I need to complete the full guide at some point but the end result is an application deployed on Linux with both a web app and independently scalable crawling services with zero downtime deployments. Hosted site here: https://pricefalcon.me/
For a simpler deployment without k3s, this guide is the one I originally followed for my trends site and should still work for .NET 6. https://www.hanselman.com/blog/publishing-an-aspnet-core-web...
-
Synchronizing access to a pool of resources
One example here https://github.com/EliotJones/LetsShip/blob/main/src/PriceFalcon.JobRunner/Worker.cs#L111 where I have several agent applications each of which may start up to 5 jobs, a job can take a couple of minutes to execute and while running the same request twice isn't the end of the world I'd prefer to avoid it. I use FOR UPDATE when selecting to take an update lock on the row in postgres (similar functionality hopefully exists for your DB).
-
New Core MVC App with jQuery in 2021?
I just build out a new MVP site for the purposes of a tutorial with .NET 5 and jQuery with some slightly complex front-end requirements (an interactive iFrame that validates user selections server-side on click) and though it may need to move to an SPA if it got more complex for now jQuery is fine (though assuming IE support is not needed I could have probably just used raw JS instead). https://github.com/EliotJones/LetsShip
-
The Architecture of a One-Man SaaS
I've done a complete 180 on this too, I realised I was reacting from my default position of hostility to new concepts rather than an honest appraisal. I am writing it up at the moment but I've been working on a 1 person SAAS MVP tutorial [0] and though I've definitely misconfigured something having the ability to go from git push to deployed to production with 0 downtime inside of 5 minutes with no manual steps is such a nice flow, versus my previous attempts of SCP and faffing around with services.
[0]: https://github.com/EliotJones/LetsShip
kubernetes-the-hard-way
-
Continuous Learning in Kubernetes: My Voyage of Discovery
As I delved into the world of Kubernetes, I opted for what seemed like the scenic route—until reality hit. With determination and a sprinkle of naivety, I plunged into crafting a Kubernetes cluster from scratch. Little did I know, I was in for a wild ride of commands, configurations, and complexities. But fear not! With the guiding light of a course based on the notorious "Kubernetes The Hard Way" GitHub repository, albeit customized for AWS instead of Google Cloud, I embarked on my journey to build my digital fortress, one step at a time.
-
Upgrading Hundreds of Kubernetes Clusters
Another resource that I found pretty helpful was "Kubernetes the Hard Way" by Kelsey Hightower despite its complexity.
-
The Hater's Guide to Kubernetes
https://github.com/kelseyhightower/kubernetes-the-hard-way
-
Kubernetes the Harder Way, on a local Mac or Linux
I recently published Kubernetes the Harder Way, a guide loosely based on Kelsey Hightower's Kubernetes the Hard Way, but lenghtier, more explanatory, broader in scope, and - most importantly - harder, by targeting a local machine instead of Google Cloud Platform.
-
Ask HN: Is there a low cost way to learn real K8s, after exhausting minikube?
How about this? It will setup a kubernetes cluster on GCP with 3 worker nodes?
https://github.com/kelseyhightower/kubernetes-the-hard-way
Some costs here but click on the google cloud calc as it seems to have gone up since he wrote this:
- Has anyone ever tried to learn how k8s works?
- Anyone has experience with windows k8 ?
-
Ask HN: How to Learn Kubernetes
If you wanna go all in: https://github.com/kelseyhightower/kubernetes-the-hard-way
Oh, and both: "Kubernetes up and Running" and "Production Kubernetes" are great books.
-
Someone got some links of K8s hands-on lab for beginner to intermediate ?
Using Kubernetes The Hard Way is a great way to learn it deeply and quickly.
-
Fastest way to set up an k8s environment ?
If you wanna learn it deeply and quickly, Kelsey Hightower's Kubernetes the hard way is fantastic!
What are some alternatives?
prawn-stack - A pageview counter using the AWS free tier, Postgres, Node and React
kubeadm - Aggregator for issues filed against kubeadm
centos-stream
k3d - Little helper to run CNCF's k3s in Docker
app-engine-cloud-run-
kubespray - Deploy a Production Ready Kubernetes Cluster
diagrams - :art: Diagram as Code for prototyping cloud system architectures
testssl.sh - Testing TLS/SSL encryption anywhere on any port
node-pg-migrate - Node.js database migration management for PostgreSQL
awesome-home-kubernetes - ⚠️ Deprecated: Awesome projects involving running Kubernetes at home
litestream - Streaming replication for SQLite.
metallb - A network load-balancer implementation for Kubernetes using standard routing protocols