Skip to content

Instantly share code, notes, and snippets.

View piengeng's full-sized avatar

Henry Kwan piengeng

View GitHub Profile
@piengeng
piengeng / gist:27df8a02b363993d822cc57fc9103509
Created April 5, 2020 12:16
describe po/calico-node-l8lqw
$ kc describe po/calico-node-l8lqw
Name: calico-node-l8lqw
Namespace: calico-system
Priority: 2000001000
Priority Class Name: system-node-critical
Node: kw2.home/192.168.1.71
Start Time: Sun, 05 Apr 2020 20:05:45 +0800
Labels: controller-revision-hash=849976b89f
k8s-app=calico-node
pod-template-generation=1
$ kc logs calico-node-l8lqw
2020-04-05 12:05:48.158 [INFO][8] startup.go 290: Early log level set to info
2020-04-05 12:05:48.158 [INFO][8] startup.go 306: Using NODENAME environment for node name
2020-04-05 12:05:48.158 [INFO][8] startup.go 318: Determined node name: kw2.home
2020-04-05 12:05:48.159 [INFO][8] startup.go 350: Checking datastore connection
2020-04-05 12:05:48.178 [INFO][8] startup.go 374: Datastore connection verified
2020-04-05 12:05:48.178 [INFO][8] startup.go 102: Datastore is ready
2020-04-05 12:05:48.186 [INFO][8] startup.go 652: Using autodetected IPv4 address on interface eth0: 192.168.1.71/24
2020-04-05 12:05:48.186 [INFO][8] startup.go 715: No AS number configured on node resource, using global value
2020-04-05 12:05:48.187 [INFO][8] startup.go 171: Setting NetworkUnavailable to False
@piengeng
piengeng / gist:92d2add170b174e22b0173285f345e36
Created January 5, 2020 23:33
pihole's queries log from k8s master node
2020-01-05
23:32:44 AAAA istio-galley.istio-system k8s.c5r.home OK
(cached) NXDOMAIN (0.3ms)
2020-01-05
23:32:44 AAAA istio-galley.istio-system k8s.c5r.home OK
(cached) NXDOMAIN (5.5ms)
2020-01-05
23:32:39 AAAA istio-galley.istio-system k8s.c5r.home OK
(cached) NXDOMAIN (0.2ms)
2020-01-05