Skip to content

Instantly share code, notes, and snippets.

so0k so0k

Block or report user

Report or block so0k

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View amazon-eks-nodegroup-with-mixed-instances-custom.yml
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Amazon EKS Node Group'
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
-
Label:
default: "EKS Configuration"
Parameters:
@so0k
so0k / billing-budgets-cloudwatch.tf
Last active Nov 25, 2019
Swatmobile - AWS Bootstrap gists
View billing-budgets-cloudwatch.tf
resource "aws_budgets_budget" "cloudwatch" {
provider = "aws.billing"
name = "budget-cloudwatch-monthly"
budget_type = "COST"
limit_amount = "1000"
limit_unit = "USD"
time_period_end = "2087-06-15_00:00"
time_period_start = "2017-07-01_00:00"
time_unit = "MONTHLY"
@so0k
so0k / spec_helpers.rb
Created May 5, 2019
Ssl rspec SNI test
View spec_helpers.rb
require 'openssl'
require 'socket'
def ssl_peek(host)
ip = ENV['TIP_HOST'] || '0.0.0.0'
port = ENV['TIP_PORT'] || '8121'
tcp_client = TCPSocket.new(ip, port)
ssl_client = OpenSSL::SSL::SSLSocket.new(tcp_client)
ssl_client.hostname = host
ssl_client.connect
View bumpme
Tue Feb 26 08:41:19 UTC 2019
View contour-base-id.ingress.addon.yaml
apiVersion: v1
kind: Namespace
metadata:
name: heptio-contour
---
apiVersion: v1
kind: Service
metadata:
name: envoy-external
namespace: heptio-contour
@so0k
so0k / contour.no-host.ingress.addon.yaml
Created Jan 22, 2019
Dual contour ingress without host network
View contour.no-host.ingress.addon.yaml
apiVersion: v1
kind: Namespace
metadata:
name: heptio-contour
---
apiVersion: v1
kind: Service
metadata:
name: envoy-external
namespace: heptio-contour
@so0k
so0k / contour.ingress.addon.yaml
Last active Jan 22, 2019
Dual Contour Ingress configuration
View contour.ingress.addon.yaml
apiVersion: v1
kind: Namespace
metadata:
name: heptio-contour
---
apiVersion: v1
kind: Service
metadata:
name: envoy-external
namespace: heptio-contour
@so0k
so0k / README.md
Last active Mar 1, 2019 — forked from jpsilvashy/README.md
Post Google Sheets form entries to Slack
View README.md

Post Google Sheets form entries to Slack

By using Google Form's script editor, you can call Slack webhooks when form submissions are made. You can use this script to do things like creating a live feedback form for taking questions from an audience or notifying your team when someone signs up for an event.

Setup

First, be sure you're collecting the email address in the form:

'img'

@so0k
so0k / datadog-support.md
Last active Jul 17, 2018
datadog setup
View datadog-support.md

my Helmfile definition is

context: taurus-stage.kube.swatmobile.io

releases:
- name: datadog
  namespace: kube-system
  chart: stable/datadog
  version: 0.11.2
@so0k
so0k / alpine-curl.md
Created Mar 1, 2018
Alpine curl issues
View alpine-curl.md

To fix /usr/bin/curl: curl_mime_type: symbol not found Errors when trying to run curl in a running alpine pod.

Right solution: Update base alpine image because this is a bigger issue

Quick fix: run Alpine system upgrade (or upgrade libcurl package specifically):

apk update
apk upgrade
You can’t perform that action at this time.