update docs/devel flaky-tests to v1beta3
This commit is contained in:
parent
b67f72a316
commit
cf0bda9102
|
@ -11,19 +11,17 @@ There is a testing image ```brendanburns/flake``` up on the docker hub. We will
|
||||||
|
|
||||||
Create a replication controller with the following config:
|
Create a replication controller with the following config:
|
||||||
```yaml
|
```yaml
|
||||||
id: flakecontroller
|
apiVersion: v1beta3
|
||||||
kind: ReplicationController
|
kind: ReplicationController
|
||||||
apiVersion: v1beta1
|
metadata:
|
||||||
desiredState:
|
name: flakecontroller
|
||||||
|
spec:
|
||||||
replicas: 24
|
replicas: 24
|
||||||
replicaSelector:
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
name: flake
|
name: flake
|
||||||
podTemplate:
|
spec:
|
||||||
desiredState:
|
|
||||||
manifest:
|
|
||||||
version: v1beta1
|
|
||||||
id: ""
|
|
||||||
volumes: []
|
|
||||||
containers:
|
containers:
|
||||||
- name: flake
|
- name: flake
|
||||||
image: brendanburns/flake
|
image: brendanburns/flake
|
||||||
|
@ -32,12 +30,8 @@ desiredState:
|
||||||
value: pkg/tools
|
value: pkg/tools
|
||||||
- name: REPO_SPEC
|
- name: REPO_SPEC
|
||||||
value: https://github.com/GoogleCloudPlatform/kubernetes
|
value: https://github.com/GoogleCloudPlatform/kubernetes
|
||||||
restartpolicy: {}
|
|
||||||
labels:
|
|
||||||
name: flake
|
|
||||||
labels:
|
|
||||||
name: flake
|
|
||||||
```
|
```
|
||||||
|
Note that we omit the labels and the selector fields of the replication controller, because they will be populated from the labels field of the pod template by default.
|
||||||
|
|
||||||
```./cluster/kubectl.sh create -f controller.yaml```
|
```./cluster/kubectl.sh create -f controller.yaml```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue