Error during Installing Istio 1.6.8

Hi all,

I’m currently trying to do a canary upgrade of Istio with the latest release 1.6.8.
The command I’m using is istioctl install -f istio-ingressgateway.yaml --set revision="1_6_8"
Whereas the overlay file istio-ingressgateway.yaml has the following content:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
profile: demo
components:
ingressGateways:
- namespace: istio-system
enabled: true
k8s:
serviceAnnotations:
service.beta.kubernetes.io/aws-load-balancer-type: nlb
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: “uai=uai1007324”
hpaSpec:
maxReplicas: 4
minReplicas: 2

I can’t see anything wrong in above yaml, but I keep getting the error message:
Error: failed to apply manifests: could not unmarshal merged YAML: json: cannot unmarshal number into Go value of type string

I have no clue what is going wrong here. Any Idea?

Thanks,
Harald

Hi @harald.niehus

you can try it with –set revision=1-6-8 . AFIK there is a naming limitation.


set revision is supported in 1.6+ not in 1.5

may be this will you.

Hi Shubham,

thanks for your hint. I finally got it to work with --set revision=canary. I assume that was the issue, b/c nothing else changed. Maybe there is a requirement that revision has to start with char rather than num.

Thanks,
Harald