Coder Social home page Coder Social logo

Comments (7)

J12934 avatar J12934 commented on August 26, 2024

Hi 👋
Can you check if Kubernetes has properly marked the pods as ready:

kubectl get deployments
kubectl get pods

To help out more it would also be importatnt to know what sort of cluster you are using (cloud / on-prem) and which kubernetes version you are using.

from multi-juicer.

mistersso avatar mistersso commented on August 26, 2024

I'm using microk8s on a CentOS 8.

microk8s kubectl version:

Client Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.5-34+8af48932a5ef06", GitCommit:"8af48932a5ef06681503866c4ce23d302321a9c8", GitTreeState:"clean", BuildDate:"2020-12-09T19:59:08Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.5-34+8af48932a5ef06", GitCommit:"8af48932a5ef06681503866c4ce23d302321a9c8", GitTreeState:"clean", BuildDate:"2020-12-09T20:00:05Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"linux/amd64"}

The pods are currently marked as ready.

microk8s kubectl get deployments:

NAME                     READY   UP-TO-DATE   AVAILABLE   AGE
progress-watchdog 1/1               1                    1           18h
juice-balancer          1/1               1                    1           18h
t-test-juiceshop       1/1               1                    1           18h
microk8s kubectl get pods:

NAME                                                        READY   STATUS      RESTARTS   AGE
progress-watchdog-5bf7579b68-9sbrz      1/1     Running            0          18h
juice-balancer-74664b455-wdc4h              1/1     Running            0          18h
t-test-juiceshop-5d48f6dbbd-qmdp6   1/1     Running            0          18h

from multi-juicer.

J12934 avatar J12934 commented on August 26, 2024

Can you try to enable cluster dns in the microk8s cluster?
The balancer tries to proxy the requests to the juice shop instances via their service names. If it cant resolve the service names than the proxing doesn't work correctly.

from multi-juicer.

mistersso avatar mistersso commented on August 26, 2024

I enabled dns but I still can't access on the Juice Shop instance.

Enabled Dns with:

microk8s enable dns

from multi-juicer.

J12934 avatar J12934 commented on August 26, 2024

Can you try creating a new instance?
If that doesn't work, try reinstalling MultiJuicer

We've had a similar issues reported with microk8s on slack where installing the dns did solve the issue: https://owasp.slack.com/archives/C255XSY04/p1592308987095900

from multi-juicer.

mistersso avatar mistersso commented on August 26, 2024

Well I solved the issue. The problem was that microk8s enable dns could not create the CoreDns correctly because the ClusterIP was already allocated. I removed the other service and now I can fully access on Juice-Shop. The next step will be to implement the Multi-Juicer with the monitoring setup.

Thank you 👍

from multi-juicer.

J12934 avatar J12934 commented on August 26, 2024

Okay nice 👍

from multi-juicer.

Related Issues (20)

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.