cloud-on-k8s | Elastic Cloud on Kubernetes | Continuous Deployment library

 by   elastic Go Version: v2.8.0 License: Non-SPDX

kandi X-RAY | cloud-on-k8s Summary

kandi X-RAY | cloud-on-k8s Summary

cloud-on-k8s is a Go library typically used in Devops, Continuous Deployment, Ansible, Docker applications. cloud-on-k8s has no bugs, it has no vulnerabilities and it has medium support. However cloud-on-k8s has a Non-SPDX License. You can download it from GitHub.

Elastic Cloud on Kubernetes automates the deployment, provisioning, management, and orchestration of Elasticsearch, Kibana, APM Server, Enterprise Search, Beats, Elastic Agent, and Elastic Maps Server on Kubernetes based on the operator pattern. Check the Quickstart to deploy your first cluster with ECK. If you want to contribute to the project, check our contributing guide and see how to setup a local development environment. For general questions, please see the Elastic forums.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cloud-on-k8s has a medium active ecosystem.
              It has 2222 star(s) with 626 fork(s). There are 281 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 342 open issues and 2075 have been closed. On average issues are closed in 111 days. There are 12 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cloud-on-k8s is v2.8.0

            kandi-Quality Quality

              cloud-on-k8s has no bugs reported.

            kandi-Security Security

              cloud-on-k8s has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              cloud-on-k8s has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              cloud-on-k8s releases are available to install and integrate.

            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 cloud-on-k8s
            Get all kandi verified functions for this library.

            cloud-on-k8s Key Features

            No Key Features are available at this moment for cloud-on-k8s.

            cloud-on-k8s Examples and Code Snippets

            No Code Snippets are available at this moment for cloud-on-k8s.

            Community Discussions

            QUESTION

            PVCs not created at all after deletion, when using Retail reclaim policy in corresponding StorageClass
            Asked 2021-Jun-14 at 15:38

            I am using the ECK operator, to create an Elasticsearch instance.

            The instance uses a StorageClass that has Retain (instead of Delete) as its reclaim policy.

            Here are my PVCs before deleting the Elasticsearch instance

            ...

            ANSWER

            Answered 2021-Jun-14 at 15:38

            with the hope that due to the Retain policy, the new pods (i.e. their PVCs would bind to the existing PVs (and data wouldn't get lost)

            It is explicitly written in the documentation that this is not what happens. the PVs are not available for another PVC after delete of a PVC.

            the PersistentVolume still exists and the volume is considered "released". But it is not yet available for another claim because the previous claimant's data remains on the volume.

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

            QUESTION

            Kubernetes Helm Elasticstack CrashLoopBackOff with JavaErrors in Log
            Asked 2021-May-28 at 12:29

            I'm trying to deploy the ELK stack to my developing kubernetes cluster. It seems that I do everything as described in the tutorials, however, the pods keep failing with Java errors (see below). I will describe the whole process from installing the cluster until the error happens.

            Step 1: Installing the cluster

            ...

            ANSWER

            Answered 2021-May-26 at 05:06

            For the ELK stack to work you need all three PersistentVolumeClaim's to be bound as I recall. Instead of creating 1 30 GB of PV create 3 of the same size with the claims and then re-install. Other nodes have unmet dependincies.

            Also please do not handle the volumes by hand. There are guidelines to deploy dynamic volums. Use OpenEBS for example. That way you wont need to worry about the pvc's. After giving the pv's if anything happens write again with your cluster installation process.

            I was wrong obviously, in this particular problem, filesystems and cgroups take role and the main problem of this is an old problem. From 5.2.1 to 8.0.0. Reinstall the chart by pulling the chart. Edit values file and definitely change the container version. It should be fine or create another error log stack.

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

            QUESTION

            how to access go templated kubernetes secret in manifest
            Asked 2021-May-12 at 06:44

            I'm running this tutorial https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html and found that the elasticsearch operator comes included with a pre-defined secret which is accessed through kubectl get secret quickstart-es-elastic-user -o go-template='{{.data.elastic | base64decode}}'. I was wondering how I can access it in a manifest file for a pod that will make use of this as an env var. The pod's manifest is as follows:

            ...

            ANSWER

            Answered 2021-May-12 at 06:44

            The secret returned via API (kubectl get secret ...) is a JSON-structure, where there:

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

            QUESTION

            Statefulsets in K8S are being recreated after deletion
            Asked 2021-May-04 at 06:47

            I'm playing with the Elasticsearch operator Kubernetes and created two stateful sets (see https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-orchestration.html):

            ...

            ANSWER

            Answered 2021-May-04 at 05:45

            You have to delete the custom object. The operator owns those StatefulSets and will continually update them to match its expected content.

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

            QUESTION

            Received plaintext http traffic on an https channel, closing connection
            Asked 2021-Apr-27 at 16:22

            I have deployed ECK (using helm) on my k8s cluster and i am attempting to install elasticsearch following the docs. https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html

            I have externally exposed service/elasticsearch-prod-es-http so that i can connect to it from outside of my k8s cluster. However as you can see when i try to connect to it either from curl or the browser i receive an error "502 Bad Gateway" error.

            ...

            ANSWER

            Answered 2021-Apr-27 at 16:22

            If anyone comes across this problem in the future, make sure your ingress is properly configured. The error message suggests that its a misconfiguration with the ingress.

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

            QUESTION

            Best practices for data storage with Elasticsearch and Kubernetes
            Asked 2021-Feb-12 at 18:17

            After reading some documentation regarding Persistent Volumes in Kubernetes I am wondering which one would be the best setup (storage speaking) for running a highly available ElasticSearch cluster. I am not running the typical EFK (or ELK) setup, but I am using ElasticSearch as a proper full-text search engine.

            I've read the official Elastic Documentation, but I find it quite lacking of clarification. According to "Kubernetes in Action", Chapter 6:

            When an application running in a pod needs to persist data to disk and have that same data available even when the pod is rescheduled to another node, you can’t use any of the volume types we’ve mentioned so far. Because this data needs to be accessible from any cluster node, it must be stored on some type of network-attached storage (NAS).

            So if I am not mistaken, I need a Volume and access it through PersistentVolumes and PersistentVolumeClaim with Retain policies.

            When looking at Official Volumes, I get a feeling that one should define the Volume type him/herself. Though, when looking at a DigitalOcean guide, it does not seem there was any Volume setup there. I picked that tutorial, but there are dozens on Medium that are all doing the same thing.

            So: which one is the best setup for an ElasticSearch cluster? Of course keeping in mind order to not loose any data within an index, and being able to add pods(Kubernetes) or nodes (ElasticSearch) that can access the index.

            ...

            ANSWER

            Answered 2021-Feb-12 at 18:07

            A good pattern to deploy an ElasticSearch cluster in kubernetes is to define a StatefulSets.

            Because the StatefulSet replicates more than one Pod you cannot simply reference a persistent volume claim. Instead, you need to add a persistent volume claim template to the StatefulSet state definition.

            In order for these replicated peristent volumes to work, you need to create a Dynamic Volume Provisioning and StorageClass which allows storage volumes to be created on-demand.

            In the DigitalOcean guide tutorial, the persistent volume claim template is as follow:

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

            QUESTION

            Error 413 when trying to install the Elastic ECK
            Asked 2021-Feb-07 at 19:51

            I am trying to install the Elastic Cloud on Kubernetes (ECK) Kubernetes operator with the all-in-one.yaml file, as per the tutorial: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-install-all-in-one.html But I am getting an error:

            Error from server: error when creating "https://download.elastic.co/downloads/eck/1.3.1/all-in-one.yaml": the server responded with the status code 413 but did not return more information (post customresourcedefinitions.apiextensions.k8s.io)

            I am a bit lost as to how to proceed solving this issue...

            Command:

            ...

            ANSWER

            Answered 2021-Feb-07 at 19:51

            I managed to fix the issue by setting the proxy-body-size config map value in the system nginx config map to 8m.

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

            QUESTION

            How to get password for Kibana (ECK) APM operator in kubernetes?
            Asked 2020-Dec-02 at 19:29

            ive followed this guide https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html, then apply this manifest:

            ...

            ANSWER

            Answered 2020-Dec-02 at 19:29
            kubectl get secret elasticsearch-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode; echo
            

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

            QUESTION

            How to add a basic user/pass authentication for ElasticSearch
            Asked 2020-Nov-27 at 13:03

            I deployed Elasticsearch with the following the page below to my Azure Kubernetes environment.

            ...

            ANSWER

            Answered 2020-Nov-27 at 13:03

            You can do it by installing elasticsearch using helm chart and modifying values.yaml. It allows you to modify elasticsearch.yaml.

            You can enable xpack.security.enabled: true with following configuration:

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

            QUESTION

            How can I deploy elasticsearch to kubernete?
            Asked 2020-Nov-23 at 09:47

            I installed minikube on my Mac and I'd like to deploy elasticsearch on this k8s cluster. I followed this instruction: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html

            The file I created is:

            ...

            ANSWER

            Answered 2020-Nov-23 at 09:47

            I think you might have missed the step of installing CRD and the operator for ElasticSearch. Have you followed this step https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html?

            Service, Pod, Deployment etc are Kubernetes native resources. Kubernetes provides a way to write custom resources also, using CRDs. Elasticsearch is one such example, so you have to define custom resource before using it for Kubernetes to understand that.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install cloud-on-k8s

            You can download it from GitHub.

            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/elastic/cloud-on-k8s.git

          • CLI

            gh repo clone elastic/cloud-on-k8s

          • sshUrl

            git@github.com:elastic/cloud-on-k8s.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