Skip to content

Instantly share code, notes, and snippets.

@vdice
Last active July 14, 2020 21:34
Show Gist options
  • Save vdice/c8dc7769fd50e7fc5498630f27297843 to your computer and use it in GitHub Desktop.
Save vdice/c8dc7769fd50e7fc5498630f27297843 to your computer and use it in GitHub Desktop.
Kind issue 1732 Debug info
 $ docker info
Client:
 Debug Mode: false
 Plugins:
  app: Docker Application (Docker Inc., v0.8.0)
  buildx: Build with BuildKit (Docker Inc., v0.3.1-tp-docker)
  ecs: Docker ECS (Docker Inc., v1.0.0-beta.1)

Server:
 Containers: 2
  Running: 2
  Paused: 0
  Stopped: 0
 Images: 185
 Server Version: 19.03.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.944GiB
 Name: docker-desktop
 ID: RB66:NKYF:V2CQ:7XA6:VJP5:UAX6:J34H:2MKP:P5IE:EGHK:VHXW:AOL4
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 55
  Goroutines: 57
  System Time: 2020-07-14T21:34:04.0103161Z
  EventsListeners: 3
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine
 $ docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:41:33 2020
 OS/Arch:           darwin/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:49:27 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
 $ docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED              STATUS              PORTS                       NAMES
4f33e9ba5e96        kindest/node:v1.18.4   "/usr/local/bin/entr…"   About a minute ago   Up About a minute   127.0.0.1:32782->6443/tcp   kind-control-plane
$ docker inspect kind-control-plane
[
    {
        "Id": "4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb",
        "Created": "2020-07-14T21:22:14.6768797Z",
        "Path": "/usr/local/bin/entrypoint",
        "Args": [
            "/sbin/init"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 88350,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2020-07-14T21:22:19.0402824Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:5f5149b3e2a80ed93ea41cda8367a99089932a8b935d235126621bf37ba670cf",
        "ResolvConfPath": "/var/lib/docker/containers/4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb/hostname",
        "HostsPath": "/var/lib/docker/containers/4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb/hosts",
        "LogPath": "/var/lib/docker/containers/4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb/4f33e9ba5e9624ea39b0422dd15040ecf3ecba8ab6a19f22ae52acb0b4995feb-json.log",
        "Name": "/kind-control-plane",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/lib/modules:/lib/modules:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "kind",
            "PortBindings": {
                "6443/tcp": [
                    {
                        "HostIp": "127.0.0.1",
                        "HostPort": ""
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "on-failure",
                "MaximumRetryCount": 1
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Capabilities": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": true,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": [
                "seccomp=unconfined",
                "apparmor=unconfined",
                "label=disable"
            ],
            "Tmpfs": {
                "/run": "",
                "/tmp": ""
            },
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": null,
            "ReadonlyPaths": null
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/dd190175a047280aaa4bca92532c4995721247e9254ca1ff73424740560bfbc6-init/diff:/var/lib/docker/overlay2/a70e510064a976fe69da4956717f85096677685d9d537a5cfee92631b52a8ecf/diff:/var/lib/docker/overlay2/d3a87fb05a55263353724863c0f356bd4e053a1d4dae255b36950a8720cfd1c1/diff:/var/lib/docker/overlay2/1b7fc284533d64be0a88d8f0fb26e35a900baa83a4ecd1d34ca89f8591163690/diff:/var/lib/docker/overlay2/02adf01b9d5de6a91a8b464e59d55884b1315b48d3cbdf6f28f21793ddfabdf1/diff:/var/lib/docker/overlay2/4f787ba48423b7893fde1d331eff1c65d0c5a25d24584c0ae3f6b23a8d766882/diff:/var/lib/docker/overlay2/603cc4392fce126e0d930ac4ae86a136d2ad7b6a1f671c519837dadf933079ef/diff:/var/lib/docker/overlay2/de64ddc5a0bafaf606ec6d54b2f59566a189f5445eb753051b01eacf22d6c952/diff",
                "MergedDir": "/var/lib/docker/overlay2/dd190175a047280aaa4bca92532c4995721247e9254ca1ff73424740560bfbc6/merged",
                "UpperDir": "/var/lib/docker/overlay2/dd190175a047280aaa4bca92532c4995721247e9254ca1ff73424740560bfbc6/diff",
                "WorkDir": "/var/lib/docker/overlay2/dd190175a047280aaa4bca92532c4995721247e9254ca1ff73424740560bfbc6/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/lib/modules",
                "Destination": "/lib/modules",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "e6c780f5d1df80da7a670942efa479508990ad38cc7fbad1b029dde8a7808c94",
                "Source": "/var/lib/docker/volumes/e6c780f5d1df80da7a670942efa479508990ad38cc7fbad1b029dde8a7808c94/_data",
                "Destination": "/var",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "kind-control-plane",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "6443/tcp": {}
            },
            "Tty": true,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "container=docker"
            ],
            "Cmd": null,
            "Image": "kindest/node:v1.18.4@sha256:d8ff5fc405fc679dd3dd0cccc01543ba4942ed90823817d2e9e2c474a5343c4f",
            "Volumes": {
                "/var": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "/usr/local/bin/entrypoint",
                "/sbin/init"
            ],
            "OnBuild": null,
            "Labels": {
                "desktop.docker.io/ports/6443/tcp": "10.0.1.4:6443",
                "io.x-k8s.kind.cluster": "kind",
                "io.x-k8s.kind.role": "control-plane"
            },
            "StopSignal": "SIGRTMIN+3"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "f5d601bbb1287d8944873e688c3630f2803634712c4195eca9fa099c1b3c54e4",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "6443/tcp": [
                    {
                        "HostIp": "127.0.0.1",
                        "HostPort": "32782"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/f5d601bbb128",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "kind": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "4f33e9ba5e96"
                    ],
                    "NetworkID": "6143475b22be79707a517712a5d9c53a577f159134391bb5f57720d0d196afe9",
                    "EndpointID": "6aaea774c068c1bf737aa3e22cbb17683eeb5d3866456360921a8115f08eb531",
                    "Gateway": "172.18.0.1",
                    "IPAddress": "172.18.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "fc00:f853:ccd:e793::1",
                    "GlobalIPv6Address": "fc00:f853:ccd:e793::2",
                    "GlobalIPv6PrefixLen": 64,
                    "MacAddress": "02:42:ac:12:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]
root@kind-control-plane:/# echo "$(ps aux)"
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.2  0.3  21768  7096 ?        Ss   21:22   0:00 /sbin/init
root         122  0.1  0.1  26980  3880 ?        S<s  21:22   0:00 /lib/systemd/systemd-journald
root         145  4.0  2.0 2081540 42524 ?       Ssl  21:22   0:16 /usr/local/bin/containerd
root         407  0.0  0.2 113268  5608 ?        Sl   21:22   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id b407aa9c2c77ab62fbf87a687e8833547e0c064a21902e26c2bf06d36448a2e3 -address /run/containerd/containerd.sock
root         428  0.0  0.2 113268  6108 ?        Sl   21:22   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id f76b093ca6c5d92be0e46e9b8988942e3b6fd7c6ff4b62d700048718c3d5a5e4 -address /run/containerd/containerd.sock
root         445  0.0  0.3 113268  6288 ?        Sl   21:22   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 9d7948d20c82fbc99eea54ccbaca834a0e2dbb74133f95143d84e09bf34a14e9 -address /run/containerd/containerd.sock
root         466  0.0  0.2 113268  6036 ?        Sl   21:22   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id fe3dae4e29c27d30e4e9e4e5c0224aaaca628e497531553a44a0849992fae537 -address /run/containerd/containerd.sock
root         523  0.0  0.0    968     4 ?        Ss   21:22   0:00 /pause
root         532  0.0  0.0    968     4 ?        Ss   21:22   0:00 /pause
root         534  0.0  0.0    968     4 ?        Ss   21:22   0:00 /pause
root         547  0.0  0.0    968     4 ?        Ss   21:22   0:00 /pause
root         613  1.5  1.7 145576 36220 ?        Ssl  21:22   0:05 kube-scheduler --authentication-kubeconfig=/etc/kubernetes/scheduler.conf --authorization-kubeconfig=/etc/kubernetes/scheduler.conf --bind-address=127.0.0.1 --kubeconfig=/etc/kubernetes/scheduler.conf --leader-elect=true
root         663  6.5  3.4 159704 70500 ?        Ssl  21:22   0:24 kube-controller-manager --allocate-node-cidrs=true --authentication-kubeconfig=/etc/kubernetes/controller-manager.conf --authorization-kubeconfig=/etc/kubernetes/controller-manager.conf --bind-address=127.0.0.1 --client-ca-file=/etc/kubernetes/pki/ca.crt --cluster-cidr=10.244.0.0/16 --cluster-name=kind --cluster-signing-cert-file=/etc/kubernetes/pki/ca.crt --cluster-signing-key-file=/etc/kubernetes/pki/ca.key --controllers=*,bootstrapsigner,tokencleaner --enable-hostpath-provisioner=true --kubeconfig=/etc/kubernetes/controller-manager.conf --leader-elect=true --node-cidr-mask-size=24 --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt --root-ca-file=/etc/kubernetes/pki/ca.crt --service-account-private-key-file=/etc/kubernetes/pki/sa.key --service-cluster-ip-range=10.96.0.0/12 --use-service-account-credentials=true
root         691 15.6 15.3 447024 312536 ?       Ssl  21:22   0:59 kube-apiserver --advertise-address=172.18.0.2 --allow-privileged=true --authorization-mode=Node,RBAC --client-ca-file=/etc/kubernetes/pki/ca.crt --enable-admission-plugins=NodeRestriction --enable-bootstrap-token-auth=true --etcd-cafile=/etc/kubernetes/pki/etcd/ca.crt --etcd-certfile=/etc/kubernetes/pki/apiserver-etcd-client.crt --etcd-keyfile=/etc/kubernetes/pki/apiserver-etcd-client.key --etcd-servers=https://127.0.0.1:2379 --insecure-port=0 --kubelet-client-certificate=/etc/kubernetes/pki/apiserver-kubelet-client.crt --kubelet-client-key=/etc/kubernetes/pki/apiserver-kubelet-client.key --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname --proxy-client-cert-file=/etc/kubernetes/pki/front-proxy-client.crt --proxy-client-key-file=/etc/kubernetes/pki/front-proxy-client.key --requestheader-allowed-names=front-proxy-client --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt --requestheader-extra-headers-prefix=X-Remote-Extra- --requestheader-group-headers=X-Remote-Group --requestheader-username-headers=X-Remote-User --secure-port=6443 --service-account-key-file=/etc/kubernetes/pki/sa.pub --service-cluster-ip-range=10.96.0.0/12 --tls-cert-file=/etc/kubernetes/pki/apiserver.crt --tls-private-key-file=/etc/kubernetes/pki/apiserver.key
root         733  6.3  2.3 10612592 48116 ?      Ssl  21:22   0:24 etcd --advertise-client-urls=https://172.18.0.2:2379 --cert-file=/etc/kubernetes/pki/etcd/server.crt --client-cert-auth=true --data-dir=/var/lib/etcd --initial-advertise-peer-urls=https://172.18.0.2:2380 --initial-cluster=kind-control-plane=https://172.18.0.2:2380 --key-file=/etc/kubernetes/pki/etcd/server.key --listen-client-urls=https://127.0.0.1:2379,https://172.18.0.2:2379 --listen-metrics-urls=http://127.0.0.1:2381 --listen-peer-urls=https://172.18.0.2:2380 --name=kind-control-plane --peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt --peer-client-cert-auth=true --peer-key-file=/etc/kubernetes/pki/etcd/peer.key --peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt --snapshot-count=10000 --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
root         791  5.3  2.7 1643696 56840 ?       Ssl  21:22   0:19 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime=remote --container-runtime-endpoint=unix:///run/containerd/containerd.sock --fail-swap-on=false --node-ip=172.18.0.2 --fail-swap-on=false
root         921  0.0  0.4 113268  8636 ?        Sl   21:23   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id f4cb826da5632f371dca2450003f2eb107a920c24a02dbc60a758cdb1d2f67ff -address /run/containerd/containerd.sock
root         942  0.0  0.0    968     4 ?        Ss   21:23   0:00 /pause
root         958  0.0  0.4 113268  8480 ?        Sl   21:23   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 738cc1295c9758aa41b31ddc7ec77d76e6918e500590c0e8d2bc20abe70a57ec -address /run/containerd/containerd.sock
root         988  0.0  0.0    968     4 ?        Ss   21:23   0:00 /pause
root        1036  0.1  1.0 132292 20608 ?        Ssl  21:23   0:00 /bin/kindnetd
root        1045  0.2  1.5 141124 30712 ?        Ssl  21:23   0:00 /usr/local/bin/kube-proxy --config=/var/lib/kube-proxy/config.conf --hostname-override=kind-control-plane
root        1194  0.0  0.4 113268  8624 ?        Sl   21:23   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 9e92eefce9473fd2d2f958f4aa2bb1904b49340d8c2aa16b3c40e43c3b7b4515 -address /run/containerd/containerd.sock
root        1215  0.0  0.0    968     4 ?        Ss   21:23   0:00 /pause
root        1263  0.3  1.2 138980 25876 ?        Ssl  21:23   0:01 local-path-provisioner --debug start --helper-image us.gcr.io/k8s-artifacts-prod/build-image/debian-base:v2.1.0 --config /etc/config/config.json
root        1342  0.0  0.3 113268  7820 ?        Sl   21:23   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 18d849d8ffb4fe20399e349588d4ad99ed2076b793d0c1a04f5b1ee718b72aeb -address /run/containerd/containerd.sock
root        1362  0.0  0.0    968     4 ?        Ss   21:23   0:00 /pause
root        1400  0.8  1.7 146268 34856 ?        Ssl  21:23   0:02 /coredns -conf /etc/coredns/Corefile
root        1480  0.0  0.4 113268  8292 ?        Sl   21:23   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 01f825d8885d1f515bc5f1278c8124286060aa7b0d3dd2f1d67bf08f8f985898 -address /run/containerd/containerd.sock
root        1501  0.0  0.0    968     4 ?        Ss   21:23   0:00 /pause
root        1539  0.8  1.6 146268 33704 ?        Ssl  21:23   0:02 /coredns -conf /etc/coredns/Corefile
root        2058  0.0  0.1   4244  3480 pts/1    Ss+  21:27   0:00 /bin/bash
root        2259  0.0  0.1   5884  2796 pts/1    R+   21:28   0:00 ps aux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment