-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplify KIP doc Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Add pages about configuring image-puller Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fixes Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update modules/administration-guide/pages/configuring-image-puller-to-pre-pull-custom-images.adoc Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com> --------- Signed-off-by: Anatolii Bazko <abazko@redhat.com> Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
- Loading branch information
1 parent
f49093f
commit da122d5
Showing
11 changed files
with
178 additions
and
274 deletions.
There are no files selected for viewing
7 changes: 0 additions & 7 deletions
7
modules/administration-guide/examples/snip_che-cloning-image-puller-project.adoc
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...tration-guide/pages/configuring-image-puller-to-pre-pull-additional-images.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
:_content-type: PROCEDURE | ||
:description: Configuring {image-puller-name-short} to pre-pull additional images | ||
:keywords: administration-guide, image-puller, CLI | ||
:navtitle: Configuring {image-puller-name-short} to pre-pull additional images | ||
:page-aliases: | ||
|
||
[id="configuring-image-puller-to-pre-pull-additional-images"] | ||
= Configuring {image-puller-name-short} to pre-pull additional images | ||
|
||
You can configure {image-puller-name} to pre-pull additional {prod-short} images. | ||
|
||
.Prerequisites | ||
|
||
* Your organization's instance of {prod-short} is installed and running on {kubernetes} cluster. | ||
|
||
* {image-puller-name-short} is installed on {kubernetes} cluster. | ||
|
||
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}. | ||
|
||
.Procedure | ||
|
||
. Create `{image-puller-namespace}` namespace: | ||
+ | ||
[source,shell,subs="+attributes,"] | ||
---- | ||
{orch-cli} create namespace {image-puller-namespace} | ||
---- | ||
|
||
. Create `{image-puller-cr-name}` Custom Resource: | ||
+ | ||
[source,shell,subs="+attributes,"] | ||
---- | ||
{orch-cli} apply -f - <<EOF | ||
apiVersion: che.eclipse.org/v1alpha1 | ||
kind: KubernetesImagePuller | ||
metadata: | ||
name: k8s-image-puller-images | ||
namespace: {image-puller-namespace} | ||
spec: | ||
images: "__NAME-1__=__IMAGE-1__;__NAME-2__=__IMAGE-2__" <1> | ||
EOF | ||
---- | ||
<1> The semicolon separated list of images | ||
|
||
.Addition resources | ||
|
||
* https://github.com/che-incubator/kubernetes-image-puller[{image-puller-name} source code repository] | ||
|
||
* https://github.com/che-incubator/kubernetes-image-puller-operator[{image-puller-operator-name} source code repository] | ||
|
42 changes: 42 additions & 0 deletions
42
...inistration-guide/pages/configuring-image-puller-to-pre-pull-custom-images.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
:_content-type: PROCEDURE | ||
:description: Configuring {image-puller-name-short} to pre-pull custom images | ||
:keywords: administration-guide, image-puller, CLI | ||
:navtitle: Configuring {image-puller-name-short} to pre-pull custom images | ||
:page-aliases: | ||
|
||
[id="configuring-image-puller-to-pre-pull-custom-images"] | ||
= Configuring {image-puller-name-short} to pre-pull custom images | ||
|
||
You can configure {image-puller-name} to pre-pull custom images. | ||
|
||
.Prerequisites | ||
|
||
* Your organization's instance of {prod-short} is installed and running on {kubernetes} cluster. | ||
|
||
* {image-puller-name-short} is installed on {kubernetes} cluster. | ||
|
||
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}. | ||
|
||
.Procedure | ||
|
||
. Configure the {image-puller-name-short} to pre-pull custom images. | ||
+ | ||
[source,shell,subs="+attributes,+quotes"] | ||
---- | ||
{orch-cli} patch checluster/{prod-checluster} \ | ||
--namespace {prod-namespace} \ | ||
--type='merge' \ | ||
--patch '{ | ||
"spec": { | ||
"components": { | ||
"imagePuller": { | ||
"enable": true, | ||
"spec": { | ||
"images": "__NAME-1__=__IMAGE-1__;__NAME-2__=__IMAGE-2__" <1> | ||
} | ||
} | ||
} | ||
} | ||
}' | ||
---- | ||
<1> The semicolon separated list of images |
40 changes: 40 additions & 0 deletions
40
...ration-guide/pages/configuring-image-puller-to-pre-pull-default-che-images.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
:_content-type: PROCEDURE | ||
:description: Configuring {image-puller-name-short} to pre-pull default {prod-short} images | ||
:keywords: administration-guide, image-puller, CLI | ||
:navtitle: Configuring {image-puller-name-short} to pre-pull default {prod-short} images | ||
:page-aliases: | ||
|
||
[id="configuring-image-puller-to-pre-pull-default-che-images"] | ||
= Configuring {image-puller-name-short} to pre-pull default {prod-short} images | ||
|
||
You can configure {image-puller-name} to pre-pull default {prod-short} images. | ||
{prod} operator will control the list of images to pre-pull and automatically updates them | ||
on {prod-short} upgrade. | ||
|
||
.Prerequisites | ||
|
||
* Your organization's instance of {prod-short} is installed and running on {kubernetes} cluster. | ||
|
||
* {image-puller-name-short} is installed on {kubernetes} cluster. | ||
|
||
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}. | ||
|
||
.Procedure | ||
|
||
. Configure the {image-puller-name-short} to pre-pull {prod-short} images. | ||
+ | ||
[source,shell,subs="+attributes,"] | ||
---- | ||
{orch-cli} patch checluster/{prod-checluster} \ | ||
--namespace {prod-namespace} \ | ||
--type='merge' \ | ||
--patch '{ | ||
"spec": { | ||
"components": { | ||
"imagePuller": { | ||
"enable": true | ||
} | ||
} | ||
} | ||
}' | ||
---- |
20 changes: 0 additions & 20 deletions
20
modules/administration-guide/pages/defining-the-list-of-images-to-pull.adoc
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
...nistration-guide/pages/defining-the-memory-parameters-for-the-image-puller.adoc
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...inistration-guide/pages/installing-image-puller-on-kubernetes-by-using-cli.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
:_content-type: PROCEDURE | ||
:description: Installing the {image-puller-name} operator on {kubernetes} cluster by using CLI | ||
:keywords: administration-guide, image-puller, operator, CLI | ||
:navtitle: Installing the {image-puller-name} operator on {kubernetes} cluster by using CLI | ||
:page-aliases: .:installing-image-puller-on-openshift-using-openshift-templates.adoc,installing-image-puller-on-openshift-using-openshift-templates.adoc | ||
|
||
[id="installing-image-puller-on-kubernetes-cluster-by-using-the-cli"] | ||
= Installing {image-puller-name-short} operator on {kubernetes} cluster by using CLI | ||
|
||
You can install the {image-puller-name} operator on {kubernetes} cluster by using CLI. | ||
|
||
.Prerequisites | ||
|
||
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}. | ||
|
||
.Procedure | ||
|
||
. Visit link:https://operatorhub.io/operator/kubernetes-imagepuller-operator[{image-puller-operator-name}] page. | ||
|
||
. Click the `Install` button and follow the instruction. | ||
|
||
.Addition resources | ||
|
||
* https://github.com/che-incubator/kubernetes-image-puller-operator[{image-puller-operator-name} source code repository] |
12 changes: 4 additions & 8 deletions
12
...r-on-openshift-using-the-web-console.adoc → ...n-openshift-by-using-the-web-console.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.