GithubHelp home page GithubHelp logo

kubernetes's Introduction

Helm Installation

Create Fluentd ConfigMap

$ kubectl apply -f elk/fluentd-config.yaml

Install Elasticsearch

$ helm install elasticsearch bitnami/elasticsearch

Elasticsearch can be accessed within the cluster on port 9200 at elasticsearch.default.svc.cluster.local

To access from outside the cluster execute the following commands:

kubectl port-forward --namespace default svc/elasticsearch 9200:9200
curl http://127.0.0.1:9200/

Install Fluentd

$ helm install fluentd --set aggregator.configMap=fluentd-elasticsearch bitnami/fluentd

Install Kibana

$ helm install kibana --set elasticsearch.hosts[0]=elasticsearch bitnami/kibana

Kibana can be accessed within the cluster on port 9200 at kibana.default.svc.cluster.local

To access from outside the cluster execute the following commands:

kubectl port-forward --namespace default svc/kibana 5601:5601
curl http://127.0.0.1:5601/

Install Prometheus Operator

$ helm install kibana --set elasticsearch.hosts[0]=elasticsearch bitnami/kibana

Watch the Prometheus Operator Deployment status using the command:

kubectl get deploy -w --namespace default -l app.kubernetes.io/name=kube-prometheus-operator,app.kubernetes.io/instance=promotheus
kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-prometheus,app.kubernetes.io/instance=promotheus

Prometheus can be accessed via port "9090" on the following DNS name from within your cluster: promotheus-kube-prometheus-prometheus.default.svc.cluster.local

To access Prometheus from outside the cluster execute the following commands:

kubectl port-forward --namespace default svc/promotheus-kube-prometheus-prometheus 9090:9090
curl http://127.0.0.1:9090/

Watch the Alertmanager StatefulSet status using the command:

kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-alertmanager,app.kubernetes.io/instance=promotheus

Alertmanager can be accessed via port "9093" on the following DNS name from within your cluster: promotheus-kube-prometheus-alertmanager.default.svc.cluster.local

To access Alertmanager from outside the cluster execute the following commands:

kubectl port-forward --namespace default svc/promotheus-kube-prometheus-alertmanager 9093:9093
curl http://127.0.0.1:9093/

Install Grafana

helm install grafana bitnami/grafana

To access Kibana from outside the cluster execute the following commands:

kubectl port-forward svc/grafana 8080:3000
curl http://127.0.0.1:8080

To get the admin credentials execute the following commands:

echo "User: admin"
echo "Password: $(kubectl get secret grafana-admin --namespace default -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}" | base64 -d)"

Install Keycloak

$ helm install keycloak bitnami/keycloak

Keycloak can be accessed within the cluster on port 8080 at keycloak.default.svc.cluster.local

To access from outside the cluster execute the following commands:

kubectl port-forward --namespace default svc/keycloak 8080:8080
curl http://127.0.0.1:8080/

kubernetes's People

Contributors

laminba2003 avatar

Watchers

James Cloos avatar  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.