Giter VIP home page Giter VIP logo

hazelcast-cloud-challange's Introduction

hazelcast-cloud-challange

tested environment

terraform cli = v1.0.11 docker desktop = 20.10.11 minikube = v1.24

Start the minikube

minikube start --driver=docker --memory=8192 --cpus=4

Get the certificate information from minikube and add it to terraform.tfvars

kubectl config view --minify --flatten --context=minikube

user.client-key-data is client_key
user.client-certificate-data is client_certificate
user.certificate-authority-data is cluster_ca_certificate

run terraform to install required apps

terraform init
terraform plan
terraform apply

unseal the vault

$ kubectl exec vault-0 -n vault -- vault operator init -key-shares=1 -key-threshold=1 -format=json > cluster-keys.json
VAULT_UNSEAL_KEY=$(cat cluster-keys.json | jq -r ".unseal_keys_b64[]")
kubectl exec vault-0 -n vault -- vault operator unseal $VAULT_UNSEAL_KEY
kubectl exec vault-1 -n vault -- vault operator unseal $VAULT_UNSEAL_KEY
kubectl exec vault-2 -n vault -- vault operator unseal $VAULT_UNSEAL_KEY

reach the prometheus endpoint

kubectl get pods -n ingress-nginx
NAME                             READY   STATUS    RESTARTS   AGE
ingress-nginx-controller-g5h92   1/1     Running   0          2m52s
kubectl port-forward ingress-nginx-controller-g5h92 -n ingress-nginx
8080:80

open your browser and enter http://localhost:8080

The username and password is defined at MONITORING_BASIC_AUTH variable (admin/test)

hazelcast-cloud-challange's People

Contributors

oguzy 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.