Skip to content

Instantly share code, notes, and snippets.

View jaclu010's full-sized avatar

Jacob Lundberg jaclu010

View GitHub Profile
@jaclu010
jaclu010 / nginx-homeassistant-proxy.conf
Created February 14, 2021 15:20
Proxy to expose HA-setup
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
server_name your.server.com;
# These shouldn't need to be changed
listen [::]:80 default_server ipv6only=off;
@jaclu010
jaclu010 / resources-example.yaml
Created September 28, 2020 13:14
An example of how to use the resources tag in a kubernetes workload
apiVersion: v1
kind: Pod
metadata:
name: frontend
spec:
...
containers:
- name: app
...
resources: <------