Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add e2e_test for create_from_directory
- Loading branch information
1 parent
18fb9a0
commit c9e11d0
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
kubernetes/e2e_test/test_yaml/multi-resource/multi-resource-replication-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: v1 | ||
kind: ReplicationController | ||
metadata: | ||
name: mock | ||
spec: | ||
replicas: 1 | ||
selector: | ||
app: mock | ||
template: | ||
metadata: | ||
labels: | ||
app: mock | ||
spec: | ||
containers: | ||
- name: mock-container | ||
image: k8s.gcr.io/pause:2.0 | ||
ports: | ||
- containerPort: 9949 | ||
protocol: TCP |
13 changes: 13 additions & 0 deletions
13
kubernetes/e2e_test/test_yaml/multi-resource/multi-resource-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: mock | ||
labels: | ||
app: mock | ||
spec: | ||
ports: | ||
- port: 99 | ||
protocol: TCP | ||
targetPort: 9949 | ||
selector: | ||
app: mock |