diff --git a/examples/walkthrough/README.md b/examples/walkthrough/README.md index 855dfd8a52c..59a1ab0950b 100644 --- a/examples/walkthrough/README.md +++ b/examples/walkthrough/README.md @@ -10,7 +10,7 @@ See [pods](../../docs/pods.md) for more details. Trivially, a single container might be a pod. For example, you can express a simple web server as a pod: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: www @@ -28,7 +28,7 @@ See the [design document](../../DESIGN.md) for more details. Now that's great for a static web server, but what about persistent storage? We know that the container file system only lives as long as the container does, so we need more persistent storage. To do this, you also declare a ```volume``` as part of your pod, and mount it into a container: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: storage @@ -77,7 +77,7 @@ The examples below are syntactically correct, but some of the images (e.g. kuber However, often you want to have two different containers that work together. An example of this would be a web server, and a helper job that polls a git repository for new updates: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: www diff --git a/examples/walkthrough/k8s201.md b/examples/walkthrough/k8s201.md index c1fdf22f846..4db56b45ae2 100644 --- a/examples/walkthrough/k8s201.md +++ b/examples/walkthrough/k8s201.md @@ -22,7 +22,7 @@ Replication controllers are the objects to answer these questions. A replicatio An example replication controller that instantiates two pods running nginx looks like: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: ReplicationController metadata: name: nginx-controller @@ -53,7 +53,7 @@ Once you have a replicated set of pods, you need an abstraction that enables con For example, here is a service that balances across the pods created in the previous nginx replication controller example: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: Service metadata: name: nginx-example @@ -125,7 +125,7 @@ The container health checks are configured in the "LivenessProbe" section of you Here is an example config for a pod with an HTTP health check: ```yaml -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: pod-with-healthcheck diff --git a/examples/walkthrough/pod-with-http-healthcheck.yaml b/examples/walkthrough/pod-with-http-healthcheck.yaml index af1ca32a1ca..b11a5471e03 100644 --- a/examples/walkthrough/pod-with-http-healthcheck.yaml +++ b/examples/walkthrough/pod-with-http-healthcheck.yaml @@ -1,4 +1,4 @@ -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: pod-with-healthcheck diff --git a/examples/walkthrough/pod1.yaml b/examples/walkthrough/pod1.yaml index 7eefc9ca8f5..9aa81ad8272 100644 --- a/examples/walkthrough/pod1.yaml +++ b/examples/walkthrough/pod1.yaml @@ -1,4 +1,4 @@ -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: www diff --git a/examples/walkthrough/pod2.yaml b/examples/walkthrough/pod2.yaml index ed0cd1fe916..5dd7a8210d9 100644 --- a/examples/walkthrough/pod2.yaml +++ b/examples/walkthrough/pod2.yaml @@ -1,4 +1,4 @@ -apiVersion: v1beta3 +apiVersion: v1 kind: Pod metadata: name: storage diff --git a/examples/walkthrough/podtemplate.json b/examples/walkthrough/podtemplate.json index 5732a113584..bd4327414a1 100644 --- a/examples/walkthrough/podtemplate.json +++ b/examples/walkthrough/podtemplate.json @@ -1,5 +1,5 @@ { - "apiVersion": "v1beta3", + "apiVersion": "v1", "kind": "PodTemplate", "metadata": { "name": "nginx" diff --git a/examples/walkthrough/replication-controller.yaml b/examples/walkthrough/replication-controller.yaml index 826b945ca05..1098a6bfcd3 100644 --- a/examples/walkthrough/replication-controller.yaml +++ b/examples/walkthrough/replication-controller.yaml @@ -1,4 +1,4 @@ -apiVersion: v1beta3 +apiVersion: v1 kind: ReplicationController metadata: name: nginx-controller diff --git a/examples/walkthrough/service.yaml b/examples/walkthrough/service.yaml index 58a459e5116..a8ddbc35172 100644 --- a/examples/walkthrough/service.yaml +++ b/examples/walkthrough/service.yaml @@ -1,4 +1,4 @@ -apiVersion: v1beta3 +apiVersion: v1 kind: Service metadata: name: nginx-example