This commit is contained in:
ddeyo 2018-09-07 11:19:59 -07:00
parent 04b484b4b0
commit a10ef6f55e
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ To configure your external Prometheus server to scrape metrics from Prometheus i
(cd $DOCKER_CERT_PATH && kubectl create secret generic prometheus --from-file=ca.pem --from-file=cert.pem --from-file=key.pem)
```
3. Apply some YAML to create a Prometheus deployment and ClusterIP service. On AWS with Kubes cloud provider configured, you could replace `ClusterIP` with `LoadBalancer` in the service YAML and then access the service through the load balancer. If you are running Prometheus external to UCP, change the following domain for inventory container in the Prometheus deployment from ucp-controller.kube-system.svc.cluster.local to a external domain for UCP accessible from the Prometheus node.
3. Create a Prometheus deployment and ClusterIP service using YAML as follows.
On AWS with Kubes cloud provider configured, you could replace `ClusterIP` with `LoadBalancer` in the service YAML then access the service through the load balancer. If you are running Prometheus external to UCP, change the following domain for inventory container in the Prometheus deployment from `ucp-controller.kube-system.svc.cluster.local` to a external domain to access UCP from the Prometheus node.
```
kubectl apply -f - <<EOF