-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding kraken containerization with readme instructions
- Loading branch information
1 parent
44e7538
commit 58b51eb
Showing
4 changed files
with
116 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
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,42 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: kraken-deployment | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
tool: Kraken | ||
template: | ||
metadata: | ||
labels: | ||
tool: Kraken | ||
spec: | ||
serviceAccountName: useroot | ||
containers: | ||
- name: kraken | ||
securityContext: | ||
privileged: true | ||
image: quay.io/openshift-scale/kraken | ||
command: ["/bin/sh", "-c"] | ||
args: ["python3 run_kraken.py -c config/config.yaml"] | ||
ports: | ||
- containerPort: 8080 | ||
volumeMounts: | ||
- mountPath: "/root/.kube" | ||
name: config | ||
- mountPath: "/root/kraken/config" | ||
name: kraken-config | ||
- mountPath: "/root/kraken/scenarios" | ||
name: scenarios-config | ||
volumes: | ||
- name: config | ||
configMap: | ||
name: kube-config | ||
- name: kraken-config | ||
configMap: | ||
name: kraken-config | ||
- name: scenarios-config | ||
configMap: | ||
name: scenarios-config |
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
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