I followed this link for installing multicluster linkerd on two GKE clusters. my colleagues also tried the same steps. all of us get the same error after running this part of installation:
for ctx in west east; do
echo "Adding test services on cluster: ${ctx} ........."
kubectl --context=${ctx} apply \
-n test -k "github.com/linkerd/website/multicluster/${ctx}/"
kubectl --context=${ctx} -n test \
rollout status deploy/podinfo || break
echo "-------------"
done
the error is this:
error: invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch
It seems the code needs update at this repo
I installed brew install kustomize
and run kustomize edit fix
under every dir multicluster/base&cluster1&cluster2
but still not work.
also tried to combine all yaml files to one, still no chance. please update the official documentation for working code for future readers and if I an wrong on something here please let me know.
thanks