124 lines
2.9 KiB
TypeScript
124 lines
2.9 KiB
TypeScript
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
|
|
|
|
const sidebars: SidebarsConfig = {
|
|
troubleshootingSidebar: [
|
|
'README',
|
|
{
|
|
type: 'category',
|
|
label: '排障技能',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/skill'
|
|
},
|
|
items: [
|
|
'skill/linux',
|
|
'skill/enter-netns-with-nsenter',
|
|
'skill/remote-capture-with-ksniff',
|
|
'skill/use-systemtap-to-locate-problems',
|
|
'skill/tcpdump',
|
|
'skill/wireshark',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Pod 排障',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/pod'
|
|
},
|
|
items: [
|
|
'pod/healthcheck-failed',
|
|
'pod/device-or-resource-busy',
|
|
{
|
|
type: 'category',
|
|
label: 'Pod 状态异常',
|
|
collapsed: true,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/pod/status'
|
|
},
|
|
items: [
|
|
'pod/status/intro',
|
|
'pod/status/pod-terminating',
|
|
'pod/status/pod-pending',
|
|
'pod/status/pod-containercreating-or-waiting',
|
|
'pod/status/pod-crash',
|
|
'pod/status/pod-imagepullbackoff',
|
|
],
|
|
}
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '节点排障',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/node'
|
|
},
|
|
items: [
|
|
'node/node-crash-and-vmcore',
|
|
'node/node-high-load',
|
|
'node/io-high-load',
|
|
'node/memory-fragmentation',
|
|
'node/disk-full',
|
|
'node/pid-full',
|
|
'node/arp-cache-overflow',
|
|
'node/runnig-out-of-inotify-watches',
|
|
'node/kernel-solft-lockup',
|
|
'node/no-space-left-on-device',
|
|
'node/ipvs-no-destination-available',
|
|
'node/cadvisor-no-data',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '网络排障',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/network'
|
|
},
|
|
items: [
|
|
'network/timeout',
|
|
'network/packet-loss',
|
|
'network/network-unreachable',
|
|
'network/slow-network-traffic',
|
|
'network/dns-exception',
|
|
'network/close-wait-stacking',
|
|
'network/traffic-surge',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '存储排障',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/storage'
|
|
},
|
|
items: [
|
|
'storage/unable-to-mount-volumes',
|
|
'storage/setup-failed-for-volume',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '集群排障',
|
|
collapsed: false,
|
|
link: {
|
|
type: 'generated-index',
|
|
slug: '/cluster'
|
|
},
|
|
items: [
|
|
'cluster/namespace-terminating',
|
|
],
|
|
},
|
|
"sdk",
|
|
],
|
|
};
|
|
|
|
export default sidebars;
|