Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
94ad1dfb
Unverified
Commit
94ad1dfb
authored
Feb 26, 2019
by
Davanum Srinivas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better manifest for running conformance image
Change-Id: I137180ed781edd4a9877cabe039e40a72aa71366
parent
069eeb54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
28 deletions
+73
-28
README.md
cluster/images/conformance/README.md
+2
-28
conformance-e2e.yaml
cluster/images/conformance/conformance-e2e.yaml
+71
-0
No files found.
cluster/images/conformance/README.md
View file @
94ad1dfb
...
...
@@ -32,36 +32,10 @@ $ make push VERSION={target_version} ARCH=s390x
If you don't want to push the images, run
`make`
or
`make build`
instead
#### How to
setup RBAC needed
#### How to
run tests
```
kubectl create
clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=default:default
kubectl create
-f conformance-e2e.yaml
```
#### How to run a single test
```
apiVersion: v1
kind: Pod
metadata:
name: e2e-producer-consumer-test
spec:
containers:
- name: conformance-container
image: staging-k8s.gcr.io/conformance-amd64:v1.12.1
imagePullPolicy: IfNotPresent
env:
- name: E2E_FOCUS
value: "Pods should be submitted and removed"
volumeMounts:
- name: output-volume
mountPath: /tmp/results
volumes:
- name: output-volume
hostPath:
path: /tmp/results
restartPolicy: Never
```
[

]()
cluster/images/conformance/conformance-e2e.yaml
0 → 100644
View file @
94ad1dfb
---
apiVersion
:
v1
kind
:
Namespace
metadata
:
name
:
conformance
---
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
labels
:
component
:
conformance
name
:
conformance-serviceaccount
namespace
:
conformance
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
labels
:
component
:
conformance
name
:
conformance-serviceaccount-role
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
conformance-serviceaccount
subjects
:
-
kind
:
ServiceAccount
name
:
conformance-serviceaccount
namespace
:
conformance
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
component
:
conformance
name
:
conformance-serviceaccount
rules
:
-
apiGroups
:
-
'
*'
resources
:
-
'
*'
verbs
:
-
'
*'
-
nonResourceURLs
:
-
'
/metrics'
-
'
/logs'
-
'
/logs/*'
verbs
:
-
'
get'
---
apiVersion
:
v1
kind
:
Pod
metadata
:
name
:
e2e-conformance-test
namespace
:
conformance
spec
:
containers
:
-
name
:
conformance-container
image
:
staging-k8s.gcr.io/conformance-amd64:v1.14-alpha4
imagePullPolicy
:
IfNotPresent
env
:
-
name
:
E2E_FOCUS
value
:
"
Pods
should
be
submitted
and
removed"
volumeMounts
:
-
name
:
output-volume
mountPath
:
/tmp/results
volumes
:
-
name
:
output-volume
hostPath
:
path
:
/tmp/results
restartPolicy
:
Never
serviceAccountName
:
conformance-serviceaccount
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment