Skip to content

Instantly share code, notes, and snippets.

View rosskukulinski's full-sized avatar

Ross Kukulinski rosskukulinski

View GitHub Profile
time="2018-08-20T17:21:16Z" level=info msg="Starting backup" backup=heptio-ark/test-2 logSource="pkg/backup/backup.go:230"
time="2018-08-20T17:21:16Z" level=info msg="Including namespaces: *" backup=heptio-ark/test-2 logSource="pkg/backup/backup.go:233"
time="2018-08-20T17:21:16Z" level=info msg="Excluding namespaces: <none>" backup=heptio-ark/test-2 logSource="pkg/backup/backup.go:234"
time="2018-08-20T17:21:16Z" level=info msg="Including resources: *" backup=heptio-ark/test-2 logSource="pkg/backup/backup.go:237"
time="2018-08-20T17:21:16Z" level=info msg="Excluding resources: <none>" backup=heptio-ark/test-2 logSource="pkg/backup/backup.go:238"
time="2018-08-20T17:21:16Z" level=info msg="Backing up group" backup=heptio-ark/test-2 group=v1 logSource="pkg/backup/group_backupper.go:142"
time="2018-08-20T17:21:16Z" level=info msg="Evaluating resource" backup=heptio-ark/test-2 group=v1 groupResource=pods logSource="pkg/backup/resource_backupper.go:138"
time="2018-08-20T17:21:16Z" level=info msg="Listing items" b
Short name Full name
csr       certificatesigningrequests
cs componentstatuses
cm configmaps
ds daemonsets
deploy deployments
ep endpoints
ev events
hpa       horizontalpodautoscalers
withdraw:1 Pattern attribute value [^\d]*(\d{0,3}){1}(\,\d{3})*(\.\d{2})+[^\d]* is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[^\d]*(\d{0,3}){1}(\,\d{3})*(\.\d{2})+[^\d]*/: Invalid escape
@rosskukulinski
rosskukulinski / keybase.md
Created October 19, 2016 18:16
keybase.md

Keybase proof

I hereby claim:

  • I am rosskukulinski on github.
  • I am rosskukulinski (https://keybase.io/rosskukulinski) on keybase.
  • I have a public key whose fingerprint is AA52 0FC2 9B9E 7C5B 6402 1311 A653 0F47 E188 4C87

To claim this, I am signing this object:

@rosskukulinski
rosskukulinski / rax_delegate.py
Created September 4, 2016 19:18
Rackspace delegate subdomain DNS
#!/usr/bin/env python
import pyrax
pyrax.set_setting("identity_type", "rackspace")
pyrax.set_default_region('DFW')
pyrax.set_credentials('XXX', 'YYY')
domain = pyrax.cloud_dns.find(name="yourdomain.com")
print domain
#!/bin/bash
mkdir ./cluster-dump
kubectl get --export -o=json ns | \
jq '.items[] |
select(.metadata.name!="kube-system") |
select(.metadata.name!="default") |
del(.status,
.metadata.uid,
+ docker build -t hub.getyodlr.com/rethinkdb-source .
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB

Here are 3 resources about running Elasticsearch on AWS. I recommend going through them in order:

  1. Webinar (by Elastic employees) about running Elasticsearch on AWS: https://vimeo.com/elasticsearch/review/110218622/a1c28e84cc. Its a bit long (~1 hour) but I'd start here.

  2. These two blog posts cover setting up the AWS environment, then installing and configuring Elasticsearch on it:

  1. And this is a deeper technical dive into various configuration settings - primarily to do with HA and security - that might be useful when setting up Elasticsearch on AWS: http://www.slideshare.net/bobeirasa/es-on-aws-rafael-lopes-2nd-meetup-elasticsearch-brasil
{{ if ls "/services/audiorouter" }}
upstream ar {
{{ range getvs "/services/audiorouter/*" }}
server {{ . }};{{ end }}
}
{{ end }}
var request = require('request');
var http = require('http');
var server = http.createServer(function(req, res) {
var query = request('https://getyodlr.com/api/config');
query.pipe(res);
});
server.listen(3000);