es-operator | Kubernetes Operator for Elasticsearch | Continuous Deployment library

 by   zalando-incubator Go Version: v0.1.4 License: No License

kandi X-RAY | es-operator Summary

kandi X-RAY | es-operator Summary

es-operator is a Go library typically used in Devops, Continuous Deployment applications. es-operator has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Kubernetes Operator for Elasticsearch
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              es-operator has a low active ecosystem.
              It has 342 star(s) with 40 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 16 open issues and 41 have been closed. On average issues are closed in 176 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of es-operator is v0.1.4

            kandi-Quality Quality

              es-operator has 0 bugs and 0 code smells.

            kandi-Security Security

              es-operator has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              es-operator code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              es-operator does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              es-operator releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 5750 lines of code, 336 functions and 51 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of es-operator
            Get all kandi verified functions for this library.

            es-operator Key Features

            No Key Features are available at this moment for es-operator.

            es-operator Examples and Code Snippets

            No Code Snippets are available at this moment for es-operator.

            Community Discussions

            QUESTION

            Replicasets are not creating in mongodb community operator
            Asked 2022-Mar-26 at 20:04

            I am creating mongodb cluster using following documentation.

            https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/docs/deploy-configure.md

            I am trying to create custom resources as following.

            ...

            ANSWER

            Answered 2022-Mar-26 at 20:04

            Got the issue as I came to know how can we check logs of custom "kind" in Kubernetes.

            As I checked mongodbcommunity kind as follows. And it was giving failed stage.

            Source https://stackoverflow.com/questions/71603772

            QUESTION

            Extract status of Kubernetes CR created via ansible-operator
            Asked 2022-Mar-18 at 17:40

            I am new to json query. Facing trouble extracting the status.conditions[ansibleResult].type

            I have a CRD defined and created CR against the same, which is picked up by operator-sdk running ansible in the background. I am updating the CRD to provide relevant status once CR is accepted and processed by operator-sdk.

            CR output in json appears like below.

            ...

            ANSWER

            Answered 2022-Mar-18 at 17:40

            Please try following :

            kubectl get ocivaultkeys operator-key-broken -o jsonpath='{.status.conditions[?(@.ansibleResult)].type}'

            Expected output : Failure

            jsonpath help

            Source https://stackoverflow.com/questions/71524310

            QUESTION

            Spring Boot Reinterpretation Of ConfigTree Variables
            Asked 2022-Mar-14 at 17:39

            I am trying to get my Spring Boot application to configure a datasource connection from a Kubernetes Secret. Due to security requirements, I cannot use the envFrom/secretRef combo in my Deployment descriptor. So I'm trying to use Spring's configtree imports to access the secrets.

            (Not all of the values are secrets, however, they all come to me from an Operator that I cannot control as a Secret.)

            My application's application.yml has the following:

            ...

            ANSWER

            Answered 2022-Mar-14 at 17:39

            You set the configtree base path to /etc/secrets/. You volume mounted the secret value into the file /etc/secrets/postgres/HOST. Configtree converts the subdirectory path to a dot-separated prefix on the configuration property name, so the secret value is readable from configuration property name postgres.HOST.

            Source https://stackoverflow.com/questions/71442362

            QUESTION

            Bazel: How to extend existing docker image?
            Asked 2022-Jan-31 at 07:58

            I know in Dockerfile I can extend existing docker image using:

            ...

            ANSWER

            Answered 2022-Jan-31 at 07:58

            container_import is the correct rule to import an existing image. However, all it does is import, it doesn't pull it from anywhere. I think you're looking for container_pull instead, which will pull an image from a repository and then automatically use container_import to translate it for other rules_docker rules.

            To add a new layer, use container_image, with base set to the imported image and tars set to the additional files you want to add. Or, if you want to add things in other formats, see the docs for alternates to tars (like debs or files).

            Putting it all together, something like this in your WORKSPACE:

            Source https://stackoverflow.com/questions/70911361

            QUESTION

            Mongodb cluster Kubernetes Stateful set is not deleting
            Asked 2021-Dec-26 at 12:07

            I have created Mongodb stateful set using mongodb kubernetes operator.

            Now I want to delete that stateful set from kubernetes dashboard, but it is getting recreated again and again.

            How do we delete stateful set permanently so that it doesn't get created again.

            ...

            ANSWER

            Answered 2021-Dec-25 at 10:49

            Are you trying to delete a pod or the Stateful set itself?

            Try to run:

            Source https://stackoverflow.com/questions/70479256

            QUESTION

            Does kubernetes-operator support Jenkins X like features?
            Asked 2021-Dec-14 at 06:42

            My requirement is to trigger a CI & CD on a kubernetes on prem infra, whenever a PR has been raised. Jenkins X is an ideal candidate but unfortunately due to few proxy issues it didnt come to fruitition. Coming to kubernetes-operator, looking for few clarifications.

            I've 4 nodes cluster, with one node being the leader.

            1. Do I've to set up a new instance of Jenkins before hand on my K8s cluster or kubernetes-operator does that for me ?
            2. Looking to access the Jenkins instance under the domain : jenkins.mybusinessunit.myorg.com/jenkins
            3. Do I have to do any addtional configurations to enable master - slave set up.
            4. Does kubernetes-operator provides a feature to support CI/CD model like Jenkins X ?

            Thanks in advance.

            ...

            ANSWER

            Answered 2021-Dec-14 at 06:42

            As per your comments you are actually interessted in more of a cloud-native solution to operating a Jenkins, so here goes.

            Since you already have a Kubernetes cluster and would like to use the Jenkins Kubernetes operator, then I would recommend you use the Jenkins Kubernetes Plugin for managing your workloads.

            The Jenkins Kubernetes plugin enables you to run each of your pipelines in a separate Pod in your Kubernetes cluster, and once the required Service resources are setup, then the communication between master and slave pods is completely regulated by the plugin. I would recommend that you look into their documentation, which is quite good ( in comparison to other plugins ).

            Now since you are also using the Jenkins Kubernetes operator you should know that the plugin is installed as one of the default plugins and is available as soon as your Jenkins instance is spun up. I would recommend you read through the Jenkins Kubernetes operator documentation to get a better grasp of what happens when that is running.

            So now I will move onto your questions.

            1. Do I've to set up a new instance of Jenkins before hand on my K8s cluster or kubernetes-operator does that for me ?

            If you install the Jenkins Kubernetes operator via Helm chart, then no, you get a Jenkins master instance included. Otherwise if you install the controller into your cluster manually, then you will need to create a Jenkins CRD, which will create a Jenkins instance for you.

            1. Looking to access the Jenkins instance under the domain : jenkins.mybusinessunit.myorg.com/jenkins

            Use Ingress + Load Balancer + DNS Service or expose the Pod via NodePort. Note that exposing your master Pod via NodePort may require you to make your Jenkins Master instance publicly available ( and that may not be wise ).

            1. Do I have to do any addtional configurations to enable master - slave set up.

            Please refer to the documentation of Jenkins Kubernetes plugin and Jenkins Kubernetes operator. All details are provided there, but configuration is rather minimal.

            1. Does kubernetes-operator provides a feature to support CI/CD model like Jenkins X

            No. The Jenkins Kubernetes operator is there only to manage your Jenkins instance and backups in immutable fashion. Jenkins X can be used in combination with Jenkins, but neither replaces the other completely.

            Source https://stackoverflow.com/questions/70332017

            QUESTION

            MountVolume.SetUp failed for volume "deployer-conf" : object "pgo"/"pgo-deployer-cm" not registered
            Asked 2021-Aug-13 at 12:57

            Trying to install Crunchydata postgres-operator. My pgo-deploy pod is failing with error. I have setup default nfs storage running the following commands, # kubectl create -f rbac.yaml the content is,

            ...

            ANSWER

            Answered 2021-Aug-13 at 12:57

            The error you provided says what is wrong:

            Source https://stackoverflow.com/questions/68752116

            QUESTION

            MongoDB Community Kubernetes Operator and Custom Persistent Volumes
            Asked 2021-Jul-13 at 17:41

            I'm trying to deploy a MongoDB replica set by using the MongoDB Community Kubernetes Operator in Minikube.
            I followed the instructions on the official GitHub, so:

            • Install the CRD
            • Install the necessary roles and role-bindings
            • Install the Operator Deploy the Replicaset

            By default, the operator will creates three pods, each of them automatically linked to a new persistent volume claim bounded to a new persistent volume also created by the operator (so far so good).

            However, I would like the data to be saved in a specific volume, mounted in a specific host path. So in order I would need to create three persistent volumes, each mounted to a specific host path, and then automatically I would want to configure the replicaset so that each pod would connect to its respective persistent volume (perhaps using the matchLabels selector). So I created three volumes by applying the following file:

            ...

            ANSWER

            Answered 2021-Jul-13 at 17:41

            I think you could be interested into using local type of volumes. It works, like this:

            First, you create a storage class for the local volumes. Something like the following:

            Source https://stackoverflow.com/questions/68366456

            QUESTION

            Multiple Kubernetes Operator Communication
            Asked 2021-Feb-17 at 18:06

            The Best Practices for building Kubernetes Operators say I should write a whole bunch of Operators to manage my application. How does inter-operator communication happen?

            In other words, how should I build my Operator so that it can talk to other Operators?

            ...

            ANSWER

            Answered 2021-Feb-17 at 18:06

            They don't. Not directly, anyways. Communication on Kubernetes occurs purely through YAML files.

            For example, if your application requires access to a database, you should install an operator for Postgresql, create a PostgreSQLCluster CR Object, and pull credentials from it once it's setup.

            However, this isn't a practical solution in the long term, because Operators should be able to update automatically and without interaction. You are also not allowed to install older versions. To name names, the Crunchy Postgres Operator actually goes through many breaking changes with every update. If you were relying on them maintaining their CRD format, you made your architecture a brittle one.

            A few exceptions do exist. Operators for products like Tekton Pipelines and Argo Pipelines are very stable and unlikely to change by design, and it's perfectly OK to depend on these.

            Speaking purely towards the best practices, you are supposed to be able to migrate from older to newer versions of your CRD API using webhooks, though it isn't clear that any Operator implementations actually do this. Still, as of writing this post, there are no Operators on OperatorHub.io which rely on other Operators (Feb 16, 2021). Reader, you will be the first.

            If you wanted to do so anyway, chances are the Operator you want to depend on is available on the Go package repository. You can just go get them and use their CRD API types natively in your code, which should make it very easy to keep up to date with the API.

            Bonus Non-Answer

            Technically, the Operator you want to depend on could implement a REST API in their manager, and expose it as a service. I seriously doubt anybody will ever do this. It doesn't seem smart to poke holes into the Kubernetes design philosophy and open up attack vectors.

            Source https://stackoverflow.com/questions/66235524

            QUESTION

            mongodb operator deployment in openshift "Failed to apply default image tag "/:4.2.6" invalid reference format"
            Asked 2021-Jan-19 at 07:10

            Im referring to mongodb community operator from https://github.com/mongodb/mongodb-kubernetes-operator and trying to deploy it in openshift or okd

            ...

            ANSWER

            Answered 2021-Jan-19 at 04:57

            you can use this command to update the deployment image of mongo

            Source https://stackoverflow.com/questions/65785499

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install es-operator

            For a quick tutorial how to deploy the ES Operator look at our Getting Started Guide.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/zalando-incubator/es-operator.git

          • CLI

            gh repo clone zalando-incubator/es-operator

          • sshUrl

            git@github.com:zalando-incubator/es-operator.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link