istio error: Details: java.io.IOException: Unknown apiVersionKind

2/19/2020

I receive this error message in jenkins when trying to deploy my application to kubernetes. Is there something I am missing?

istio-gateway.yml ERROR: ERROR: java.io.IOException: ERROR: YAML file istio-gateway.yml is invalid, please check it. Details: java.io.IOException: Unknown apiVersionKind: networking.istio.io/v1alpha3/Gateway known kinds are...

I am using Spring Boot with Java

-- devopdev1
istio
java
kubernetes
spring-boot

1 Answer

2/19/2020

You are trying to create a Istio Geteway using that yaml. You probably don't have istio installed in your Kubernetes cluster. If it's not installed then you need to install it.

-- Arghya Sadhu
Source: StackOverflow