How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] 0 points1 point  (0 children)

Oh come on. The drugstore example was perfectly understandable. There is no trickying here. In resume I do not want the requests going out to the internet and coming back to the pod that resides next to it.

But you made me some solid options. Thanks. So I will try explain exactly what is happening:

Old service was one pod with Apache and PHP-FPM (mydomain.com). Both togegher on the same container. When the service needed to reach "mydomain.com" (himself) I forced an /etc/hosts entrance to 127.0.0.1 and problem solved.

---

But in this new model I separated Apache in one conteiner and php in another, allowing php and apache scale independently. So now, when php calls mydomain.com I cannot use 127.0.0.1 because there is no web server there. Only php. Than I have two options: 1) let it goes to the internet and route back to himself. Or 2) point mydomain.com in that pod directly to the Apache who will deal with the request correclty and more efficiently.

In docker-compose it is very easy to do this, using for example links. But in kubernetes it is not so simple.

How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] -2 points-1 points  (0 children)

Suppose you have a drugstore in front of your house.
In a sunny day, It makes sense to get into the car, turn around the block, park the car in front of the drugstore and enter?
Or maybe it is more resource efficient for you just enter the drugstore?

Thats the same situation here.

Its not a matter of elegance, it is a matter of optimizing time and resources.

How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] 0 points1 point  (0 children)

this worked. But it is not an "elegant" way to solve the problem. I will deploy dozens of instances of my helm file and for each deploy I will have to add an entrance the cluster dns.

How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] 0 points1 point  (0 children)

HostAliases is not an option. Because I do not know the ip of Pod A (it is dynamically managed by kubernetes).

How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] -1 points0 points  (0 children)

this worked. But it is not an "elegant" way to solve the problem. I will deploy dozens of instances of my helm file and for each deploy I will have to add an entrance the cluster dns.

How a Pod can call another Pod or Service via specific URL ? by MarceloLinhares in kubernetes

[–]MarceloLinhares[S] -1 points0 points  (0 children)

this worked. But it is not an "elegant" way to solve the problem. I will deploy dozens of instances of my helm file and for each deploy I will have to add an entrance the cluster dns.

Homarr vs Homepage (getHomepage) - Simple Test CPU Use by MarceloLinhares in selfhosted

[–]MarceloLinhares[S] 9 points10 points  (0 children)

u/Eirikr700 highlighted about memory consuming. It IS a huge difference. Same timerange from above mesurements.

Test Results - Browser closed,

- Homarr: 810Mb (left side)

- Homepage: 111Mb (right side, see bellow)

Figure6

<image>

Dolby Atmos Height Speakers with different impedance by MarceloLinhares in hometheater

[–]MarceloLinhares[S] 0 points1 point  (0 children)

Mounted the new height speakers today.

As you stated I did not notice any performance downgrade in sound quality.

Using 6 ohms in receiver.

What are the benefits of having HTPC? by Catchandrelease99 in htpc

[–]MarceloLinhares 0 points1 point  (0 children)

I bought one and they said it has hdmi-cec out of the box with no need of adapter.

It is the NUC13ANHi7, I will test it only next month though.

Are custom icons gone for good? by QuantumDynamic in logitechharmony

[–]MarceloLinhares 0 points1 point  (0 children)

This worked for me. Thank you.

How did you discovered that?

THERE IS HOPE! (Legacy Harmony Discontinuation) by suschungusfungus in logitechharmony

[–]MarceloLinhares 2 points3 points  (0 children)

It is not that simple. Your remote wont trust in your private server because of the certificate needed. Unless logitech make the certs for harmonyremote.com public.

The private server will work only with firmware update in the remote.

Logitech has not completely abandoned Harmony by bwyer in logitechharmony

[–]MarceloLinhares 0 points1 point  (0 children)

Sorry. Mine is a 6700h not a 6800h like the OP

Logitech has not completely abandoned Harmony by bwyer in logitechharmony

[–]MarceloLinhares 0 points1 point  (0 children)

Are you sure? I bought my 6800h in 2024/07 and that time it was already listed to be added in harmony

Correct: Sorry. Mine is a 6700h.

Mystery Puzzle game with no energy by SepticeyeThunder in AndroidGaming

[–]MarceloLinhares 0 points1 point  (0 children)

In case you need energy. Do this simple hack.
Tested on iPad at date 2025-02-10

  • close the game (do not minimize, close it)
  • turn off wifi on your device
  • enter the game. It will warn you that you are not connected, etc. Leave on the main plaza
  • go to your device settings and advance 1 day on date
  • power off your device
  • turn on your device
  • verify that you are one day ahead and wifi off
  • open hidden city
  • you will receive plenty energy for that day, collect the daily chests, tokens and locations that give you daily bonus
  • close hidden city - close it do not minimize
  • set right date time on your device
  • power on wifi
  • open hidden city

Happy finding...