Skip to content

Instantly share code, notes, and snippets.

View alexellis's full-sized avatar
📖
Check out my eBook on Go

Alex Ellis alexellis

📖
Check out my eBook on Go
View GitHub Profile
@alexellis
alexellis / docker-compose.yml
Created July 21, 2020 16:26
Hack on JavaScript for OpenFaaS using Docker Compose
# Assume that you ran "faas-cli new --lang node12 api2" before starting with this file.
version: '3.3'
services:
api2:
build:
context: ./template/node12
ports:
- 8000:3000
@alexellis
alexellis / sponsors.go
Last active November 15, 2022 21:32
sponsors.go - query whether a GitHub user is your sponsor at a given tier (dollar amount)
// LICENSE for this file: MIT
// Copyright: Alex Ellis, OpenFaaS Ltd 2020
// Do not remove this notice
package handlers
import (
"context"
"encoding/json"
"os"
@alexellis
alexellis / insiders-2020-06-21.md
Last active July 15, 2020 08:31
Insiders Update: 21st June 2020 - Exploring Kubernetes 1.18, major updates for arkade and openfaas

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

🐳 Become an Insider or Subscribe today 👉 through GitHub

Insiders Update: 21st June 2020 - Exploring Kubernetes 1.18, major updates for arkade and openfaas

Webinar - exploring K8s 1.18

This week I gave two webinars for clients including one on bare-metal and Packet's Tinkerbell project and Exploring Kubernetes 1.18 - a technical deep-drive hosted by Sysdig.

@alexellis
alexellis / kubernetes-ingress-example.yaml
Created June 21, 2020 12:50
kubernetes-ingress-example.yaml
# From my webinar for Sysdig - Exploring Kubernetes 1.18
# Create A KinD or k3s cluster with no IngressController
# Run `arkade install ingress-nginx` to add IngressNginx to the cluster as your IngressController
# Save and apply all the Kubernetes YAML files below
# Forward the IngressController
# kubectl port-forward ingress-nginx-controller 8080:80
@alexellis
alexellis / 2020-06-12-insiders.md
Last active July 15, 2020 08:31
Insiders Update: 12th June 2020 - Featured: bare metal and open source project updates

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

🐳 Become an Insider or Subscribe today 👉 through GitHub

Insiders Update: 12th June 2020 - Featured: bare metal and open source project updates

I hope that you are keeping well? If you need to talk and socialise, feel free to join us on OpenFaaS Slack. I gave myself some time off this #FaaSFriday for a walk with my wife in the countryside.

@alexellis
alexellis / insiders-2020-05-30.md
Last active July 16, 2020 09:27
Insiders Update: 30th May 2020 - 8GB RPi and 64-bit RaspiOS and summer project updates

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: 30th May 2020 - 8GB RPi and 64-bit RaspiOS and summer project updates

After a cancelled launch, we saw the SpaceX mission go ahead today with a successful launch American astronauts into space, with American rockets, from American soil. I wonder if astronauts will still need to learn Russian going forward?

@alexellis
alexellis / insiders-2020-05-09.md
Last active July 16, 2020 10:21
Insiders Update: 9th May 2020 - Upping your game, The Cathedral and The Bazaar and VE75 discount weekend

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: 9th May 2020 - Upping your game, The Cathedral and The Bazaar and VE75 discount weekend

Thank you

Nat Friedman, CEO GitHub launching new updates and enhancements on GitHub Sponsors!

@alexellis
alexellis / insiders-2020-05-01.md
Last active March 16, 2023 15:33
Insiders Update: 1st May 2020 - Netbooting the Raspberry Pi for Kubernetes and OpenFaaS enhancements

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: 1st May 2020 - Netbooting the Raspberry Pi for Kubernetes and OpenFaaS enhancements

RPi netbooting

Pictured: netbooted Raspberry Pi cluster with Kubernetes (k3s)

@alexellis
alexellis / values.yaml
Created April 29, 2020 11:19
inlets PRO exit server chart values.yaml
inletsPro:
replicas: 1
image: inlets/inlets-pro:0.6.1
remoteTCP: 127.0.0.1
tokenSecretName: inlets-pro-token
# TLS is issued via LetsEncrypt
autoTLS: false
exposePorts:
- name: openfaas
port: 8080
@alexellis
alexellis / flux.yaml
Last active April 29, 2020 15:24
functions.yaml
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: functions
namespace: openfaas-fn
annotations:
fluxcd.io/ignore: "false"
fluxcd.io/automated: "false"
filter.fluxcd.io/certinfo: semver:~1.0
filter.fluxcd.io/podinfo: semver:~3.1