Skip to content

Instantly share code, notes, and snippets.

View ayj's full-sized avatar

Jason Young ayj

  • Google
  • Kirkland, WA - United States
View GitHub Profile
@ayj
ayj / gist:3055100
Created July 5, 2012 17:35
Wireshark color file
# DO NOT EDIT THIS FILE! It was created by Wireshark
@Broadcast@eth[0] & 1@[65535,65535,65535][32768,32768,32768]
@Beacon@wlan.fc.type == 0 and wlan.fc.subtype == 8@[65535,65535,65535][0,1858,65535]
@Probe Request@wlan.fc.type == 0 and wlan.fc.subtype == 4@[65535,65535,65535][38911,15274,0]
@Probe Response@wlan.fc.type == 0 and wlan.fc.subtype == 5@[65535,65535,65535][44787,24988,0]
@Ack@wlan.fc.type == 1 and wlan.fc.subtype == 13@[65534,65534,65534][54782,42132,681]
@Authentication@wlan.fc.type == 0 and wlan.fc.subtype == 0xb@[65535,65535,65535][65535,0,0]
@Association Request@wlan.fc.type == 0 and wlan.fc.subtype == 0@[65535,65535,65535][0,45356,27678]
@Association Response@wlan.fc.type == 0 and wlan.fc.subtype == 1@[65535,65535,65535][0,41283,11948]
@data-with-retry@wlan.fc.type == 2 and wlan.fc.retry == 1@[45452,45452,45452][37787,65535,54315]
@ayj
ayj / makefile
Created September 1, 2012 00:49
build
MAKEFLAGS = --no-print-directory
CC = arm-linux-gnueabi-gcc
LD = arm-linux-gnueabi-ld
NM = arm-linux-gnueabi-nm
QEMU = qemu-arm
CFLAGS = -Os -g -Wall -nostdlib -I. -MMD
LDFLAGS = -T linker.ld
I0303 18:46:15.047984 1 root.go:49] Root flags: &cmd.Flags{Kubeconfig:"", Namespace:"istio-integration-tgzq1"}
I0303 18:46:15.084208 1 client.go:169] Resource already exists: "istio-config.istio.io"
I0303 18:46:15.084297 1 client.go:193] Checking for TPR resources
I0303 18:46:15.087120 1 watcher.go:51] Local instance address: map[string]bool{"10.16.1.102":true}
{
"listeners": [
{
"port": 5001,
"filters": [],
"bind_to_port": true,
upstream connect error or disconnect/reset before headers
I0317 20:48:51.404583 30305 driver.go:318] kubectl exec t-3486335542-3qm81 -n istio-integration-zwbwn -c app -- client -url http://a:90/t [257/3208]
I0317 20:48:51.396825 30305 reachability.go:212] Making a request http://t.istio-integration-zwbwn:90/b from b (attempt 0)...
I0317 20:48:51.404692 30305 driver.go:318] kubectl exec b-3247908281-7kdsj -n istio-integration-zwbwn -c app -- client -url http://t.istio-integration-zwbwn:90/b
I0317 20:48:51.396834 30305 reachability.go:212] Making a request http://t:9090/b from b (attempt 0)...
I0317 20:48:51.404842 30305 driver.go:318] kubectl exec b-3247908281-7kdsj -n istio-integration-zwbwn -c app -- client -url http://t:9090/b
I0317 20:48:51.396842 3
envoy config test failure
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
##############################
# Testing envoy-v0...
##############################
proxy/envoy/envoy: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by proxy/envoy/envoy)
proxy/envoy/envoy: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by proxy/envoy/envoy)
proxy/envoy/envoy: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by proxy/envoy/envoy)
/usr/local/google/home/jasonyoung/.cache/bazel/_bazel_jasonyoung/a27a41952c6c0c372bb64c8ca3e23933/bazel-sandbox/bde1a3b2-f8dd-4cbf-b984-2e50c0ecd1d4-0/execroot/manager/bazel-out/local-fastbuild/bin/proxy/envoy/config_test.runfiles/com_github_istio_manager/proxy/envoy/config_test: line 21: kill: (7) - No such process
Use --strategy=TestRunner=standalone to disable sandboxing for the failing actions.
package main
import (
"flag"
"fmt"
"os/exec"
"strconv"
"strings"
"time"
#!/bin/bash
set -ex
hub=gcr.io/jasonyoung-test0
tag=test
num_services=10
replicas=10
namespace=jason
apiVersion: v1
kind: Service
metadata:
name: service-one
labels:
app: service-one
spec:
ports:
- port: 80
targetPort: 8080