diff --git a/7.2/Advanced/airgapped/index.html b/7.2/Advanced/airgapped/index.html index b8b16a3..3924db5 100644 --- a/7.2/Advanced/airgapped/index.html +++ b/7.2/Advanced/airgapped/index.html @@ -14,14 +14,14 @@
If --containerd-namespace
is not specified, images will be imported into k8s.io
namespace.
sudo
required
Depending on how containerd
has been installed and configured it may require running the above command with sudo
mindthegap push bundle --bundle <path/to/bundle.tar> \
--to-registry <registry.address> \
[--to-registry-insecure-skip-tls-verify]
-
It is possible with containerd
to pull images, save them and load them either into a Container Registry in the air gapped environment or directly into another containerd
instance.
If the target containerd
is on a node running a Kubernetes Cluster then these images will be sourced by Kubernetes from the loaded images, via CRI, with no requirement to pull them from an external source e.g. a Registry or Mirror.
sudo
required
Depending on how containerd
has been installed and configured many of the example calls below may require running with sudo
containerd
to pull and export an image¶Similar to docker pull
we can use ctr image pull
so to pull the core Kinetica DB cpu based image
ctr image pull docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.rc-1
-
We now need to export the pulled image as an archive to the local filesystem.
ctr image export kinetica-k8s-cpu-v7.2.0-5.rc-1.tar \
-docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.rc-1
-
We can now transfer this archive (kinetica-k8s-cpu-v7.2.0-5.rc-1.tar
) to the Kubernetes Node inside the air-gapped environment.
containerd
to import an image¶Using containerd
to import an image on to a Kubernetes Node on which a Kinetica Cluster is running.
-n=k8s.io
It is possible to use ctr images import kinetica-k8s-cpu-v7.2.0-5.rc-1.rc-3.tar
to import the image to containerd
.
However, in order for the image to be visible to the Kubernetes Cluster running on containerd
it is necessary to add the parameter -n=k8s.io
.
To verify the image is loaded into containerd
on the node run the following on the node: -
It is possible with containerd
to pull images, save them and load them either into a Container Registry in the air gapped environment or directly into another containerd
instance.
If the target containerd
is on a node running a Kubernetes Cluster then these images will be sourced by Kubernetes from the loaded images, via CRI, with no requirement to pull them from an external source e.g. a Registry or Mirror.
sudo
required
Depending on how containerd
has been installed and configured many of the example calls below may require running with sudo
containerd
to pull and export an image¶Similar to docker pull
we can use ctr image pull
so to pull the core Kinetica DB cpu based image
ctr image pull docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.ga-3
+
We now need to export the pulled image as an archive to the local filesystem.
ctr image export kinetica-k8s-cpu-v7.2.0-5.ga-3.tar \
+docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.ga-3
+
We can now transfer this archive (kinetica-k8s-cpu-v7.2.0-5.ga-3.tar
) to the Kubernetes Node inside the air-gapped environment.
containerd
to import an image¶Using containerd
to import an image on to a Kubernetes Node on which a Kinetica Cluster is running.
-n=k8s.io
It is possible to use ctr images import kinetica-k8s-cpu-v7.2.0-5.ga-3.rc-3.tar
to import the image to containerd
.
However, in order for the image to be visible to the Kubernetes Cluster running on containerd
it is necessary to add the parameter -n=k8s.io
.
To verify the image is loaded into containerd
on the node run the following on the node: -
To verify the image is visible to Kubernetes on the node run the following: -
It is possible with docker
to pull images, save them and load them into an OCI Container Registry in the air gapped environment.
docker pull --platformlinux/amd64 docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.rc-1
-
docker export --platformlinux/amd64 -o kinetica-k8s-cpu-v7.2.0-5.rc-1.tar \
-docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.rc-1
-
We can now transfer this archive (kinetica-k8s-cpu-v7.2.0-5.rc-1.rc-3.tar
) to the Kubernetes Node inside the air-gapped environment.
docker
to import an image¶Using docker
to import an image on to a Kubernetes Node on which a Kinetica Cluster is running.
It is possible with docker
to pull images, save them and load them into an OCI Container Registry in the air gapped environment.
docker pull --platformlinux/amd64 docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.ga-3
+
docker export --platformlinux/amd64 -o kinetica-k8s-cpu-v7.2.0-5.ga-3.tar \
+docker.io/kineticastagingcloud/kinetica-k8s-cpu:v7.2.0-5.ga-3
+
We can now transfer this archive (kinetica-k8s-cpu-v7.2.0-5.ga-3.rc-3.tar
) to the Kubernetes Node inside the air-gapped environment.
docker
to import an image¶Using docker
to import an image on to a Kubernetes Node on which a Kinetica Cluster is running.