Skip to content

Instantly share code, notes, and snippets.

@zihaoyu
zihaoyu / log
Created December 16, 2016 02:12
kube-apiserver
Dec 15 20:03:11 ip-10-72-114-167.us-west-2.compute.internal systemd[1]: Started Kubernetes API Server.
Dec 15 20:03:11 ip-10-72-114-167.us-west-2.compute.internal kube-apiserver[3842]: Flag --public-address-override has been deprecated, see --bind-address instead.
Dec 15 20:03:11 ip-10-72-114-167.us-west-2.compute.internal kube-apiserver[3842]: I1215 20:03:11.228225 3842 genericapiserver.go:629] Will report 10.72.114.167 as public IP address.
Dec 15 20:03:11 ip-10-72-114-167.us-west-2.compute.internal kube-apiserver[3842]: E1215 20:03:11.231918 3842 reflector.go:203] k8s.io/kubernetes/plugin/pkg/admission/limitranger/admission.go:154: Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges?resourceVersion=0: dial tcp 127.0.0.1:8080: getsockopt: connection refused
Dec 15 20:03:11 ip-10-72-114-167.us-west-2.compute.internal kube-apiserver[3842]: E1215 20:03:11.232511 3842 reflector.go:214] k8s.io/kubernetes/plugin/pkg/admission/serviceaccount/admission.go:103: Failed to list *api.S
@zihaoyu
zihaoyu / log
Created December 16, 2016 03:22
etcd v3 log
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal systemd[1]: Starting etcd2...
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=http://10.72.101.49:2379
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_DATA_DIR=/var/lib/etcd2
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_DISCOVERY=https://discovery.etcd.io/3bdc456695c5827c64dc6f81264a347b
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_ELECTION_TIMEOUT=1200
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://10.72.101.49:2380
Dec 15 19:55:51 ip-10-72-101-49.us-west-2.compute.internal etcd[8291]: recognized and used environment variable ETCD_LISTEN_CLIENT_URLS
@zihaoyu
zihaoyu / logs
Created July 14, 2017 01:35
Etcd logs
This file has been truncated, but you can view the full file.
Jul 13 22:32:55 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: apply entries took too long [4.0077998s for 5 entries]
Jul 13 22:32:55 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: avoid queries with large range/delete range!
Jul 13 22:32:59 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: apply entries took too long [3.510982313s for 3 entries]
Jul 13 22:32:59 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: avoid queries with large range/delete range!
Jul 13 22:33:00 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: ee743be592757dfb [logterm: 1391, index: 1458852674, vote: ee743be592757dfb] ignored MsgVote from 87997e6116430da9 [logterm: 1391, index: 1458852574] at term 1391: lease is not expired (remaining ticks: 11)
Jul 13 22:33:00 ip-10-72-6-19.us-west-2.compute.internal etcd[1141]: ee743be592757dfb [logterm: 1391, index: 1458852674, vote: ee743be592757dfb] ignored MsgVote from a5af56a35cbcf425 [logterm: 1391, index: 1458852574] at term 1391: lease is not expired (remaining ticks:
@zihaoyu
zihaoyu / description.md
Last active September 13, 2017 02:55
Pods seems to not be able to connect to ports of the minions they run on.

I have the following statsd DS and a service Deployment running. Notice the minion host name is passed to the service pods via downward API. Services pods send their metrics to the "local" statsd on the same minion.

However from our testing it looks like no metrics was received by statsd.

Related issue: https://github.com/projectcalico/cni-plugin/issues/323

@zihaoyu
zihaoyu / calico.json
Last active April 20, 2018 10:36
Calico dashboard WIP
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"hideControls": false,
"id": 10344,
"links": [],
@zihaoyu
zihaoyu / crash.log
Created October 17, 2019 17:01
Terraform crash
This file has been truncated, but you can view the full file.
2019/10/17 15:48:18 [INFO] Terraform version: 0.12.6
2019/10/17 15:48:18 [INFO] Go runtime version: go1.12.4
2019/10/17 15:48:18 [INFO] CLI args: []string{"/opt/tfenv/versions/0.12.6/terraform", "plan", "-detailed-exitcode", "-refresh=true", "-no-color", "-out=terraform.plan"}
2019/10/17 15:48:18 [DEBUG] Attempting to open CLI config file: /home/jenkins/.terraformrc
2019/10/17 15:48:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/17 15:48:18 [INFO] CLI command args: []string{"plan", "-detailed-exitcode", "-refresh=true", "-no-color", "-out=terraform.plan"}
2019/10/17 15:48:18 [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 2572559410
2019/10/17 15:48:18 [TRACE] Preserving existing state lineage "afd83c68-4a9f-db8a-7609-9881071a74dd"
2019/10/17 15:48:18 [TRACE] Preserving existing state lineage "afd83c68-4a9f-db8a-7609-9881071a74dd"
2019/10/17 15:48:18 [TRACE] Meta.Backend: working directory was previously initialized for "s3" backend