<p>I am trying Seldon Core example.</p>
<p>Here's SeldonExampleDeployment.yaml.</p>
<pre><code>apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
  name: seldon-model
spec:
  name: test-deployment
  predictors:
  - componentSpecs:
    - spec:
        containers:
        - image: seldonio/mock_classifier_rest:1.3
          name: classifier
          command:
          - --kubelet-insecure-tls
          - --insecure-skip-tls-verify
    graph:
      children: []
      endpoint:
        type: REST
      name: classifier
      type: MODEL
    name: example
    replicas: 1
</code></pre>
<pre><code>$ kubectl apply -n seldon -f SeldonExampleDeployment.yaml
Error from server (InternalError): error when creating &quot;SeldonExampleDeployment.yaml&quot;: 
Internal error occurred: failed calling webhook &quot;v1.vseldondeployment.kb.io&quot;: 
Post https://seldon-webhook-service.kubeflow.svc:443/validate-machinelearning-seldon-io-v1-seldondeployment?timeout=30s: 
x509: certificate signed by unknown authority

</code></pre>
<ul>
<li>I use EKS</li>
<li>I just opened all traffic in VPC (both inbound and outbound)</li>
</ul>
<p>I don't know why this error happened.
Please help me...</p>

<p>Old case, but to help at least other Googlers...</p>
<p>To avoid that webhook to fail deployment,</p>
<ul>
<li>first create SeldonDeployment</li>
<li>then enable interferenceservice on namespace,</li>
<li>lastly add Gateway</li>
</ul>
<pre><code># Create namespace and add a mock classifier REST service
MY_NS=a-namespace
kubectl create namespace $MY_NS
cat &lt;&lt;EOF | kubectl create -n $MY_NS -f -
apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
  name: seldon-model
spec:
  name: test-deployment
  predictors:
  - componentSpecs:
    - spec:
        containers:
        - image: seldonio/mock_classifier_rest:1.3
          name: classifier
    graph:
      children: []
      endpoint:
        type: REST
      name: classifier
      type: MODEL
    name: example
    replicas: 1
EOF

# Enable interferenceservice namespace and add gateway
kubectl label namespace $MY_NS serving.kubeflow.org/inferenceservice=enabled
cat &lt;&lt;EOF | kubectl create -n $MY_NS -f -
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: kubeflow-gateway
spec:
  selector:
    istio: ingressgateway
  servers:
  - hosts:
    - '*'
    port:
      name: http
      number: 80
      protocol: HTTP
EOF

# Test REST service
curl -s -d '{&quot;data&quot;: {&quot;ndarray&quot;:[[1.0, 2.0, 5.0]]}}'    -X POST http://localhost:8004/seldon/$MY_NS/seldon-model/api/v1.0/predictions    -H &quot;Content-Type: application/json&quot;
</code></pre>
