GithubHelp home page GithubHelp logo

golang-observability-k8s-env's Introduction

pocs de observasbilidade k8s env

Projeto para configuração do backend para testes com o projeto golang-observability-poc.

Decidi tentar configurar um cluster k8s numa Raspberry que tinha aqui de bobeira, assim eu libero recursos na máquina local pra facilitar minha vida.

## colocar o conteudo abaixo no arquivo /boot/cmdline.txt
# cgroup_memory=1 cgroup_enable=memory
sudo vim /boot/cmdline.txt

## instalar o k3s
curl -sfL https://get.k3s.io | sh -
cat /etc/rancher/k3s/k3s.yaml

vim  ~/.kube/config
ansible -i cluster/ansible/env/ all -m ping -v

opensearch validations

# opensearch

## healthchceck
curl --insecure -XGET https://192.168.100.195:9200/_cluster/health -u 'admin:admin' | jq .

## cat indexes
curl --insecure -i https://192.168.100.195:9200/_cat/indices?v -u 'admin:admin'

# dashboards
curl --insecure -XGET 'http://192.168.100.195:5601/api/saved_objects/_find?type=index-pattern&search_fields=title&search=*application*' -u 'admin:admin'

curl --insecure -XGET 'http://192.168.100.195:9200/custom-application-logs-00001' -u 'admin:admin'

reference links

golang-observability-k8s-env's People

Contributors

eldius avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.