You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/continuous-delivery/onboard-cd/cd-concepts/services-and-environments-overview.md
+13-14
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@ If you are new to Harness, please review [Harness key concepts](../../../getting
17
17
Services represent your microservices and other workloads. Each service contains a **Service Definition** that defines your deployment artifacts, manifests or specifications, configuration files, and service-specific variables.
18
18
19
19
You can create services from:
20
-
*Account level
21
-
*Organization level
20
+
*An account
21
+
*An Organization
22
22
* Within a pipeline
23
23
* Outside a pipeline
24
24
25
25
### Creating services at an account or organization level
26
26
27
-
You can create a service at an account or organization level from the Harness UI, using APIs or Terraform.
27
+
You can create a service at an account or organization level from the Harness UI using APIs or Terraform.
28
28
29
29
```mdx-code-block
30
30
import Tabs from '@theme/Tabs';
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
34
34
<Tabs>
35
35
<TabItem value="Harness UI" label="Harness UI">
36
36
```
37
-
To create a service at an account and organization level, select **Services**in **Organization Resources**.
37
+
To create a service at an account or organization level, go to **Organization Resources****>Services**.
38
38
39
39
Creating an account level service enables you to manage the service globally across the organizations and projects within the account.
40
40
@@ -150,7 +150,7 @@ service:
150
150
```
151
151
For information about creating a service API, go to [create a service](https://apidocs.harness.io/tag/Services#operation/createServiceV2).
152
152
153
-
The `orgIdentifier` and `projectIdentifier` field definitions are optional, and depend on where you want to create the service. For example, if you create a service at an account level, you will not need org or project identifiers in the post api call payload.
153
+
The `orgIdentifier` and `projectIdentifier` field definitions are optional, and depend on where you want to create the service. For example, if you create a service at an account level, you will not need org or project identifiers in the post API call payload.
154
154
155
155
```mdx-code-block
156
156
</TabItem>
@@ -235,32 +235,31 @@ To create a service from outside of a pipeline, you use **Services** in the navi
235
235
236
236
### Creating services inside a pipeline
237
237
238
-
To create a service from inside of a pipeline, select **New Service** in the **Services** tab of a new CD stage.
238
+
To create a service from inside of a pipeline, select the **Services** tab of a new CD stage, then select **New Service**.
Once the service and its service definition are saved, you can select it in any pipeline.
243
243
244
244
When you select the service in a pipeline, you can select **Edit Service** to edit its **Service Definition**.
245
245
246
-
When you create the new service you define its **Service Definition**. For example, Kubernetes **Service Definition** with a Kubernetes manifest and Docker artifact.
246
+
When you create the new service you define its **Service Definition**. For example, a Kubernetes **Service Definition** with a Kubernetes manifest and Docker artifact.
247
247
248
248
## Environments
249
249
250
250
Environments represent your deployment targets (QA, Prod, etc). Each environment contains one or more **Infrastructure Definitions** that list your target clusters, hosts, namespaces, etc.
251
251
252
252
You can create environments from:
253
-
*Account level
254
-
*Organization level
253
+
*An Account
254
+
*An Organization
255
255
* Within a pipeline
256
256
* Outside a pipeline
257
257
258
258
Next you can define all of its settings:
259
259
260
260
***Infrastructure Definitions:** represent one or more environment infrastructures.
261
-
* Infrastructure definitions are the actual clusters, hosts, etc., where Harness deploys a service.
262
-
* For example, you might have a QA environment with separate Kubernetes clusters (infrastructure definitions) for each service you want to test.
263
-
* You can add multiple infrastructure definitions to a single environment and select one when you add the environment to a stage.
261
+
* Infrastructure definitions are the actual clusters, hosts, etc., where Harness deploys a service. For example, you might have a QA environment with separate Kubernetes clusters (infrastructure definitions) for each service you want to test.
262
+
* You can add multiple infrastructure definitions to a single environment and select an infrastructure definition when you add the environment to a stage.
264
263
***Configuration:** the default environment configuration, including variables, manifests, specifications, and config files that will be used every time the environment is used in a stage.
265
264
***Service Overrides:** override specific services. You select a service and define what will be overridden whenever that Service is deployed to this environment.
266
265
***GitOps Clusters:** adding Harness GitOps clusters to an environment lets you select them as the deployment target in stages. For more information on Harness GitOps, go to [Harness GitOps Basics](../../cd-gitops/harness-git-ops-basics.md).
@@ -279,7 +278,7 @@ import TabItem2 from '@theme/TabItem';
279
278
<TabItem2 value="Harness UI" label="Harness UI">
280
279
```
281
280
282
-
To create an environment at an account and organization level, select **Environments**in **Organization Resources**.
281
+
To create an environment at an account or organization level, go to **Organization Resources****>Environments**.
@@ -387,7 +386,7 @@ For information about creating an environment API, go to [create an environment]
387
386
388
387
For information about creating infrastructure definiton API, go to [create an infrastructure in an environment](https://apidocs.harness.io/tag/Infrastructures#operation/createInfrastructure).
389
388
390
-
The `orgIdentifier` and `projectIdentifier` field definitions are optional, and depend on where you want to create the environment. For example, if you create an environment at an account level, you will not need org or project identifiers in the post api call payload.
389
+
The `orgIdentifier` and `projectIdentifier` field definitions are optional, and depend on where you want to create the environment. For example, if you create an environment at an account level, you will not need org or project identifiers in the post API call payload.
0 commit comments