mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
Changing walkthrough to v1
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user