Update crictl doc
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
parent
690ae58ca7
commit
32d431a7cb
@ -159,8 +159,8 @@ container and `rm ID` to remove a container.
|
|||||||
$ crictl version
|
$ crictl version
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
RuntimeName: containerd
|
RuntimeName: containerd
|
||||||
RuntimeVersion: 1.0.0-beta.1-186-gdd47a72-TEST
|
RuntimeVersion: v1.7.0
|
||||||
RuntimeApiVersion: v1alpha2
|
RuntimeApiVersion: v1
|
||||||
```
|
```
|
||||||
## Display Status & Configuration Information about Containerd & The CRI Plugin
|
## Display Status & Configuration Information about Containerd & The CRI Plugin
|
||||||
```console
|
```console
|
||||||
@ -182,33 +182,148 @@ $ crictl info
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"cniconfig": {
|
||||||
|
"PluginDirs": [
|
||||||
|
"/opt/cni/bin"
|
||||||
|
],
|
||||||
|
"PluginConfDir": "/etc/cni/net.d",
|
||||||
|
"PluginMaxConfNum": 1,
|
||||||
|
"Prefix": "eth",
|
||||||
|
"Networks": []
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"containerd": {
|
"containerd": {
|
||||||
"snapshotter": "overlayfs",
|
"snapshotter": "overlayfs",
|
||||||
"runtime": "io.containerd.runtime.v1.linux"
|
"defaultRuntimeName": "runc",
|
||||||
|
"defaultRuntime": {
|
||||||
|
"runtimeType": "",
|
||||||
|
"runtimePath": "",
|
||||||
|
"runtimeEngine": "",
|
||||||
|
"PodAnnotations": [],
|
||||||
|
"ContainerAnnotations": [],
|
||||||
|
"runtimeRoot": "",
|
||||||
|
"options": {},
|
||||||
|
"privileged_without_host_devices": false,
|
||||||
|
"privileged_without_host_devices_all_devices_allowed": false,
|
||||||
|
"baseRuntimeSpec": "",
|
||||||
|
"cniConfDir": "",
|
||||||
|
"cniMaxConfNum": 0,
|
||||||
|
"snapshotter": "",
|
||||||
|
"sandboxMode": ""
|
||||||
|
},
|
||||||
|
"untrustedWorkloadRuntime": {
|
||||||
|
"runtimeType": "",
|
||||||
|
"runtimePath": "",
|
||||||
|
"runtimeEngine": "",
|
||||||
|
"PodAnnotations": [],
|
||||||
|
"ContainerAnnotations": [],
|
||||||
|
"runtimeRoot": "",
|
||||||
|
"options": {},
|
||||||
|
"privileged_without_host_devices": false,
|
||||||
|
"privileged_without_host_devices_all_devices_allowed": false,
|
||||||
|
"baseRuntimeSpec": "",
|
||||||
|
"cniConfDir": "",
|
||||||
|
"cniMaxConfNum": 0,
|
||||||
|
"snapshotter": "",
|
||||||
|
"sandboxMode": ""
|
||||||
|
},
|
||||||
|
"runtimes": {
|
||||||
|
"runc": {
|
||||||
|
"runtimeType": "io.containerd.runc.v2",
|
||||||
|
"runtimePath": "",
|
||||||
|
"runtimeEngine": "",
|
||||||
|
"PodAnnotations": [],
|
||||||
|
"ContainerAnnotations": [],
|
||||||
|
"runtimeRoot": "",
|
||||||
|
"options": {
|
||||||
|
"BinaryName": "",
|
||||||
|
"CriuImagePath": "",
|
||||||
|
"CriuPath": "",
|
||||||
|
"CriuWorkPath": "",
|
||||||
|
"IoGid": 0,
|
||||||
|
"IoUid": 0,
|
||||||
|
"NoNewKeyring": false,
|
||||||
|
"NoPivotRoot": false,
|
||||||
|
"Root": "",
|
||||||
|
"ShimCgroup": "",
|
||||||
|
"SystemdCgroup": false
|
||||||
|
},
|
||||||
|
"privileged_without_host_devices": false,
|
||||||
|
"privileged_without_host_devices_all_devices_allowed": false,
|
||||||
|
"baseRuntimeSpec": "",
|
||||||
|
"cniConfDir": "",
|
||||||
|
"cniMaxConfNum": 0,
|
||||||
|
"snapshotter": "",
|
||||||
|
"sandboxMode": "podsandbox"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"noPivot": false,
|
||||||
|
"disableSnapshotAnnotations": true,
|
||||||
|
"discardUnpackedLayers": false,
|
||||||
|
"ignoreBlockIONotEnabledErrors": false,
|
||||||
|
"ignoreRdtNotEnabledErrors": false
|
||||||
},
|
},
|
||||||
"cni": {
|
"cni": {
|
||||||
"binDir": "/opt/cni/bin",
|
"binDir": "/opt/cni/bin",
|
||||||
"confDir": "/etc/cni/net.d"
|
"confDir": "/etc/cni/net.d",
|
||||||
|
"maxConfNum": 1,
|
||||||
|
"setupSerially": false,
|
||||||
|
"confTemplate": "",
|
||||||
|
"ipPref": ""
|
||||||
},
|
},
|
||||||
"registry": {
|
"registry": {
|
||||||
"mirrors": {
|
"configPath": "",
|
||||||
"docker.io": {
|
"mirrors": {},
|
||||||
"endpoint": [
|
"configs": {},
|
||||||
"https://registry-1.docker.io"
|
"auths": {},
|
||||||
]
|
"headers": {}
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"streamServerPort": "10010",
|
"imageDecryption": {
|
||||||
"sandboxImage": "registry.k8s.io/pause:3.7",
|
"keyModel": "node"
|
||||||
|
},
|
||||||
|
"disableTCPService": true,
|
||||||
|
"streamServerAddress": "127.0.0.1",
|
||||||
|
"streamServerPort": "0",
|
||||||
|
"streamIdleTimeout": "4h0m0s",
|
||||||
|
"enableSelinux": false,
|
||||||
|
"selinuxCategoryRange": 1024,
|
||||||
|
"sandboxImage": "registry.k8s.io/pause:3.8",
|
||||||
"statsCollectPeriod": 10,
|
"statsCollectPeriod": 10,
|
||||||
"containerdRootDir": "/var/lib/containerd",
|
"systemdCgroup": false,
|
||||||
"containerdEndpoint": "unix:///run/containerd/containerd.sock",
|
"enableTLSStreaming": false,
|
||||||
"rootDir": "/var/lib/containerd/io.containerd.grpc.v1.cri",
|
"x509KeyPairStreaming": {
|
||||||
"stateDir": "/run/containerd/io.containerd.grpc.v1.cri",
|
"tlsCertFile": "",
|
||||||
|
"tlsKeyFile": ""
|
||||||
},
|
},
|
||||||
"golang": "go1.10"
|
"maxContainerLogSize": 16384,
|
||||||
|
"disableCgroup": false,
|
||||||
|
"disableApparmor": false,
|
||||||
|
"restrictOOMScoreAdj": false,
|
||||||
|
"maxConcurrentDownloads": 3,
|
||||||
|
"disableProcMount": false,
|
||||||
|
"unsetSeccompProfile": "",
|
||||||
|
"tolerateMissingHugetlbController": true,
|
||||||
|
"disableHugetlbController": true,
|
||||||
|
"device_ownership_from_security_context": false,
|
||||||
|
"ignoreImageDefinedVolumes": false,
|
||||||
|
"netnsMountsUnderStateDir": false,
|
||||||
|
"enableUnprivilegedPorts": false,
|
||||||
|
"enableUnprivilegedICMP": false,
|
||||||
|
"enableCDI": false,
|
||||||
|
"cdiSpecDirs": [
|
||||||
|
"/etc/cdi",
|
||||||
|
"/var/run/cdi"
|
||||||
|
],
|
||||||
|
"imagePullProgressTimeout": "1m0s",
|
||||||
|
"drainExecSyncIOTimeout": "0s",
|
||||||
|
"containerdRootDir": "/var/lib/containerd",
|
||||||
|
"containerdEndpoint": "/run/containerd/containerd.sock",
|
||||||
|
"rootDir": "/var/lib/containerd/io.containerd.grpc.v1.cri",
|
||||||
|
"stateDir": "/run/containerd/io.containerd.grpc.v1.cri"
|
||||||
|
},
|
||||||
|
"golang": "go1.20.2",
|
||||||
|
"lastCNILoadStatus": "OK",
|
||||||
|
"lastCNILoadStatus.default": "OK"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## More Information
|
## More Information
|
||||||
|
Loading…
Reference in New Issue
Block a user