Skip to content

Instantly share code, notes, and snippets.

View rollulus's full-sized avatar
🐦

Rollulus Rouloul rollulus

🐦
View GitHub Profile
@rollulus
rollulus / pipe.md
Created February 10, 2017 08:49
pipe into kubectl run

I had the need to pipe data into a container being run in kubernetes. I found out that whatever combination of -i, -t or --attach I specified, the containerised process never received an EOF. And if it did, all it received was the EOF; not the data I piped into it. Unless I carefully went through all flags, and realised that --restart=Never solves it:

cat example.yaml | kubectl run -i --image img name --restart=Never
@rollulus
rollulus / callsigns.ipynb
Created November 5, 2016 16:38
dutch-ham-callsign-statistics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rollulus
rollulus / no-schema-compatibility.md
Created September 12, 2016 12:03
Disable Confluent schema registry's schema compatibility checking

Do:

curl -H "Content-Type: application/vnd.schemaregistry.v1+json" -X PUT -d '{"compatibility": "NONE"}' localhost:8081/config -v
@rollulus
rollulus / keybase.md
Created March 13, 2016 09:42
keybase proof

Keybase proof

I hereby claim:

  • I am rollulus on github.
  • I am rollulus (https://keybase.io/rollulus) on keybase.
  • I have a public key whose fingerprint is 79CE 2EF8 4858 F7A0 D07C D74B 1276 1D3A 2540 56F4

To claim this, I am signing this object: