首先是下载源码
[root@localhost ~]# go get -u -v github.com/heptio/sonobuoy
github.com/heptio/sonobuoy (download)
created GOPATH=/root/go; see 'go help gopath'
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/go-version
github.com/heptio/sonobuoy/pkg/buildinfo
github.com/heptio/sonobuoy/vendor/github.com/c2h5oh/datasize
github.com/heptio/sonobuoy/vendor/github.com/gogo/protobuf/proto
github.com/heptio/sonobuoy/vendor/github.com/gogo/protobuf/sortkeys
github.com/heptio/sonobuoy/vendor/gopkg.in/inf.v0
github.com/heptio/sonobuoy/vendor/github.com/google/gofuzz
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/conversion
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/selection
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/fields
github.com/heptio/sonobuoy/vendor/github.com/golang/glog
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/sets
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/api/resource
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/errors
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/validation/field
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/validation
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/labels
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/conversion/queryparams
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/schema
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/json
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/runtime
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/types
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/intstr
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime
github.com/heptio/sonobuoy/vendor/golang.org/x/text/transform
github.com/heptio/sonobuoy/vendor/golang.org/x/text/unicode/bidi
github.com/heptio/sonobuoy/vendor/golang.org/x/text/secure/bidirule
github.com/heptio/sonobuoy/vendor/golang.org/x/text/unicode/norm
github.com/heptio/sonobuoy/vendor/golang.org/x/net/http2/hpack
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/wait
github.com/heptio/sonobuoy/vendor/gopkg.in/yaml.v2
github.com/heptio/sonobuoy/vendor/golang.org/x/net/idna
github.com/heptio/sonobuoy/vendor/golang.org/x/net/http/httpguts
github.com/heptio/sonobuoy/vendor/golang.org/x/net/http2
github.com/heptio/sonobuoy/vendor/github.com/ghodss/yaml
github.com/heptio/sonobuoy/vendor/github.com/modern-go/concurrent
github.com/heptio/sonobuoy/vendor/github.com/modern-go/reflect2
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/net
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/watch
github.com/heptio/sonobuoy/vendor/github.com/json-iterator/go
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/apis/meta/v1
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/framer
github.com/heptio/sonobuoy/vendor/k8s.io/api/core/v1
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/yaml
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer
github.com/heptio/sonobuoy/vendor/github.com/golang/protobuf/proto
github.com/heptio/sonobuoy/vendor/github.com/golang/protobuf/ptypes/any
github.com/heptio/sonobuoy/vendor/github.com/golang/protobuf/ptypes/duration
github.com/heptio/sonobuoy/vendor/github.com/golang/protobuf/ptypes/timestamp
github.com/heptio/sonobuoy/vendor/github.com/golang/protobuf/ptypes
github.com/heptio/sonobuoy/vendor/github.com/googleapis/gnostic/extensions
github.com/heptio/sonobuoy/vendor/github.com/googleapis/gnostic/compiler
github.com/heptio/sonobuoy/vendor/github.com/googleapis/gnostic/OpenAPIv2
github.com/heptio/sonobuoy/vendor/github.com/gregjones/httpcache
github.com/heptio/sonobuoy/vendor/github.com/google/btree
github.com/heptio/sonobuoy/vendor/github.com/peterbourgon/diskv
github.com/heptio/sonobuoy/vendor/github.com/gregjones/httpcache/diskcache
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/api/errors
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/version
github.com/heptio/sonobuoy/vendor/k8s.io/api/admissionregistration/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/admissionregistration/v1beta1
github.com/heptio/sonobuoy/pkg/plugin/manifest
github.com/heptio/sonobuoy/vendor/k8s.io/api/apps/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/apps/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/apps/v1beta2
github.com/heptio/sonobuoy/vendor/k8s.io/api/authentication/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/authentication/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/authorization/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/authorization/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/autoscaling/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/autoscaling/v2beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/batch/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/certificates/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/batch/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/batch/v2alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/events/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/extensions/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/networking/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/policy/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/rbac/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/rbac/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/rbac/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/scheduling/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/scheduling/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/api/settings/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/storage/v1
github.com/heptio/sonobuoy/vendor/k8s.io/api/storage/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/api/storage/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/pkg/version
github.com/heptio/sonobuoy/vendor/golang.org/x/sys/unix
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/scheme
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/pkg/apis/clientauthentication
github.com/heptio/sonobuoy/vendor/golang.org/x/crypto/ssh/terminal
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/clientcmd/api
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/transport
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/connrotation
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/rest/watch
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/metrics
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/cert
github.com/heptio/sonobuoy/vendor/golang.org/x/time/rate
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/clock
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/integer
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/flowcontrol
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/rest
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/api/meta
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/discovery
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/apps/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/batch/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/reference
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/core/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/networking/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/storage/v1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1
github.com/heptio/sonobuoy/vendor/github.com/sirupsen/logrus
github.com/heptio/sonobuoy/pkg/errlog
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/kubernetes
github.com/heptio/sonobuoy/vendor/github.com/pkg/errors
github.com/heptio/sonobuoy/vendor/github.com/satori/go.uuid
github.com/heptio/sonobuoy/pkg/templates
github.com/heptio/sonobuoy/vendor/github.com/fsnotify/fsnotify
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/strconv
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/token
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/ast
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/scanner
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/parser
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/json/token
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/json/scanner
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/json/parser
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/printer
github.com/heptio/sonobuoy/vendor/github.com/magiconair/properties
github.com/heptio/sonobuoy/vendor/github.com/mitchellh/mapstructure
github.com/heptio/sonobuoy/pkg/plugin
github.com/heptio/sonobuoy/vendor/github.com/pelletier/go-toml
github.com/heptio/sonobuoy/pkg/plugin/driver
github.com/heptio/sonobuoy/pkg/plugin/driver/utils
github.com/heptio/sonobuoy/vendor/github.com/spf13/afero/mem
github.com/heptio/sonobuoy/vendor/github.com/spf13/afero
github.com/heptio/sonobuoy/pkg/plugin/driver/daemonset
github.com/heptio/sonobuoy/pkg/plugin/driver/job
github.com/heptio/sonobuoy/vendor/github.com/spf13/cast
github.com/heptio/sonobuoy/vendor/github.com/spf13/jwalterweatherman
github.com/heptio/sonobuoy/vendor/github.com/spf13/pflag
github.com/heptio/sonobuoy/pkg/plugin/loader
github.com/heptio/sonobuoy/vendor/github.com/spf13/viper
github.com/heptio/sonobuoy/vendor/github.com/gorilla/mux
github.com/heptio/sonobuoy/pkg/config
github.com/heptio/sonobuoy/pkg/backplane/ca
github.com/heptio/sonobuoy/pkg/tarball
github.com/heptio/sonobuoy/pkg/plugin/aggregation
github.com/heptio/sonobuoy/vendor/github.com/rifflock/lfshook
github.com/heptio/sonobuoy/vendor/github.com/viniciuschiele/tarx
github.com/heptio/sonobuoy/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions
github.com/heptio/sonobuoy/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1
github.com/heptio/sonobuoy/vendor/github.com/onsi/ginkgo/config
github.com/heptio/sonobuoy/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable
github.com/heptio/sonobuoy/vendor/github.com/onsi/ginkgo/types
github.com/heptio/sonobuoy/vendor/github.com/onsi/ginkgo/reporters/stenographer
github.com/heptio/sonobuoy/vendor/github.com/onsi/ginkgo/reporters
github.com/heptio/sonobuoy/pkg/client/results/e2e
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/httpstream
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/remotecommand
github.com/heptio/sonobuoy/vendor/github.com/docker/spdystream/spdy
github.com/heptio/sonobuoy/vendor/github.com/docker/spdystream
github.com/heptio/sonobuoy/vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/scheme
github.com/heptio/sonobuoy/vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/third_party/forked/golang/netutil
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy
github.com/heptio/sonobuoy/vendor/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/transport/spdy
github.com/heptio/sonobuoy/pkg/discovery
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/exec
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/remotecommand
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/dynamic
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/restmapper
github.com/heptio/sonobuoy/pkg/dynamic
github.com/heptio/sonobuoy/vendor/github.com/sethgrid/pester
github.com/heptio/sonobuoy/pkg/client/results
github.com/heptio/sonobuoy/pkg/worker
github.com/heptio/sonobuoy/vendor/github.com/imdario/mergo
github.com/heptio/sonobuoy/vendor/github.com/spf13/cobra
github.com/heptio/sonobuoy/pkg/client
github.com/heptio/sonobuoy/vendor/golang.org/x/net/context
github.com/heptio/sonobuoy/vendor/golang.org/x/sync/errgroup
github.com/heptio/sonobuoy/vendor/github.com/Azure/go-autorest/autorest/date
github.com/heptio/sonobuoy/vendor/github.com/dgrijalva/jwt-go
github.com/heptio/sonobuoy/vendor/github.com/Azure/go-autorest/autorest/adal
github.com/heptio/sonobuoy/vendor/github.com/Azure/go-autorest/autorest
github.com/heptio/sonobuoy/vendor/golang.org/x/net/context/ctxhttp
github.com/heptio/sonobuoy/vendor/golang.org/x/oauth2/internal
github.com/heptio/sonobuoy/vendor/golang.org/x/oauth2
github.com/heptio/sonobuoy/vendor/github.com/Azure/go-autorest/autorest/azure
github.com/heptio/sonobuoy/vendor/cloud.google.com/go/compute/metadata
github.com/heptio/sonobuoy/vendor/golang.org/x/oauth2/jws
github.com/heptio/sonobuoy/vendor/golang.org/x/oauth2/jwt
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth/azure
github.com/heptio/sonobuoy/vendor/golang.org/x/oauth2/google
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/third_party/forked/golang/template
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/jsonpath
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/auth
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/clientcmd/api/v1
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/pagination
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/openstack/utils
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/clientcmd/api/latest
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/homedir
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/tools/clientcmd
github.com/heptio/sonobuoy/vendor/github.com/gophercloud/gophercloud/openstack
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/plugin/pkg/client/auth
github.com/heptio/sonobuoy/cmd/sonobuoy/app
github.com/heptio/sonobuoy
进入源码目录,使用sonobuoy run启动,不过遇到了问题,就是无法拉取镜像,可能是墙的原因。
[root@localhost ~]# cd go/
[root@localhost go]# ls
bin pkg src
[root@localhost go]# cd bin/
[root@localhost bin]# ls
sonobuoy
[root@localhost bin]# ./sonobuoy run
Running plugins: e2e, systemd-logs
INFO[0000] created object name=heptio-sonobuoy namespace= resource=namespaces
INFO[0000] created object name=sonobuoy-serviceaccount namespace=heptio-sonobuoy resource=serviceaccounts
INFO[0000] created object name=sonobuoy-serviceaccount-heptio-sonobuoy namespace= resource=clusterrolebindings
INFO[0000] created object name=sonobuoy-serviceaccount namespace= resource=clusterroles
INFO[0000] created object name=sonobuoy-config-cm namespace=heptio-sonobuoy resource=configmaps
INFO[0000] created object name=sonobuoy-plugins-cm namespace=heptio-sonobuoy resource=configmaps
INFO[0001] created object name=sonobuoy namespace=heptio-sonobuoy resource=pods
INFO[0001] created object name=sonobuoy-master namespace=heptio-sonobuoy resource=services
查看状态,没有起来
root@localhost bin]# ./sonobuoy status
ERRO[0000] error attempting to run sonobuoy: pod has status "Pending"
[root@localhost bin]# ./sonobuoy status
ERRO[0000] error attempting to run sonobuoy: pod has status "Pending"
[root@localhost bin]# ./sonobuoy status
ERRO[0000] error attempting to run sonobuoy: pod has status "Pending"
heptio-sonobuoy sonobuoy 0/1 ErrImagePull
查看sonobuoy详细的信息
[root@localhost bin]# kubectl describe pod sonobuoy --namespace=heptio-sonobuoy
Name: sonobuoy
Namespace: heptio-sonobuoy
Node: 10.0.60.51/10.0.60.51
Start Time: Thu, 29 Nov 2018 17:12:24 +0800
Labels: component=sonobuoy
run=sonobuoy-master
tier=analysis
Annotations: <none>
Status: Pending
IP: 172.20.0.102
Containers:
kube-sonobuoy:
Container ID:
Image: gcr.io/heptio-images/sonobuoy:v0.12.1
Image ID:
Port: <none>
Host Port: <none>
Command:
/bin/bash
-c
/sonobuoy master --no-exit=true -v 3 --logtostderr
State: Waiting
Reason: ImagePullBackOff
Ready: False
Restart Count: 0
Environment:
SONOBUOY_ADVERTISE_IP: (v1:status.podIP)
Mounts:
/etc/sonobuoy from sonobuoy-config-volume (rw)
/plugins.d from sonobuoy-plugins-volume (rw)
/tmp/sonobuoy from output-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from sonobuoy-serviceaccount-token-t6dt2 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
sonobuoy-config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sonobuoy-config-cm
Optional: false
sonobuoy-plugins-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sonobuoy-plugins-cm
Optional: false
output-volume:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
sonobuoy-serviceaccount-token-t6dt2:
Type: Secret (a volume populated by a Secret)
SecretName: sonobuoy-serviceaccount-token-t6dt2
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 6m6s default-scheduler Successfully assigned heptio-sonobuoy/sonobuoy to 10.0.60.51
Normal Pulling 3m49s (x4 over 6m4s) kubelet, 10.0.60.51 pulling image "gcr.io/heptio-images/sonobuoy:v0.12.1"
Warning Failed 3m34s (x4 over 5m49s) kubelet, 10.0.60.51 Failed to pull image "gcr.io/heptio-images/sonobuoy:v0.12.1": rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Warning Failed 3m34s (x4 over 5m49s) kubelet, 10.0.60.51 Error: ErrImagePull
Normal BackOff 3m8s (x6 over 5m48s) kubelet, 10.0.60.51 Back-off pulling image "gcr.io/heptio-images/sonobuoy:v0.12.1"
Warning Failed 59s (x14 over 5m48s) kubelet, 10.0.60.51 Error: ImagePullBackOff
所有评论(0)