Devops | Kubernetes Tutorial | matchLabels, labels, and selectors explained in detail, for beginners

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 6

  • @lokeshbestha6112
    @lokeshbestha6112 Рік тому

    cool explanation

  • @sahaniarunitm
    @sahaniarunitm 4 роки тому

    sahi hai bidu

  • @sawan1720
    @sawan1720 3 роки тому

    I like your explanation but one query I have .Can we target external instances outside of k8s with match labels.

    • @cloudtechmasters9985
      @cloudtechmasters9985  3 роки тому

      Hi Sawan,
      Can you pls give an example which ur looking for?
      especially external instances?

    • @sawan1720
      @sawan1720 3 роки тому

      @@cloudtechmasters9985
      I have Prometheus operator installed in k8s
      I have a external application outside of k8s that neither have any pods nor service inside the k8s which is running on ec2 instances (all ec2 instances is end user based I mean they can spin them anytime.So every time endpoint ip changes )
      I am able to monitor them by mentioning endpoint ip but these IPs are dynamic.It is creating so much manual work there.
      Is there any way we can do automation for those endpoint IP? Like auto discovery

    • @cloudtechmasters9985
      @cloudtechmasters9985  3 роки тому +1

      @@sawan1720 Create a DNS name and use the name every where instead of hard coded ips or for ec2 use elastic ip so that ips wont change everytime u stop and start