Comments (7)
I experienced the same error and fixed it by adding name: http
to the port on the Service
. The Service
I used didn't have this set, but it's required - see here:
Kubernetes Services are required for properly functioning Istio service. Service ports must be named and these names must begin with http or grpc prefix to take advantage of Istioโs L7 routing features, e.g. name: http-foo or name: http is good. Services with non-named ports or with ports that do not have a http or grpc prefix will be routed as L4 traffic.
Perhaps this might help for you too.
from old_issues_repo.
@mclarke47 do you mind listing all ingresses that result in this failure? You can use kubectl get ingress --all
.
from old_issues_repo.
I'm hitting the same when using the following ingress object.
The following ingress objects are in place
$ kubectl -n local get ing
NAME HOSTS ADDRESS PORTS AGE
supportsystem support2-local.company.com 80, 443 11m
This is the ingress object:
$ kubectl -n local get ing supportsystem -o yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: istio
creationTimestamp: 2017-06-07T08:32:07Z
generation: 1
name: supportsystem
namespace: local
resourceVersion: "31763"
selfLink: /apis/extensions/v1beta1/namespaces/local/ingresses/supportsystem
uid: ca917407-4b5b-11e7-b55e-080027069e42
spec:
rules:
- host: support2-local.company.com
http:
paths:
- backend:
serviceName: support2-oauth2
servicePort: 80
path: /.*
tls:
- hosts:
- support2-local.company.com
secretName: cert
status:
loadBalancer: {}
I'm running the ingress controller in a DaemonSet with the following configuration.
$ kubectl -n local get ds istio-ingress -o yaml
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
creationTimestamp: 2017-06-06T11:16:01Z
generation: 1
labels:
istio: ingress
name: istio-ingress
namespace: local
resourceVersion: "7085"
selfLink: /apis/extensions/v1beta1/namespaces/local/daemonsets/istio-ingress
uid: 85adf314-4aa9-11e7-b55e-080027069e42
spec:
selector:
matchLabels:
istio: ingress
template:
metadata:
annotations:
alpha.istio.io/sidecar: ignore
creationTimestamp: null
labels:
istio: ingress
spec:
containers:
- args:
- proxy
- ingress
- -v
- "2"
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: docker.io/istio/proxy_debug:0.1.5
imagePullPolicy: Always
name: istio-ingress
ports:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: istio-ingress-service-account
serviceAccountName: istio-ingress-service-account
terminationGracePeriodSeconds: 30
templateGeneration: 1
updateStrategy:
type: OnDelete
status:
currentNumberScheduled: 1
desiredNumberScheduled: 1
numberAvailable: 1
numberMisscheduled: 0
numberReady: 1
observedGeneration: 1
updatedNumberScheduled: 1
from old_issues_repo.
Also getting this same error
[2017-06-15 18:19:19.867][21][warning][router] rds: fetch failure: JSON at lines 3-9 does not conform to schema.
Invalid schema: #/properties/routes
Schema violation: type
Offending document key: #/routes
from old_issues_repo.
Just a basic ingress.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: gateway
annotations:
kubernetes.io/ingress.class: "istio"
spec:
rules:
- http:
paths:
- path: /docs
backend:
serviceName: docs
servicePort: 8889
from old_issues_repo.
Isaiah, can you tell a quick summary of why schema fails for TCP ports?
from old_issues_repo.
See the reference for the fix
from old_issues_repo.
Related Issues (20)
- [BUG] Bookinfo tracing broken HOT 2
- BUG: Mirroring not working in Istio 0.8.0? HOT 2
- Istio 0.8.0 exposes Jaeger tracing page to the external world
- When multiple gateways are defined, only the first one is being used. HOT 5
- kubernetesenv adapter clusterDomain check HOT 1
- Istio sidecar-injector not ready after deploying istio release-0.8
- External services connectivity problem HOT 5
- How get client external ip to extrapolate geolocation HOT 2
- Deploying with rbac disabled causes pilot to never deploy HOT 1
- .0.8 latest can't pull the docker image HOT 21
- make tracing endpoint configuration straightforward HOT 2
- Traffic Management: ALL https requests work (even without a ServiceEntry) HOT 7
- High latency at scale HOT 1
- istio-pilot pod restart 60 times in nine days HOT 1
- Service Entry Not Working HOT 9
- Requests hang in fresh helm install on k8s v1.10.2-gke.3 HOT 5
- EgressRule not working for AMQP (RabbitMQ) HOT 4
- Unable to access the grafana dashboard. HOT 2
- Error: customresourcedefinitions.apiextensions.k8s.io "gateways.networking.istio.io" already exists HOT 1
- istio circuit breaker doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from old_issues_repo.