Skip to content

Commit b3df519

Browse files
committed
OSDOCS-8778: refactor Running apps book
1 parent 6b079c5 commit b3df519

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,20 +428,20 @@ Name: Running applications
428428
Dir: microshift_running_apps
429429
Distros: microshift
430430
Topics:
431+
- Name: Using Kustomize to deploy applications
432+
File: microshift-applications
431433
- Name: Embedding applications on RHEL for Edge
432434
File: microshift-embedded-apps-on-rhel-edge
433435
- Name: Embedding applications for offline use
434436
File: microshift-embed-apps-offline-use
435437
- Name: Embedding applications tutorial
436438
File: microshift-embedding-apps-tutorial
437-
- Name: Deploying applications
438-
File: microshift-applications
439-
- Name: Using operators
440-
File: microshift-operators
441-
- Name: Greenboot workload health check scripts
439+
- Name: Creating application or workload health check scripts
442440
File: microshift-greenboot-workload-scripts
443441
- Name: Pod security authentication and authorization
444442
File: microshift-authentication
443+
- Name: Using Operators
444+
File: microshift-operators
445445
---
446446
Name: Backup and restore
447447
Dir: microshift_backup_and_restore

microshift_running_apps/microshift-applications.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="applications-with-microshift"]
3-
= Application deployment with {microshift-short}
3+
= Using Kustomize manifests to deploy applications
44
include::_attributes/attributes-microshift.adoc[]
55
:context: applications-microshift
66

77
toc::[]
88

9-
You can use the `kustomize` configuration management tool to deploy applications. Read through the following procedure for an example of how this tool works in {microshift-short}.
9+
You can use the `kustomize` configuration management tool with application manifests to deploy applications. Read through the following procedures for an example of how Kustomize works in {microshift-short}.
1010

1111
include::modules/microshift-manifests-overview.adoc[leveloffset=+1]
1212

microshift_running_apps/microshift-operators.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Operators offer a more localized configuration experience and integrate with Kub
1515
[id="how-to-install-operators_{context}"]
1616
== How to install Operators in {microshift-short}
1717

18-
To minimize the footprint of {microshift-short}, Operators are installed directly with manifests instead of using the Operator Lifecycle Manager (OLM). You can use the `kustomize` configuration management tool with {microshift-short} to deploy an application. Use the same steps to install Operators with manifests. Read xref:../microshift_running_apps/microshift-applications.adoc#microshift-manifests-overview_applications-microshift[Application deployment with {microshift-short}] for more information about manifests.
18+
To minimize the footprint of {microshift-short}, Operators are installed directly with manifests instead of using the Operator Lifecycle Manager (OLM). You can use the `kustomize` configuration management tool with {microshift-short} to deploy an application. Use the same steps to install Operators with manifests. Read xref:../microshift_running_apps/microshift-applications.adoc#microshift-manifests-overview_applications-microshift[Using Kustomize manifests to deploy applications] for more information about manifests.

modules/microshift-manifests-overview.adoc

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,33 @@
44

55
:_mod-docs-content-type: CONCEPT
66
[id="microshift-manifests-overview_{context}"]
7-
= How manifests work with kustomize
7+
= How Kustomize works with manifests to deploy applications
88

9-
The `kustomize` configuration management tool is integrated with {microshift-short}. At every start, {microshift-short} searches the `/etc/microshift/manifests`, `/etc/microshift/manifests.d/++*++`, `/usr/lib/microshift/`, and `/usr/lib/microshift/manifests.d/++*++` manifest directories for a `kustomization.yaml`, `kustomization.yml`, or `Kustomization` file. If it finds one, {microshift-short} automatically runs the equivalent of the `kubectl apply -k` command to apply the identified manifests to the cluster.
9+
The `kustomize` configuration management tool is integrated with {microshift-short}. You can use Kustomize and the {oc-first} together to apply customizations to your application manifests and deploy those applications to a {microshift-short} cluster.
1010

11-
Loading from multiple directories allows you to manage {microshift-short} workloads with more flexibility. Different workloads can be independent of each other.
11+
* A `kustomization.yaml` file is a specification of resources plus customizations.
12+
* Kustomize uses a `kustomization.yaml` file to load a resource, such as an application, then applies any changes you want to that application manifest and produces a copy of the manifest with the changes overlaid.
13+
* Using a manifest copy with an overlay keeps the original configuration file for your application intact, while enabling you to deploy iterations and customizations of your applications efficiently.
14+
* You can then deploy the application in your {microshift-short} cluster with an `oc` command.
15+
16+
[id="how-microshift-uses-manifests"]
17+
== How {microshift-short} uses manifests
18+
At every start, {microshift-short} searches the following manifest directories for Kustomize manifest files:
19+
20+
* `/etc/microshift/manifests`
21+
* `/etc/microshift/manifests.d/++*++`
22+
* `/usr/lib/microshift/
23+
* `/usr/lib/microshift/manifests.d/++*++`
24+
25+
{microshift-short} automatically runs the equivalent of the `kubectl apply -k` command to apply the manifests to the cluster if any of the following file types exists in the searched directories:
26+
27+
* `kustomization.yaml`
28+
* `kustomization.yml`
29+
* `Kustomization`
30+
31+
This automatic loading from multiple directories means you can manage {microshift-short} workloads with the flexibility of having different workloads run independently of each other.
32+
33+
.{microshift-short} manifest directories
1234

1335
[cols="2",options="header"]
1436
|===

0 commit comments

Comments
 (0)