Coder Social home page Coder Social logo

Comments (6)

monaka avatar monaka commented on July 3, 2024

I tried a remote cache (CAS) in the same environment also.
I suppose CAS works well.

from bazel-buildfarm.

monaka avatar monaka commented on July 3, 2024

This issue might be somewhat related to #1749

from bazel-buildfarm.

werkt avatar werkt commented on July 3, 2024

I just tried the helm install with minikube, with our recommended port forwarding specification, had no trouble building your example program.

Using bazel-buildfarm-server.bazel-buildfarm.svc as a name to contact the running service implies that you have some association between the cluster and the client bazel environment - are you sure that you can contact it - see bf-cat - at all for Capabilities (the most basic communication) on the port indicated? After verifying that bazel-buildfarm-server.bazel-buildfarm.svc resolves, of course.

from bazel-buildfarm.

monaka avatar monaka commented on July 3, 2024
bazel-buildfarm-server.bazel-buildfarm.svc is resolved.
% kubectl get svc -n bazel-buildfarm
NAME                             TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
bazel-buildfarm-redis-headless   ClusterIP   None             <none>        6379/TCP            112d
bazel-buildfarm-redis-master     ClusterIP   10.100.239.216   <none>        6379/TCP            112d
bazel-buildfarm-redis-replicas   ClusterIP   10.100.51.9      <none>        6379/TCP            112d
bazel-buildfarm-server           ClusterIP   10.100.76.80     <none>        8980/TCP,9090/TCP   112d
bazel-buildfarm-shard-worker     ClusterIP   10.100.6.122     <none>        8982/TCP,9090/TCP   112d

% kubectl exec -it aaos-app-7f8479b66d-qwr9b -- nslookup bazel-buildfarm-server.bazel-buildfarm.svc
Server:         10.100.0.10
Address:        10.100.0.10#53

Name:   bazel-buildfarm-server.bazel-buildfarm.svc.cluster.local
Address: 10.100.76.80

And as I wrote above, it seems that CAS works fine. Just not working remote_execition only.

$ bazel clean
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.

$ bazel run --remote_cache=grpc://bazel-buildfarm-server.bazel-buildfarm.svc:8980 :main
INFO: Invocation ID: 4e7c1beb-3f46-4032-b6bb-f0061b2e42bd
INFO: Analyzed target //:main (83 packages loaded, 382 targets configured).
INFO: Found 1 target...
Target //:main up-to-date:
  bazel-bin/main
INFO: Elapsed time: 0.477s, Critical Path: 0.06s
INFO: 7 processes: 2 remote cache hit, 5 internal.
INFO: Build completed successfully, 7 total actions
INFO: Running command line: bazel-bin/main
Hello, World!2

INFO: 7 processes: 2 remote cache hit, 5 internal.

from bazel-buildfarm.

monaka avatar monaka commented on July 3, 2024

Hmm... possiblly it depends on the configuration of K8s cluster ???
My Buildfarm is on AWS EKS.

I'll try this on my AzureAKS and Minikube.

from bazel-buildfarm.

monaka avatar monaka commented on July 3, 2024

Additional info:

I have two EKS clusters that are installed Buildfarm.
The one doesn't work RBE as I reported here.
But ... the other works well.

Even though I can't catch the difference between each cluster, I agree that Buildfarm works well on EKS.

I close this until I get some information for now. And I'll explore some more details.

from bazel-buildfarm.

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.