Skip to content

Commit 1e73615

Browse files
Amir RomanoGalgc
authored andcommitted
Adding the ai installation to agent provision process.
1 parent 3b1db13 commit 1e73615

File tree

5 files changed

+10
-22
lines changed

5 files changed

+10
-22
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ unique needs of your environment.
6060
| Dockerfile | A file that contains instructions for how to construct a Control-M/Agent Docker image |
6161
| container_agent_startup.sh | A bash script that is used to start up the Control-M/Agent |
6262
| ctmhost_keepalive.sh | A bash script that is used to keep the persistent connection between the installed Agent in the pod and Control-M |
63-
| install_ai.sh | A bash script that is used for installing support for execution of Control-M Application Integrator job types in the installed Agent during the docker build process |
6463
| install_kubectl.sh | A bash script that is used for installing kubectl on the Agent during the docker build process |
65-
| silent.xml | A configuration file for installation of Control-M Application Integrator, used during the docker build process |
64+
| Agent_20.100+OneCM.Linux.json | A configuration file for provisioning the Control-M/Agent and Control-M Application Integrator, used during the docker build process |
6665
| agent_configuration.json | A configuration file for the Agent |
6766
| AI Kubernetes.ctmai | A Kubernetes job type definition file |
6867
| stateful_ha.yaml | A file that contains StatefulSet definitions for running a Control-M/Agent container, Kubernetes definitions for creation of the Persistent Volume Claim, and a linkage between them |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"OS": "Linux-x86_64",
3+
"Installers":
4+
[
5+
"DRKAI.9.0.20.100_Linux-x86_64.tar.Z",
6+
"DR1CM.9.0.20.100_Linux-x86_64.tar.Z"
7+
]
8+
}

control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job/docker/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN yum -y install wget \
1818
&& yum -y install zlib-devel \
1919
&& yum -y install libffi-devel \
2020
&& yum -y install compat-libstdc++-33.x86_64 \
21+
&& yum -y install psmisc \
2122
&& cd /usr/src \
2223

2324
# install nodejs
@@ -64,13 +65,6 @@ RUN ctm env add myenv $AAPI_END_POINT $AAPI_USER $AAPI_PASS \
6465
COPY install_kubectl.sh .
6566
RUN ./install_kubectl.sh
6667

67-
# install ai
68-
COPY install_ai.sh .
69-
COPY silent.xml .
70-
RUN wget -nv https://controlm-appdev.s3.us-west-2.amazonaws.com/automation/BEST_PRACTICE/DR1CM.9.0.20.100_Linux-x86_64.tar.Z \
71-
&& mv DR1CM.9.0.20.100_Linux-x86_64.tar.Z DRAIT.tar.Z \
72-
&& ./install_ai.sh
73-
7468
RUN echo "DISABLE_CM_SHUTDOWN Y" >> /home/controlm/ctm/data/CONFIG.dat \
7569
&& touch /home/controlm/ctm/data/DISABLE_CM_SHUTDOWN_Y.cfg
7670

control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job/docker/install_ai.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

control-m/301-statefulset-agent-to-run-k8s-jobs-using-ai-job/docker/silent.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)