Skip to content

Commit

Permalink
Merge pull request #8349 from caesarxuchao/flaky-tests-docs
Browse files Browse the repository at this point in the history
update docs/devel flaky-tests to v1beta3
  • Loading branch information
nikhiljindal committed May 18, 2015
2 parents e1d595e + cf0bda9 commit b65b7d3
Showing 1 changed file with 18 additions and 24 deletions.
42 changes: 18 additions & 24 deletions flaky-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,27 @@ There is a testing image ```brendanburns/flake``` up on the docker hub. We will

Create a replication controller with the following config:
```yaml
id: flakecontroller
apiVersion: v1beta3
kind: ReplicationController
apiVersion: v1beta1
desiredState:
metadata:
name: flakecontroller
spec:
replicas: 24
replicaSelector:
name: flake
podTemplate:
desiredState:
manifest:
version: v1beta1
id: ""
volumes: []
containers:
- name: flake
image: brendanburns/flake
env:
- name: TEST_PACKAGE
value: pkg/tools
- name: REPO_SPEC
value: https://github.com/GoogleCloudPlatform/kubernetes
restartpolicy: {}
labels:
name: flake
labels:
name: flake
template:
metadata:
labels:
name: flake
spec:
containers:
- name: flake
image: brendanburns/flake
env:
- name: TEST_PACKAGE
value: pkg/tools
- name: REPO_SPEC
value: https://github.com/GoogleCloudPlatform/kubernetes
```
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```

Expand Down

0 comments on commit b65b7d3

Please sign in to comment.