Skip to content

Commit adb7c18

Browse files
Amir RomanoGalgc
authored andcommitted
read me fix
1 parent 7ba8be2 commit adb7c18

File tree

1 file changed

+8
-7
lines changed
  • control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job

1 file changed

+8
-7
lines changed

control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job/README.MD

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ To view a sample container and pod, refer to [Sample Objects](#sample-objects).
4949

5050
## Sample Objects
5151

52-
Use the following links to access and obtain
53-
Note that you will need to edit these samples and customize them to match the
52+
Use the following links to access and obtain sample objects in GitHub.
53+
> You will need to edit these samples and customize them to match the
5454
unique needs of your environment.
55-
[All files except the AI job type](https://github.com/automation-api-quickstart/tree/master/control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job)
56-
[AI job type](https://controlm-appdev.s3.us-west-2.amazonaws.com/automation/BEST_PRACTICE/AI+Kubernetes.ctmai)
55+
56+
- [All files except the AI job type](https://github.com/automation-api-quickstart/tree/master/control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job)
57+
- [AI job type](https://controlm-appdev.s3.us-west-2.amazonaws.com/automation/BEST_PRACTICE/AI+Kubernetes.ctmai)
5758

5859
| File Name | Description |
5960
|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
@@ -117,19 +118,19 @@ Use the stateful_ha.yaml file to allocate persistent storage for Agent usage and
117118
Run the following command:
118119
```
119120
kubectl apply -f stateful_ha.yaml
120-
121+
```
121122
After executing the apply command, verify that the pod is running. After all
122123
setup processes of the Agent have completed (in the container_agent_startup.sh script), the ctmhost_keepalive.sh script runs in an endless loop. This script verifies agent-server connection and writes its output to the pod’s standard output.
123124

124125
### Step 4: Verify permissions
125126
Verify with your Kubernetes Administrator that the agent's pod has permissions
126127
to start the requested "run pod to completion".
127-
Note that in the BMC test environment, the *roles.yaml* file was applied, to ensure that the agent can apply Kubernetes jobs from inside the pod.
128+
> In the BMC test environment, the *roles.yaml* file was applied, to ensure that the agent can apply Kubernetes jobs from inside the pod.
128129
129130
### Step 5: Run Control-M jobs
130131
To run the Control-M job, perform the following actions:
131132

132133
1. Create a connection profile between the deployed agent and KUBERNETES job type. In the connection profile you will be asked to supply the kubectl path in the Agent.
133134
2. Create a new KUBERNETES type job and point it to the created Agent or Agent host group. Supply the created connection profile and a yaml file path or Kubernetes resource id and run the job.
134135

135-
Note: By default the PersistentVolumeClaim accessModes property is configured to ReadWriteOnce. To use ReadWriteMany, the cluster must be configured before applying the stateful_ha.yaml file. In the AWS environment you can use the following link: https://newbedev.com/kubernetes-pvc-with-readwritemany-on-aws
136+
> By default the PersistentVolumeClaim accessModes property is configured to ReadWriteOnce. To use ReadWriteMany, the cluster must be configured before applying the stateful_ha.yaml file. In the AWS environment you can use the following link: https://newbedev.com/kubernetes-pvc-with-readwritemany-on-aws

0 commit comments

Comments
 (0)