Kops: Kops does not expose etcd port for Prometheus scraping

Created on 1 Oct 2018  路  7Comments  路  Source: kubernetes/kops

1. What kops version are you running? The command kops version, will display
this information.
1.10.0

2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.
1.10.7

3. What cloud provider are you using? AWS

I set up cluster on AWS with --private flag set to true.

AWS SecurityGroup created by Kops does not expose master port 4001 to nodes. This prevents Prometheus from scraping etcd status.

Is this intended behaviour? Is there a flag I can use to expost the port?

https://github.com/coreos/prometheus-operator/issues/1766

lifecyclstale

Most helpful comment

Presumably this is a security measure, opening the port allows any pod in the cluster to make (potentially unauthenticated) etcd client connections and get root access on your cluster.

All 7 comments

Presumably this is a security measure, opening the port allows any pod in the cluster to make (potentially unauthenticated) etcd client connections and get root access on your cluster.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

/remove-lifecycle rotten

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

/close

@michaelgeorgeattard: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrislovecnm picture chrislovecnm  路  3Comments

olalonde picture olalonde  路  4Comments

minasys picture minasys  路  3Comments

owenmorgan picture owenmorgan  路  3Comments

Caskia picture Caskia  路  3Comments