Skip to content

Instantly share code, notes, and snippets.

View kaugm's full-sized avatar
💭
Learning GCP & Kubernetes

Karl Martin kaugm

💭
Learning GCP & Kubernetes
View GitHub Profile
@kaugm
kaugm / README.md
Created September 20, 2023 18:52 — forked from stevenfeltner/README.md
Spot.io Log Query Service

spot-log query service

Install this next to your spot-controller to print logs from the Spot.io Ocean. This service simply spits out logs to stdout in JSON format. Then your log aggregation service can use the container logs and publish them to your own logging platform.

Install

kubectl apply -f spot-logs.yaml --namespace kube-system
@kaugm
kaugm / cognito.yaml
Last active July 13, 2023 01:19 — forked from singledigit/cognito.yaml
Create a Cognito Authentication Backend via CloudFormation
AWSTemplateFormatVersion: '2010-09-09'
Description: Cognito Stack
Parameters:
AuthName:
Type: String
Description: Unique Auth Name for Cognito Resources
Resources:
# Creates a user pool in cognito for your app to auth against
# This example requires MFA and validates the phone number to use as MFA