mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-30 23:06:27 +00:00
If no namespace field in config files, CRI-O will failed: setting pod sandbox name and id: cannot generate pod name without namespace Signed-off-by: bin liu <bin@hyper.sh>
37 lines
566 B
JSON
37 lines
566 B
JSON
{
|
|
"metadata": {
|
|
"name": "redis-server",
|
|
"namespace": "test.kata"
|
|
},
|
|
"image": {
|
|
"image": "docker.io/library/redis:6.0.8-alpine"
|
|
},
|
|
"envs": [
|
|
{
|
|
"key": "PATH",
|
|
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
},
|
|
{
|
|
"key": "TERM",
|
|
"value": "xterm"
|
|
}
|
|
],
|
|
"labels": {
|
|
"tier": "backend"
|
|
},
|
|
"annotations": {
|
|
"pod": "redis-server-pod"
|
|
},
|
|
"log_path": "",
|
|
"stdin": false,
|
|
"stdin_once": false,
|
|
"tty": false,
|
|
"linux": {
|
|
"resources": {
|
|
"memory_limit_in_bytes": 524288000
|
|
},
|
|
"security_context": {
|
|
}
|
|
}
|
|
}
|