Skip to content

Instantly share code, notes, and snippets.

@alexellis
Last active July 16, 2020 09:04
Show Gist options
  • Save alexellis/56603068b511026137b1f8a45c32d679 to your computer and use it in GitHub Desktop.
Save alexellis/56603068b511026137b1f8a45c32d679 to your computer and use it in GitHub Desktop.
Insiders Update: 29th Feb 2020 - arkade, build your own private cloud and store.openfaas.com launched!

Welcome to this week's Insiders Update! Insiders gain exclusive access to early previews, tutorials, updates, news, and events on my OSS work.

✅ Subscribe today and pay whatever you want 👉 through GitHub Sponsors

Insiders Update: 29th Feb 2020 - arkade, build your own private cloud and store.openfaas.com launched!

Store launch

OpenFaaS Ltd has launched an OpenFaaS and Inlets SWAG store, where you can buy hoodies, t-shirts, mugs, backpacks and licenses for inlets PRO.

There's a discount exclusive to insiders, so do not share it! Get 20% off now with we-are-insiders - live for this weekend.

Featured blogs and tutorials

  • Create your own private cloud with OpenFaaS Cloud

    Create your own private cloud with OpenFaaS Cloud for your team to deploy functions and microservices with automatic CI/CD and GitHub integration. Try this on your AWS, DigitalOcean, AKS, GKE or local cluster. Raspberry Pi is not supported, sorry folks, we have to draw the line somewhere.

  • Save Money by Connecting Your Local Database to the Public Cloud

    A prospective Inlets PRO client approached me this week. He complained that cloud-GPUs are too expensive to use when not utilized at 100%. I would tend to agree with him. He wanted to use Inlets PRO to gain access to a set of GPUs in servers racked in his company HQ. Burton shows us how you can do the same thing to save costs on managed SQL. The numbers clearly add up.

  • Bypass the corporate proxy

    Follow this guide at your own risk, and if you attempt to circumvent your company’s policy, then you may be in breach of your contract, or worse get dismissed. If the risks are so high, then why am I showing you this approach?

  • A birthday gift: 2GB Raspberry Pi 4 now only $35

    This week the Raspberry Pi 4 with 2GB RAM was reduced to only 35USD, I've bought 4 of them and I'll be building out some new content around it soon.

OSS updates and releases

Here's an update on my OSS work, but as you know, it's a team effort with many different contributors.

arkade - Kubernetes apps, the easy way 😎

If you've not heard about it yet, arkade is my newest OSS project launched this week with > 250 stars already.

arkade (ark for short) provides a clean CLI with strongly-typed flags to install charts and apps to your cluster in one command. Gone are the days of contending with dozens of README files just to get the right version of helm and to install a chart with sane defaults.

If it sounds familiar, that's because the codebase was forked from the k3sup project and k3sup app install. It's a long story, but it turns out that naming is hard and that Kubernetes folks won't try something if it has "k3s" in the name. There was a simple solution to this :-)

arkade

A huge thank you to Utsav for designing this retro logo, you can even buy a t-shirt - in fact, I'll send stickers to the first 5 people to do so :-)

Using DigitalOcean Kubernetes, and need the metrics-server?

arkade install metrics-server

# Wait a moment

kubectl top node

kubectl top pod

Want a TLS registry with auth, on any computer, even an RPi?

arkade install nginx-ingress
arkade install cert-manager
arkade install docker-registry
arkade install docker-registry-ingress \
  --email web@example.com \
  --domain reg.example.com

Try the project today with a local or cloud cluster at: https://get-arkade.dev

k3sup gets a clarity of purpose

Now that the apps installation code is removed from k3sup, you'll need to go ahead and convert to using arkade. The installation is just as simple, and fast.

We now have two tools which have distinct names and only do one thing.

k3sup can create a k3s cluster either:

  • locally on the host, or via userdata via k3sup install --local
  • to a remote Intel or ARM host over SSH with k3sup install --ip $IP --user $NAME
  • or to join a new node into an existing cluster k3sup join --ip $IP --user $USER --server-ip $SERVER_IP

Both k3sup and arkade receive updates often and can be updated via k3sup/arkade update.

I've also gone ahead and raised around a dozen issues with each public project I could find using k3sup app install.

Find out more - k3sup.dev

faasd

faasd is ideal for when you need a few functions or webservices but don't want to manage infrastructure, we also provide terraform examples. And it does run on a Raspberry Pi for those who are into that sort of thing (like me).

faasd and inlets

faasd and inlets from Iheb, the designer of the inlets logo

Since we last spoke, faasd has gained authentication and can use private registries. I burned the midnight oil last Sunday and managed to get faasd writing logs to the journal, so that you can get function logs via journalctl -t openfaas-fn:function-name

OpenFaaS Cloud

Create your own private cloud with OpenFaaS Cloud for your team to deploy functions and microservices with automatic CI/CD and GitHub integration.

  • In 0.13.2 OpenFaaS Cloud gained support for a private customers list using a Kubernetes secret

  • We also updated the GitHub integration so that you do not get a red X if you commit into your non-build branch like dev or staging.

  • ofc-bootstrap gained features and fixes to simplify the creation of your GitHub app, registry credentials and to allow you to use multiple YAML files as overrides, instead of editing one longer one.

Try it all in this new tutorial to get your own private cloud

Wrapping up

It's not been a good week for Github Sponsors, with quite a few folks churning.

Churn

See the tweet

If you have ideas on how to give more value in these emails, in my blog posts and OSS work, then I'd be interested in hearing from you.

In the meantime, I'm continuing to dedicate my time to serving the cloud native & OSS community and to building a business that can allow me to continue to maintain and contribute to OpenFaaS, k3sup, arkade, Derek, my cloud native tutorials and much more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment