PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/0ec538b1.2e4e9a72.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:40:07 UTC 4,486 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["1061"],{195531:function(e,t,s){s.r(t),s.d(t,{frontMatter:()=>i,toc:()=>c,default:()=>a,metadata:()=>n,assets:()=>d,contentTitle:()=>l});var n=JSON.parse('{"id":"troubleshooting/kubernetes-tips","title":"Kubernetes Debugging Tips","description":"Learn tips and tricks related to Kubernetes debugging.","source":"@site/docs/docs-content/troubleshooting/kubernetes-tips.md","sourceDirName":"troubleshooting","slug":"/troubleshooting/kubernetes-tips","permalink":"/troubleshooting/kubernetes-tips","draft":false,"unlisted":false,"editUrl":"https://github.com/spectrocloud/librarium/blob/master/docs/docs-content/troubleshooting/kubernetes-tips.md","tags":[{"inline":true,"label":"k8s-tips","permalink":"/tags/k-8-s-tips"},{"inline":true,"label":"troubleshooting","permalink":"/tags/troubleshooting"}],"version":"current","lastUpdatedAt":1777826507000,"sidebarPosition":0,"frontMatter":{"sidebar_label":"Kubernetes Debugging","title":"Kubernetes Debugging Tips","description":"Learn tips and tricks related to Kubernetes debugging.","icon":"","hide_table_of_contents":false,"sidebar_position":0,"tags":["k8s-tips","troubleshooting"]},"sidebar":"docSidebar","previous":{"title":"Troubleshooting","permalink":"/troubleshooting/"},"next":{"title":"Automation","permalink":"/troubleshooting/automation"}}'),o=s(474848),r=s(884429);let i={sidebar_label:"Kubernetes Debugging",title:"Kubernetes Debugging Tips",description:"Learn tips and tricks related to Kubernetes debugging.",icon:"",hide_table_of_contents:!1,sidebar_position:0,tags:["k8s-tips","troubleshooting"]},l="Kubernetes Debug",d={},c=[{value:"Log Tips",id:"log-tips",level:2}];function u(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"kubernetes-debug",children:"Kubernetes Debug"})}),"\n",(0,o.jsxs)(t.p,{children:["Spectro Cloud provisions standard, upstream Kubernetes clusters using ",(0,o.jsx)(t.code,{children:"kubeadm"})," and ",(0,o.jsx)(t.code,{children:"cluster-api"}),". The official\nKubernetes documentation related to support and troubleshooting are great troubleshooting resources that you should also\nconsider reviewing. The official Kubernetes\n",(0,o.jsx)(t.a,{href:"https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster",children:"debugging guide"})," is about cluster\ntroubleshooting and offers excellent advice on how to resolve common issues that may arise."]}),"\n",(0,o.jsx)(t.h2,{id:"log-tips",children:"Log Tips"}),"\n",(0,o.jsxs)(t.p,{children:["The table below displays useful Kubernetes log types that can aid you in the debugging process. The\n",(0,o.jsx)(t.a,{href:"https://kubernetes.io/docs/concepts/cluster-administration/logging/",children:"Kubernetes Logging Architecture"})," page is a good\nresource you can review to help gain a better understanding of the logging architecture."]}),"\n",(0,o.jsxs)(t.table,{children:[(0,o.jsx)(t.thead,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.th,{children:(0,o.jsx)(t.strong,{children:"Log Type"})}),(0,o.jsx)(t.th,{children:(0,o.jsx)(t.strong,{children:"Access Method"})})]})}),(0,o.jsxs)(t.tbody,{children:[(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{children:"Kubelet"}),(0,o.jsx)(t.td,{children:(0,o.jsx)(t.code,{children:"journalctl -u kubelet"})})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{children:"Container"}),(0,o.jsxs)(t.td,{children:[(0,o.jsx)(t.code,{children:"kubectl logs"})," OR ",(0,o.jsx)(t.code,{children:"/var/log/containers"})," and ",(0,o.jsx)(t.code,{children:"/var/log/pods"})]})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{children:"Previous Container"}),(0,o.jsx)(t.td,{children:(0,o.jsx)(t.code,{children:"kubectl logs <podName> --previous"})})]})]})]})]})}function a(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},884429:function(e,t,s){s.d(t,{R:()=>i,x:()=>l});var n=s(296540);let o={},r=n.createContext(o);function i(e){let t=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.