FAILED cassandra-operator-1.0.0

6/26/2020

I am getting the below error while setting up cassandra-operator.

$ helm list
NAME            REVISION        UPDATED                         STATUS  CHART                           APP VERSION     NAMESPACE
r8e789c134d     1               Fri Jun 26 07:00:39 2020        FAILED  cassandra-operator-1.0.0        1.0.1           apiconnect

$ helm status r8e789c134d
LAST DEPLOYED: Fri Jun 26 07:00:39 2020
NAMESPACE: apiconnect
STATUS: FAILED

NOTES:
1. Get the cassandra-cluster admin URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace apiconnect -l "app=cassandra-operator,release=r8e789c134d" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:1770 to use your application"
  kubectl port-forward $POD_NAME 1770:1770

$ export POD_NAME=$(kubectl get pods --namespace apiconnect -l "app=cassandra-operator,release=r8e789c134d" -o jsonpath="{.items0.metadata.name}") error: error executing jsonpath "{.items0.metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items0.metadata.name} object given to jsonpath engine was: mapstringinterface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":mapstringinterface {}{"resourceVersion":"", "selfLink":""}}

Please let me know if there is any issue in the set up.

Thanks in advance.

-- Manoj Kinage
apiconnect
cassandra
kubernetes

0 Answers