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: control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job/README.MD
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,12 @@ To view a sample container and pod, refer to [Sample Objects](#sample-objects).
49
49
50
50
## Sample Objects
51
51
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
54
54
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)
-[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)
@@ -117,19 +118,19 @@ Use the stateful_ha.yaml file to allocate persistent storage for Agent usage and
117
118
Run the following command:
118
119
```
119
120
kubectl apply -f stateful_ha.yaml
120
-
121
+
```
121
122
After executing the apply command, verify that the pod is running. After all
122
123
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.
123
124
124
125
### Step 4: Verify permissions
125
126
Verify with your Kubernetes Administrator that the agent's pod has permissions
126
127
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.
128
129
129
130
### Step 5: Run Control-M jobs
130
131
To run the Control-M job, perform the following actions:
131
132
132
133
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.
133
134
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.
134
135
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