Skip to content

Instantly share code, notes, and snippets.

@vrutkovs
Created October 29, 2018 08:13
Show Gist options
  • Save vrutkovs/6865d6b1f80619b0816f68e2977c8d4b to your computer and use it in GitHub Desktop.
Save vrutkovs/6865d6b1f80619b0816f68e2977c8d4b to your computer and use it in GitHub Desktop.
`fedora:28` static pod is being synced:
Oct 26 15:53:34 vrutkovs-ig-b-xx3g hyperkube[16949]: I1026 15:53:34.275963 16949 kuberuntime_manager.go:441] Syncing Pod "foo-vrutkovs-ig-b-xx3g_default(8479682e4e48fedf263f4549ddf23d37)":
&Pod{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:foo-vrutkovs-ig-b-xx3g,GenerateName:,Namespace:default,SelfLink:/api/v1/namespaces/default/pods/foo-vrutkovs-ig-b-xx3g,UID
:8479682e4e48fedf263f4549ddf23d37,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string
{},Annotations:map[string]string{kubernetes.io/config.hash: 8479682e4e48fedf263f4549ddf23d37,kubernetes.io/config.seen: 2018-10-26T15:51:30.257326779Z,kubernetes.io/config.source: file,},Owne
rReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:PodSpec{Volumes:[],Containers:[{fedora fedora:28 [] [] [] [] [] {map[] map[]} [] [] nil nil nil /dev/termination-log File If
NotPresent nil false false false}],RestartPolicy:Always,TerminationGracePeriodSeconds:*30,ActiveDeadlineSeconds:nil,DNSPolicy:ClusterFirst,NodeSelector:map[string]string{},ServiceAccountName:
,DeprecatedServiceAccount:,NodeName:vrutkovs-ig-b-xx3g,HostNetwork:true,HostPID:false,HostIPC:false,SecurityContext:&PodSecurityContext{SELinuxOptions:nil,RunAsUser:nil,RunAsNonRoot:nil,Suppl
ementalGroups:[],FSGroup:nil,RunAsGroup:nil,Sysctls:[],},ImagePullSecrets:[],Hostname:,Subdomain:,Affinity:nil,SchedulerName:default-scheduler,InitContainers:[],AutomountServiceAccountToken:n
il,Tolerations:[{node-role.kubernetes.io/master Exists NoSchedule <nil>} { Exists NoExecute <nil>}],HostAliases:[],PriorityClassName:,Priority:nil,DNSConfig:nil,ShareProcessNamespace:nil,Re
adinessGates:[],},Status:PodStatus{Phase:Pending,Conditions:[],Message:,Reason:,HostIP:,PodIP:,StartTime:<nil>,ContainerStatuses:[],QOSClass:,InitContainerStatuses:[],NominatedNodeName:,},}
<...>
pod sandbox complains image is empty:
Oct 26 15:53:34 vrutkovs-ig-b-xx3g hyperkube[16949]: E1026 15:53:34.277891 16949 remote_runtime.go:92] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = error crea
ting pod sandbox with name "k8s_foo-vrutkovs-ig-b-xx3g_default_8479682e4e48fedf263f4549ddf23d37_0": "" does not look like a digest or image ID: invalid reference
Oct 26 15:53:34 vrutkovs-ig-b-xx3g hyperkube[16949]: E1026 15:53:34.277942 16949 kuberuntime_sandbox.go:56] CreatePodSandbox for pod "foo-vrutkovs-ig-b-xx3g_default(8479682e4e48fedf263f4549
ddf23d37)" failed: rpc error: code = Unknown desc = error creating pod sandbox with name "k8s_foo-vrutkovs-ig-b-xx3g_default_8479682e4e48fedf263f4549ddf23d37_0": "" does not look like a diges
t or image ID: invalid reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment