Updating scripts to use v1 instead of v1beta3

This commit is contained in:
nikhiljindal
2015-06-30 23:36:39 -07:00
parent 09df440b79
commit 2e9e46dd08
26 changed files with 53 additions and 79 deletions

View File

@@ -43,7 +43,7 @@ Now, you can access the service `wget 10.0.1.89:9090`, and build graphs.
## How it works
This is a v1beta3 based, containerized prometheus ReplicationController, which scrapes endpoints which are readable on the KUBERNETES service (the internal kubernetes service running in the default namespace, which is visible to all pods).
This is a v1 api based, containerized prometheus ReplicationController, which scrapes endpoints which are readable on the KUBERNETES service (the internal kubernetes service running in the default namespace, which is visible to all pods).
1. Use kubectl to handle auth & proxy the kubernetes API locally, emulating the old KUBERNETES_RO service.

View File

@@ -1,5 +1,5 @@
{
"apiVersion": "v1beta3",
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"labels": {

View File

@@ -1,6 +1,6 @@
{
"kind":"Service",
"apiVersion":"v1beta3",
"apiVersion":"v1",
"metadata":{
"name":"prometheus",
"labels":{
@@ -8,7 +8,7 @@
}
},
"spec":{
"publicIPs":["10.0.1.89"],
"type": "NodePort",
"ports": [
{
"port":9090,