Merge pull request #9516 from caesarxuchao/cluster-dns-AND-downward-api-v1

examples/cluster-dns and examples/downward-api to v1
pull/6/head
Abhi Shah 2015-06-11 11:26:35 -07:00
commit c5e1c87ae7
7 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3
apiVersion: v1
kind: ReplicationController
metadata:
name: dns-backend
@ -19,4 +19,3 @@ spec:
ports:
- name: backend-port
containerPort: 8000
protocol: tcp

View File

@ -1,5 +1,5 @@
kind: Service
apiVersion: v1beta3
apiVersion: v1
metadata:
name: dns-backend
spec:

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3
apiVersion: v1
kind: Pod
metadata:
name: dns-frontend

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3
apiVersion: v1
kind: Namespace
metadata:
name: "development"

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3
apiVersion: v1
kind: Namespace
metadata:
name: "production"

View File

@ -27,7 +27,7 @@ This pod runs the `env` command in a container that consumes the downward API.
through the pod logs to see that the pod was injected with the correct values:
```shell
$ kubectl log dapi-test-pod | grep POD_
$ kubectl logs dapi-test-pod | grep POD_
2015-04-30T20:22:18.568024817Z POD_NAME=dapi-test-pod
2015-04-30T20:22:18.568087688Z POD_NAMESPACE=default
```

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3
apiVersion: v1
kind: Pod
metadata:
name: dapi-test-pod