Skip to content
New issue

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

Use elasticsearch-operator for ES deployment #183

Closed
pavolloffay opened this issue Jan 29, 2019 · 1 comment
Closed

Use elasticsearch-operator for ES deployment #183

pavolloffay opened this issue Jan 29, 2019 · 1 comment

Comments

@pavolloffay
Copy link
Member

pavolloffay commented Jan 29, 2019

We would like to use https://github.com/openshift/elasticsearch-operator to manage ES deployment. This should be optional and users can still bring managed ES instances. The elasticsearch-operator uses this ES image https://github.com/openshift/origin-aggregated-logging/tree/master/elasticsearch.

There are a couple of problems with the eslasticsearch-operator. It's openshift-common-logging specific (uses their image), however we will make it more generic to be used with any APP and vanilla ES image.

The following steps are required to make the es-operator work with jaeger operator:

+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+  name: jaeger-data-manager
+  namespace: {{ namespace }}
+roleRef:
+  apiGroup: rbac.authorization.k8s.io
+  kind: Role
+  name: jaeger-data-manager
+subjects:
+  - kind: ServiceAccount
+    namespace: {{ role_namespace }}
+    name: {{ role_user }}


+---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
  name: jaeger-data-manager
  namespace: {{ namespace }}
rules:
  - apiGroups:
      - metrics.openshift.io
    resources:
      - jaeger
    verbs:
      - edit or manage?
@pavolloffay pavolloffay mentioned this issue Feb 1, 2019
4 tasks
@pavolloffay
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant