Skip to content

Instantly share code, notes, and snippets.

View bttnns's full-sized avatar

Brian Tannous bttnns

View GitHub Profile
@bttnns
bttnns / che-serverless.com-knative.md
Last active November 4, 2020 18:00
Bring your Functions at ease to the power of Kubernetes

Eclipse Che > Serverless.com > Knative > Minikube with OLM

Install minikube

minikube start --cpus=10 --memory='15g'

Install Operator Lifecycle Manager

curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.17.0/install.sh | bash -s v0.17.0
  • Intro
    • Brian Tannous, @briantannous
    • Dev Advocate, Red Hat OpenShift
  • What is Serverless
@bttnns
bttnns / remote_crc.md
Created February 12, 2020 20:00 — forked from tmckayus/remote_crc.md
Running 'crc' on a remote server

Overview: running crc on a remote server

This document shows how to deploy an OpenShift instance on a server using CodeReady Containers (crc) that can be accessed remotely from one or more client machines (sometimes called a "headless" instance). This provides a low-cost test and development platform that can be shared by developers. Deploying this way also allows a user to create an instance that uses more cpu and memory resources than may be available on his or her laptop.

While there are benefits to this type of deployment, please note that the primary use case for crc is to deploy a local OpenShift instance on a workstation or laptop and access it directly from the same machine. The headless setup is configured completely outside of crc itself, and supporting a headless setup is beyond the mission of the crc development team. Please do not ask for changes to crc to support this type of deployment, it will only cost the team time as they politely decline :)

The instructions here were tested with F

@bttnns
bttnns / prosody.md
Created October 4, 2019 20:03 — forked from acsulli/prosody.md

Prosody

Prosody is an XMPP server. My instance is currently hosted on a DigitalOcean VM, running in the smallest droplet avaialble, which is still far more resources than a server with just a few users needs.

At the end of these steps we will have a Prosody server which is isolated (no server-to-server comms), requires an administrator to create new user accounts, is using valid SSL certs issued by Let's Encrypt, and capable of handling file transfers up to 10MiB in size via the https upload service. This was written with CentOS 7.6.

Install

Before beginning, make sure you have DNS entries for the following:

@bttnns
bttnns / notes.md
Created July 12, 2019 20:02 — forked from djzager/notes.md
Ansible Operator and Ansible Playbook Bundles
@bttnns
bttnns / EKS-WEBUI-README.md
Last active November 8, 2018 17:37
EKS Web UI Dashboard Example

Deploy the Web UI

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

Check it's up and running

kubectl describe svc/kubernetes-dashboard -n kube-system

Create a service account and grab a token to authenticate

kubectl create serviceaccount kadmin -n kube-system
kubectl create clusterrolebinding kadmin --clusterrole=cluster-admin --serviceaccount=kube-system:kadmin
@bttnns
bttnns / EKS-LB-README.md
Last active October 25, 2018 17:27
EKS LB Example

Create deployment

  • Save the yaml below as eks-lb-0-deployment.yaml.
  • Use kubectl to create the deployment: kubectl create -f eks-lb-0-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: nginx
 name: nginx