Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
kuberneting

Hector Fernandez hectorj2f

💭
kuberneting
View GitHub Profile
View fleet test failure
ok github.com/coreos/fleet/engine 0.045s coverage: 39.2% of statements
Destroyed j1.service
Destroyed j2.service
Destroyed j3.service
Destroyed j4.service
Destroyed j5.service
Units not found in registry
Units not found in registry
Units not found in registry
Destroyed j1.service
View vagrant_up_logs
INFO global: Vagrant version: 1.8.1
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_OLD_ENV_SECURITYSESSIONID="186a5"
INFO global: VAGRANT_OLD_ENV_COMMAND_MODE="unix2003"
INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
INFO global: VAGRANT_OLD_ENV_HOME="/Users/hector"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant"
View gist:177a2d48cc0fc172cc5cd420d3b138b7
```
$ sudo iptables -L -v -n
Chain INPUT (policy ACCEPT 26 packets, 1801 bytes)
pkts bytes target prot opt in out source destination
588 98723 felix-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 6 packets, 400 bytes)
pkts bytes target prot opt in out source destination
218 37080 felix-FORWARD all -- * * 0.0.0.0/0 0.0.0.0/0
View keybase.md

Keybase proof

I hereby claim:

  • I am hectorj2f on github.
  • I am hectorj2f (https://keybase.io/hectorj2f) on keybase.
  • I have a public key whose fingerprint is 3FC3 06B8 BA33 B816 9332 0035 B82E 9A77 CF70 BF80

To claim this, I am signing this object:

@hectorj2f
hectorj2f / cleanup_etcd_fleet_hashes.sh
Created Oct 29, 2015
Script to cleanup etcd fleet hashes
View cleanup_etcd_fleet_hashes.sh
#!/bin/bash
DIR="/tmp/cleanup_fleet_keys"
mkdir -p ${DIR}
echo "Fetching etcd keys from fleet /_coreos.com/fleet/unit "
cat <(etcdctl ls --recursive /_coreos.com/fleet/unit| awk -F\/ '{print $NF}') <(fleetctl list-unit-files -full -fields=hash -no-legend) | sort | uniq -u > ${DIR}/etcd_fleet_keys_one
echo "Waiting 10 seconds to collect the keys one more time..."