$ helm install rasa rasa-x/rasa-x -n ***************** --version 1.8.2
NAME: rasa
LAST DEPLOYED: Tue Apr 6 19:28:46 2021
NAMESPACE: *******************************
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Thanks for installing Rasa X !
Creating a Rasa X user:
- Rasa X CE: go to the terminal of the `rasa-x` pod and then
execute `python scripts/manage_users.py create --update me <your password> admin`
to set your password
- Rasa X EE: go to the terminal of the `rasa-x` pod and then
execute `python scripts/manage_users.py create <your username> <your password> <role of your user>`.
You can then log in using these credentials.
Check out the Rasa X docs here for more help:
https://rasa.com/docs/rasa-x/
latest version (1.8.4)
$ helm install rasa rasa-x/rasa-x -n ***************** --version 1.8.4
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].livenessProbe): unknown field "exec:command" in io.k8s.api.core.v1.Probe, ValidationError(Deployment.spec.template.spec.containers[0].readinessProbe): unknown field "exec:command" in io.k8s.api.core.v1.Probe]
I think it begs the question, how did it pass the ci tests?
I am sorry, I’m not familiar with that way of installing RasaX.
I was referring to this method Helm Chart Installation.
The version “1.8.2” is the latest helm chart version that worked for me.
A quick look at curl -s get-rasa-x.rasa.com would indicate that it executes a helm install somewhere.
Installing a specific version of the chart could be done by saving the script, modifying the script somewhere around line 250 and then executing it.
Going from:
if [[ $1 == "install" ]]
then
command=("install")
else
command=("upgrade" "--reuse-values")
fi
command=("${command[@]}"
"--set rasax.tag=${RASA_X_VERSION}"
"--set eventService.tag=${RASA_X_VERSION}"
"--set nginx.tag=${RASA_X_VERSION}"
"--set rasa.tag=${RASA_VERSION}-full"
)
if [[ $1 == "install" ]]
then
command=("${command[@]}"
"--set rasax.initialUser.password=${INITIAL_USER_PASSWORD}"
"--set global.postgresql.postgresqlPassword=${POSTGRES_PASSWORD}"
"--set global.redis.password=${RABBITMQ_PASSWORD}"
"--set rabbitmq.rabbitmq.password=${REDIS_PASSWORD}")
fi
if $IS_EMBEDDED_CLUSTER
then
command=("${command[@]}" "--set nginx.service.type=ClusterIP")
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/}")
else
command=("${command[@]}" "--set nginx.service.type=${NGINX_SERVICE_TYPE}")
# gcloud needs another path for the ingress than K3s
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/*}")
fi
if [[ $1 == "install" ]] || [[ -n "${DISABLE_TELEMETRY}" ]]
then
command=("${command[@]}" "--set rasax.disableTelemetry=${DISABLE_TELEMETRY:-false}")
fi
if [[ $1 == "install" ]] || [[ -n "${ENABLE_DUCKLING}" ]]
then
command=("${command[@]}" "--set duckling.enabled=${ENABLE_DUCKLING:-False}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_IMAGE}" ]]
then
command=("${command[@]}" "--set app.name=${ACTION_SERVER_IMAGE:-rasa/rasa-x-demo}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_TAG}" ]]
then
command=("${command[@]}" "--set app.tag=${ACTION_SERVER_TAG:-${RASA_X_DEMO_VERSION}}")
fi
if [[ $1 == "install" ]] || [[ -n "${DEBUG_MODE}" ]]
then
command=("${command[@]}" "--set global.debugMode=${DEBUG_MODE:-False}")
fi
if [[ -n "${ADDITIONAL_CHANNEL_CREDENTIALS}" ]]
then
# additional credentials may be passed in comma separated, e.g.
# facebook.verify="dasda",facebook.test="dasd"
IFS=',' read -ra channels <<< "$ADDITIONAL_CHANNEL_CREDENTIALS"
for channel_setting in "${channels[@]}"
do
command=("${command[@]}" "--set rasa.additionalChannelCredentials.$channel_setting")
done
fi
command=("${command[@]}"
"--set rasax.extraEnvs[0].name=QUICK_INSTALL"
"--set-string rasax.extraEnvs[0].value=true"
"--namespace ${DEPLOYMENT_NAMESPACE}" "${DEPLOYMENT_NAME}" "rasa-x/rasa-x"
)
no_root_helm "${command[@]}" > ${REDIRECT}
}
To:
if [[ $1 == "install" ]]
then
command=("install")
else
command=("upgrade" "--reuse-values")
fi
command=("${command[@]}"
"--set rasax.tag=${RASA_X_VERSION}"
"--set eventService.tag=${RASA_X_VERSION}"
"--set nginx.tag=${RASA_X_VERSION}"
"--set rasa.tag=${RASA_VERSION}-full"
)
if [[ $1 == "install" ]]
then
command=("${command[@]}"
"--set rasax.initialUser.password=${INITIAL_USER_PASSWORD}"
"--set global.postgresql.postgresqlPassword=${POSTGRES_PASSWORD}"
"--set global.redis.password=${RABBITMQ_PASSWORD}"
"--set rabbitmq.rabbitmq.password=${REDIS_PASSWORD}")
fi
if $IS_EMBEDDED_CLUSTER
then
command=("${command[@]}" "--set nginx.service.type=ClusterIP")
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/}")
else
command=("${command[@]}" "--set nginx.service.type=${NGINX_SERVICE_TYPE}")
# gcloud needs another path for the ingress than K3s
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/*}")
fi
if [[ $1 == "install" ]] || [[ -n "${DISABLE_TELEMETRY}" ]]
then
command=("${command[@]}" "--set rasax.disableTelemetry=${DISABLE_TELEMETRY:-false}")
fi
if [[ $1 == "install" ]] || [[ -n "${ENABLE_DUCKLING}" ]]
then
command=("${command[@]}" "--set duckling.enabled=${ENABLE_DUCKLING:-False}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_IMAGE}" ]]
then
command=("${command[@]}" "--set app.name=${ACTION_SERVER_IMAGE:-rasa/rasa-x-demo}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_TAG}" ]]
then
command=("${command[@]}" "--set app.tag=${ACTION_SERVER_TAG:-${RASA_X_DEMO_VERSION}}")
fi
if [[ $1 == "install" ]] || [[ -n "${DEBUG_MODE}" ]]
then
command=("${command[@]}" "--set global.debugMode=${DEBUG_MODE:-False}")
fi
if [[ -n "${ADDITIONAL_CHANNEL_CREDENTIALS}" ]]
then
# additional credentials may be passed in comma separated, e.g.
# facebook.verify="dasda",facebook.test="dasd"
IFS=',' read -ra channels <<< "$ADDITIONAL_CHANNEL_CREDENTIALS"
for channel_setting in "${channels[@]}"
do
command=("${command[@]}" "--set rasa.additionalChannelCredentials.$channel_setting")
done
fi
command=("${command[@]}"
"--set rasax.extraEnvs[0].name=QUICK_INSTALL"
"--set-string rasax.extraEnvs[0].value=true"
"--namespace ${DEPLOYMENT_NAMESPACE}" "${DEPLOYMENT_NAME}" "rasa-x/rasa-x"
"--version 1.8.2"
)
no_root_helm "${command[@]}" > ${REDIRECT}
}
I want to mark your answer as a solution but I’m afraid the Rasa team will not check the thread if they see a solution has been found.
No worries, we are on it! Please mark the solution in the meantime so that anyone running into this can use the workaround, and I can come back to mark it when upgraded!