Steve is an Avid Commentator
1 published comment for 2022
User bio
404 bio not found
Member since Dec 7, 2016
Posts:
Steve has not published any posts yet.
Replies:

Hi @Alfredo Neto,

I think your annotations might work if you move them from the IrisCluster to the Pod:

spec:
  topology:
    data:
      podTemplate:
        metadata:
          annotations:
            prometheus.io/scrape: "true"
            prometheus.io/path: "/api/monitor/metrics"
            prometheus.io/port: "52773"

Please let me know if that works for you.

-Steve

I wrote these several years ago - please do not code like this!

Quine 1:

s s=" s s=  w $E(s,1,5),$C(34),s,$C(34),$E(s,6,*)"  w $E(s,1,5),$C(34),s,$C(34),$E(s,6,*)

Quine 2:

s p="w $c(115,32,112,61,34)_p_$c(34,32,120,32,112)" x p

I'm not sure I understand the use case for installing SSH when docker exec is already available:

  • Running an IRIS session:
    • docker exec -it iris iris session IRIS
  • Starting a shell:
    • docker exec -it iris bash
  • Starting a shell as root (in an IRIS container with "Normal" security):
    • docker exec -it --user=root iris bash

These commands can be run from a machine other than the host:

  • docker --host=tcp://35.231.179.51:2376 exec -it iris bash

They can be run securely from an outside machine by configuring docker to use TLS:

  • docker --host=tcp://35.231.179.51:2376 --tls --tlscacert=ca.pem --tlscert=cert.pem --tlskey=key.pem exec -it iris bash

In what situations would SSH be preferable?

Followers:
Steve has no followers yet.
Following:
Steve has not followed anybody yet.
Global Masters badges:
Steve has no Global Masters badges yet.