Sync V3 Infrastructure Abstraction
At its core, the system is event driven.
ex: "a record changed", "an Entity changed", or [future event type]
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AWS IoT Pub/Sub Demo</title> | |
</head> | |
<body> | |
<h1>AWS IoT Pub/Sub Demo</h1> | |
<form> | |
<button type="button" id="connect">connect!</button> |
BASEDIR = $(shell pwd) | |
RULELIST = $(shell gcloud compute forwarding-rules list --format='value[terminator=" "](name)') | |
include Makefile.properties | |
all: cluster app | |
app: db api frontend | |
# Requests a GKE cluster | |
cluster: |
function detectVPN() { | |
var browserTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone | |
return fetch(`https://ipapi.co/json`) | |
.then(function(response) { return response.json() }) | |
.then(function (data) { | |
var ipTimezone = data.timezone | |
console.log(`browser timezone: ${browserTimezone}`, `ip timezone: ${ipTimezone}`) | |
return { | |
browser: browserTimezone, |
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: null
labels:
kops.k8s.io/cluster: prod.my.cluster
name: spot-nodes
spec:
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210415