mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
docs: add namespace key to pod/container config files
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>
This commit is contained in:
parent
9a02e6eb88
commit
9834a766aa
@ -1,6 +1,7 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "busybox-container"
|
||||
"name": "busybox-container",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"image": {
|
||||
"image": "docker.io/library/busybox:latest"
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "busybox-pod",
|
||||
"uid": "busybox-pod"
|
||||
"uid": "busybox-pod",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"hostname": "busybox_host",
|
||||
"log_directory": "",
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "redis-client"
|
||||
"name": "redis-client",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"image": {
|
||||
"image": "docker.io/library/redis:6.0.8-alpine"
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "redis-client-pod",
|
||||
"uid": "test-redis-client-pod"
|
||||
"uid": "test-redis-client-pod",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"hostname": "redis-client",
|
||||
"log_directory": "",
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "redis-server"
|
||||
"name": "redis-server",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"image": {
|
||||
"image": "docker.io/library/redis:6.0.8-alpine"
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "redis-server-pod",
|
||||
"uid": "test-redis-server-pod"
|
||||
"uid": "test-redis-server-pod",
|
||||
"namespace": "test.kata"
|
||||
},
|
||||
"hostname": "redis-server",
|
||||
"log_directory": "",
|
||||
|
Loading…
Reference in New Issue
Block a user