This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linking on Ubuntu 12.04 with g++-4.8, this is what I did | |
cd ~/projects/hellcat # a git clone | |
./get_libraries.sh | |
mkdir build && cd build | |
cmake -D CMAKE_CXX_COMPILER:TXT=g++-4.8 .. | |
1. The order of components on the link commandline is important. On the final link, I get tons of undefined reference to uv_* functions. To fix that, change the order of the archives so that libhaywire.a is before libuv.a. | |
2. I then get tons of undefined reference to clock_* functions, which should be provided by librt. To fix, add "-lrt" to the linker, but only **after** the archives. (You already had it in there, but it didn't get used because it was before the archives on the CLI...I think due to the gcc/g++ commandline ordering requirements, you should move your archives to before the -l commands because IIRC gcc/g++ builds a list of symbols/functions that it should be aware of when it gets to the libs to link in, and it ignores all lib functions it doesn't explicitly need...or something like that). i.e this is what I cha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Outbound Summary: 177147 emails, 7438 networks, 6627 unique domains | |
Top 20 encrypted traffic domains: | |
1. google.com 62440 | |
2. yahoodns.net 25148 | |
3. hotmail.com 14132 | |
4. aol.com 7577 | |
5. comcast.net 4758 | |
6. outlook.com 4543 | |
7. psmtp.com 1703 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deny message = SPF BLOCK Sender $sender_host_address is not allowed to send mail from $sender_address_domain ($header_from:): $spf_smtp_comment | |
!authenticated = * | |
!hosts = +relay_from_hosts : net-lsearch;/etc/exim/spf_skip_ips | |
sender_domains = !lsearch;/etc/exim/spf_exclude_domains | |
spf = fail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
write-output "Running User Data Script" | |
write-host "(host) Running User Data Script" | |
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force -ErrorAction Ignore | |
# Don't set this before Set-ExecutionPolicy as it throws an error | |
$ErrorActionPreference = "stop" | |
# Remove HTTP listener |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl 1.5.3 output: | |
ccbonnell-lt:~ $ kubectl get nodes -o wide | |
NAME STATUS AGE EXTERNAL-IP | |
ip-172-16-123-78.ec2.internal Ready,master 71d OBFUSCATED.211 | |
ip-172-16-32-202.ec2.internal Ready,master 35d OBFUSCATED.222 | |
ip-172-16-35-25.ec2.internal Ready 1d OBFUSCATED.42 | |
ip-172-16-67-58.ec2.internal Ready 71d OBFUSCATED.178 | |
ip-172-16-94-137.ec2.internal Ready,master 71d OBFUSCATED.29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The curator config file and index deletion action config are a configmap that gets mounted here. | |
# Test with: | |
# curator --config /etc/curator/curator.yml /etc/curator/delete_indices.yml --dry-run | |
# Execute with: | |
# curator --config /etc/curator/curator.yml /etc/curator/delete_indices.yml | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: es-curator-manual |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output { | |
rabbitmq { | |
exchange => "${RABBITMQ_EXCHANGE}" | |
exchange_type => "direct" | |
key => "%{[driftwood][rabbitmq][key]}" | |
host => "${RABBITMQ_BOOTSTRAP_SERVER_BLUE}" | |
user => "${logstash_user}" | |
password => "${logstash_pass}" | |
} | |
# Backup stack if blue goes down |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $ $KOPS rolling-update cluster sjc1.cloud.net --interactive --yes | |
NAME STATUS NEEDUPDATE READY MIN MAX NODES | |
master-us-west-1a-1 Ready 0 1 1 1 1 | |
master-us-west-1a-2 Ready 0 1 1 1 1 | |
master-us-west-1b-1 Ready 0 1 1 1 1 | |
nodes NeedsUpdate 2 0 2 20 2 | |
I0118 21:30:59.601800 41879 instancegroups.go:160] Draining the node: "ip-10-1-61-41.us-west-1.compute.internal". | |
node "ip-10-1-61-41.us-west-1.compute.internal" cordoned | |
node "ip-10-1-61-41.us-west-1.compute.internal" cordoned | |
WARNING: Ignoring DaemonSet-managed pods: canal-p1xkr; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-41.us-west-1.compute.internal; Deleting pods with local storage: monitoring-grafana-1831171644-ndpkv, monitoring-influxdb-3570645011-0gk5p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $ $KOPS rolling-update cluster sjc1.cloud.net --interactive --yes --node-interval 3m0s | |
NAME STATUS NEEDUPDATE READY MIN MAX NODES | |
master-us-west-1a-1 Ready 0 1 1 1 1 | |
master-us-west-1a-2 Ready 0 1 1 1 1 | |
master-us-west-1b-1 Ready 0 1 1 1 1 | |
nodes NeedsUpdate 2 0 2 20 2 | |
I0118 21:58:37.724453 47095 instancegroups.go:158] Draining the node: "ip-10-1-61-118.us-west-1.compute.internal". | |
node "ip-10-1-61-118.us-west-1.compute.internal" cordoned | |
node "ip-10-1-61-118.us-west-1.compute.internal" cordoned | |
WARNING: Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-118.us-west-1.compute.internal; Ignoring DaemonSet-managed pods: canal-40x89 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $ $KOPS rolling-update cluster sjc1.cloud.net --interactive --yes --node-interval 3m0s --force --instance-group nodes | |
NAME STATUS NEEDUPDATE READY MIN MAX NODES | |
nodes Ready 0 2 2 20 2 | |
I0118 22:11:38.598151 49094 instancegroups.go:158] Draining the node: "ip-10-1-61-33.us-west-1.compute.internal". | |
node "ip-10-1-61-33.us-west-1.compute.internal" cordoned | |
node "ip-10-1-61-33.us-west-1.compute.internal" cordoned | |
WARNING: Ignoring DaemonSet-managed pods: canal-19pmc; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-33.us-west-1.compute.internal | |
node "ip-10-1-61-33.us-west-1.compute.internal" drained | |
I0118 22:13:08.908090 49094 instancegroups.go:275] Stopping instance "i-04176bbac40527d44", node "ip-10-1-61-33.us-west-1.compute.internal", in group "nodes.sjc1.cloud.net". | |
I0118 22:16:09.202630 49094 instancegroups.go:189] Validating the c |