I am trying to update an existing pod with :
/opt/bin/kubecfg -c framework-dev.json update pods/app-instance-dev
but as soon as I run the above command I get an error :
F1010 01:49:29.804442 21400 kubecfg.go:395] Got request error: unimplemented!
Original pod:
{
"id": "app-instance-dev",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "app-instance-dev",
"containers": [{
"name": "framework",
"image": "registry.domain/dev-framework",
"ports": [{
"containerPort": 80,
"hostPort": 80
}],
"volumeMounts": [{"name": "data", "mountPath":"/data"}],
"imagePullPolicy": "PullIfNotPresent",
}],
"volumes": [{
"name": "data",
"source": {"emptyDir": {}}
}]
}
},
"labels": {
"name": "app-instance"
}
}
new pod :
{
"id": "app-instance-dev",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "app-instance-dev",
"containers": [{
"name": "framework",
"image": "registry.domain/dev-framework:v0.1.1",
"ports": [{
"containerPort": 80,
"hostPort": 80
}],
"volumeMounts": [{"name": "data", "mountPath":"/data"}],
"imagePullPolicy": "PullIfNotPresent",
}],
"volumes": [{
"name": "data",
"source": {"emptyDir": {}}
}]
}
},
"labels": {
"name": "app-instance"
}
}
Only difference is that new pod is retrieving a new image tag.
Does that mean that this functionality is not implemented yet ? if so is there then no way to update a POD ??? that seems a pretty essential functionality. Maybe I am missing something here ?
Thanks
I am trying to update an existing pod with :
/opt/bin/kubecfg -c framework-dev.json update pods/app-instance-devbut as soon as I run the above command I get an error :
F1010 01:49:29.804442 21400 kubecfg.go:395] Got request error: unimplemented!Original pod:
{ "id": "app-instance-dev", "kind": "Pod", "apiVersion": "v1beta1", "desiredState": { "manifest": { "version": "v1beta1", "id": "app-instance-dev", "containers": [{ "name": "framework", "image": "registry.domain/dev-framework", "ports": [{ "containerPort": 80, "hostPort": 80 }], "volumeMounts": [{"name": "data", "mountPath":"/data"}], "imagePullPolicy": "PullIfNotPresent", }], "volumes": [{ "name": "data", "source": {"emptyDir": {}} }] } }, "labels": { "name": "app-instance" } }new pod :
{ "id": "app-instance-dev", "kind": "Pod", "apiVersion": "v1beta1", "desiredState": { "manifest": { "version": "v1beta1", "id": "app-instance-dev", "containers": [{ "name": "framework", "image": "registry.domain/dev-framework:v0.1.1", "ports": [{ "containerPort": 80, "hostPort": 80 }], "volumeMounts": [{"name": "data", "mountPath":"/data"}], "imagePullPolicy": "PullIfNotPresent", }], "volumes": [{ "name": "data", "source": {"emptyDir": {}} }] } }, "labels": { "name": "app-instance" } }Only difference is that new pod is retrieving a new image tag.
Does that mean that this functionality is not implemented yet ? if so is there then no way to update a POD ??? that seems a pretty essential functionality. Maybe I am missing something here ?
Thanks