Deploy CRDP on custom port
By default, CRDP comes up on port 8090. However, users are free to configure any port at the time of deployment.
Click the desired tab below to view instructions to change the CRDP port based on your deployment.
In the
values.yaml
file, change the value of the port variable to the desired port value.In the CRDP deployment file (for example,
<crdp-deployment.yaml>
), add the below lines to theenv
section.- name: CRDP_PORT value: {{.Values.service.port}}
Navigate to the
<target_directory>
.Run the following command:
helm upgrade <helm chart name> .
In the CRDP deployment file (for example,
<crdp-deployment.yaml>
), add the below lines to theenv
section (with port value8992
).- name: CRDP_PORT value: 8992
Apply the deployment configuration.
kubectl apply -f <crdp-deployment.yaml>
In the
<crdp-service.yaml>
file, change the port to8992
, as shown below.ports: - port: 8992
Apply the service configuration.
kubectl apply -f <crdp-service.yaml>
Stop the existing container.
Update the
CRDP_PORT
environment variable with a valid port (for example,8092
) on which you want to run CRDP.Start the container.
docker run -e KEY_MANAGER_HOST=<IP address or host name> -e REGISTRATION_TOKEN=<registration token> -e SERVER_MODE=no-tls -e CRDP_PORT=8092 -p <host port>:8092 <crdp image name>