We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/SeldonIO/seldon-core/blob/master/notebooks/ksonnet_ambassador_minikube.ipynb has trouble because recent versions of Minikube enable RBAC by default, which means that the Ambassador has no permission to search for resources in its namespace.
Using this YAML to deploy Ambassador should work better:
--- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRole metadata: name: ambassador rules: - apiGroups: [""] resources: - services verbs: ["get", "list", "watch"] - apiGroups: [""] resources: - configmaps verbs: ["create", "update", "patch", "get", "list", "watch"] - apiGroups: [""] resources: - secrets verbs: ["get", "list", "watch"] --- apiVersion: v1 kind: ServiceAccount metadata: name: ambassador namespace: seldon --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: ambassador roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: ambassador subjects: - kind: ServiceAccount name: ambassador namespace: default --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: ambassador roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: ambassador subjects: - kind: ServiceAccount name: ambassador namespace: seldon --- apiVersion: v1 kind: Service metadata: name: ambassador namespace: seldon spec: selector: service: ambassador ports: - name: http protocol: TCP port: 80 targetPort: 80 type: NodePort --- apiVersion: v1 kind: Service metadata: labels: service: ambassador-admin name: ambassador-admin namespace: seldon spec: ports: - name: ambassador-admin port: 8877 targetPort: 8877 selector: service: ambassador type: NodePort --- apiVersion: extensions/v1beta1 kind: Deployment metadata: name: ambassador namespace: seldon spec: replicas: 1 template: metadata: annotations: sidecar.istio.io/inject: 'false' labels: service: ambassador spec: containers: - image: quay.io/datawire/ambassador:0.34.1 name: ambassador env: - name: AMBASSADOR_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace resources: limits: cpu: 1 memory: 400Mi requests: cpu: 200m memory: 100Mi - image: quay.io/datawire/statsd:0.34.1 name: statsd restartPolicy: Always serviceAccountName: ambassador
The text was updated successfully, but these errors were encountered:
We have pull request #166 which should fix this and provides updated notebooks for minikube and ambassador.
Sorry, something went wrong.
add inference docs (#165)
b53f1d0
ukclivecox
Successfully merging a pull request may close this issue.
https://github.com/SeldonIO/seldon-core/blob/master/notebooks/ksonnet_ambassador_minikube.ipynb has trouble because recent versions of Minikube enable RBAC by default, which means that the Ambassador has no permission to search for resources in its namespace.
Using this YAML to deploy Ambassador should work better:
The text was updated successfully, but these errors were encountered: