mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Updating scripts to use v1 instead of v1beta3
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"apiVersion": "v1beta3",
|
||||
"apiVersion": "v1",
|
||||
"kind": "ReplicationController",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user