After following the Official Google Cloud tutorial here:
helm upgrade --install
–wait
–timeout 600s
${HELM_RELEASE_NAME}
./${HELM_REPO}
-f values.yaml
With the following error:
Error: unable to build kubernetes objects from release manifest: unable to recognize “”: no matches for kind “PodDisruptionBudget” in version “policy/v1beta1”
I read this:
but could not find the poddisruptionbudget.yaml file anywhere in the cloud shell environment.
Nor was I able to kubectl apply -f mypdb.yaml to specify the correct policy/v1 instead of v1beta as described here:
Where is the policy/v1beta being specified in the cloud shell?
Welcome to Google Cloud Community!
I think the issue occurs due to chart dependencies of bigtable-janusgraph ver 0.5.3 on elasticsearch ver 7.6.2 that uses PDB api:Version policy/v1beta1.
You may use the new version available on the github that uses bigtable-janusgraph ver 0.6.3 and elasticsearch ver 7.17.3 that uses PDB apiVersion: policy/v1. You can do the following steps on deploying the janusgraph:
image:
repository: docker.io/janusgraph/janusgraph
tag: 0.6.3
pullPolicy: IfNotPresent
helm upgrade --install \
--wait \
--timeout 600s \
bigtable-janusgraph-helm \
./bigtable-janusgraph-helm \
-f values.yaml
You can add --dry-run --debug on the helm command to see verbose logs regarding the installation of the janusgraph.
I hope this information is helpful.
If you need further assistance, you can always file a ticket on our support team.