SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
The Salmon Algorithm
Spawning with Kubernetes
Lindsey Tulloch
Lindsey Tulloch
Also likes: books, cats, coffee, bicycles, adventures
https://github.com/kubernetes-sigs/federation-v2
- Software Engineering Intern
@ Red Hat
- Multicluster May 2017 - Aug 2018
- Tekton Extension May 2019 - Thursday
- Kubernetes Release Team
- 1.12, 1.14, 1.15, 1.16 Release Notes
- Masters Student
@ University of Waterloo (as of next week!)
Spawning with Kubernetes
● Introduction and rationale
● Salmon
● Practical Considerations
● Containerization
● Compute Canada
● Implementation
● Experimental results
● Conclusion and Future
Work
Introduction & Rationale
Salmon
The Salmon Algorithm
● John Orth, 2012
● metaheuristic algorithm for combinatorial optimization problems inspired by:
○ Genetic Algorithms (population, generations, parent and child memories)
○ Ant Colony optimization (ïŹ‚ow of water attracts salmon)
○ Salmon spawning behaviour*
Each salmon contains two lists:
- tabu list: vertices in the current path under construction
- memory list: copy of the parent's completed tabu list.
*The behaviour of the software salmon is idealized. We make no claim that real salmon behave in exactly this fashion.
The Salmon Algorithm
Previous work:
- Orth (2012): Error Correcting Codes, Code Clique Equivalence, TSP
- Orth, Houghten,Tulloch (2017) and Tulloch, Houghten (2017): Param-ILS to
tune Parameters, TSP, DNA Fragment Assembly
- Shows promising results for TSP
- might be useful on other combinatorial optimization problems.
DNA Fragment Assembly Problem to TSP
The layout phase of FAP can be translated into a TSP problem[19]
(Mallen-Fullerton,Fernandez-Anaya) with the cities representing fragments and
the distances representing overlap scores.
Two minor changes:
Negate Total: Minimization to Maximization
Remove distance to last city since FAP is not circular (insertion of dummy city is
one solution)
Why Kube?
(if it ain’t broke. . .)
- Increased use of containers (including
Singularity, Charliecloud, Docker).
- Research moving away from strict “job” style
workïŹ‚ows.
- Adoption of data-streaming and in-ïŹ‚ight
processing.
- Greater use of interactive Science Gateways.
- Dependence on other more persistent
services--not aligned with HPC systems
- Increasing demand for reproducibility.
(if it ain’t broke. . .)
optimal, ïŹx it!
10
Advantages:
- Same API across ALL cloud resources with predictable results
- Promise of gitops: abstract away the running and processing of
research jobs
- Very popular, lots of talented engineers working on it, thriving
community
- Long-term outlook looks good
Does Kubernetes make sense as a research platform?
Practical Considerations
Compute Canada
Regional and Government Partners
Compute Canada
● Not-for-proïŹt corporation
● Membership includes most of Canada’s
major research universities
● All Canadian faculty members have access to Compute Canada systems and can sponsor
others:
- students
- postdocs
- external collaborators
● No fee for Canadian university faculty
● Reduced fee for federal laboratories and
not-for-proïŹt orgs
Compute Canada
● Compute and storage resources, data centres
● Team of ~200 experts in utilization of advanced
research computing
● 100s of research software packages
● Cloud compute and storage (openstack, owncloud)
● 5-10 Data Centres
● 300,000 cores
● 12 PïŹ‚ops, 50+ PB
Compute Canada
Researchers drive innovation
● The CC user base is broadening,
bringing a broader set of needs.
● Tremendous interest in services
enabling Research Data Management
(RDM)
Containerization
Docker
This is Docker This is Docker on HPC
Alternatives
20
Advantages:
- Same API across ALL cloud resources with predictable results
- GitOps
- Very popular,
Disadvantages:
- Complete overhaul of existing systems (Kubernetes and HPC
are not compatible at present)
- Huge learning curve - + yaml, docker, github, argo, kubeïŹ‚ow
- Desert of Expertise in academia
- Concern that corporate open source may not be as friendly for
academia as we’d like to think
Does Kubernetes make sense as a research platform?
Implementation
Salmon on Kubernetes
● Arbutus Cloud Project Access
○ Openstack
○ Maximum Resource Allocation
■ 5 Instances, 16 VCPUs, 36GB RAM, 5 Volumes, 70GB Volume Storage
■ 5 Floating IPs, 6 Security Groups
● Deploy Kubernetes with Kubespray, Terraform and Ansible
● Containerize the Salmon Algorithm
● Create Argo workïŹ‚ow
Salmon on Kubernetes
Salmon on KubernetesArbutus/Openstack
Salmon on KubernetesQuay Container Registry
Salmon on KubernetesContainer Logic
Salmon on KubernetesWorkïŹ‚ow Logic
YAML
YAML
Salmon runs with Argouns
Salmon resultsSalmon Results
Experimental Results
Ease of
Deployment
For a 12 month project. . .
August
- Started preliminary brainstorming ahead of time
September
- OïŹƒcial project start
October
- Meetings with Compute Canada staff interested
in Kubernetes
November
- Request RAS
- End of November--actual RAS allocation
Ease of
Deployment
For a 12 month project. . .
December
- Kubecon Seattle, meet Compute Canada staff
working on Kubernetes F2F
- Ryan Taylor (@ Compute Canada) and Bob Killen
(@ U of Michigan) offer support
January
- Figuring out how to get Kubernetes up and
running on Openstack
February
- Need more resources than originally requested
- Still working through oddities in the Kubernetes
deployment
Ease of
Deployment
For a 12 month project. . .
March
- Kubernetes deployed!!! 🙌🙌🙌🙌
April
- Containerizing the salmon algorithm for TSP
- Figuring out and deploying Argo workïŹ‚ows
May
- Argo workïŹ‚ows successful
- DNA Fragment Assembly containers
- Salmon container git repo with CI
June
- Cluster Flakes due to maintenance
- Paper writing
Ease of
Deployment
For a 12 month project. . .
July
- Paper writing and submissions
- Presentation
- Graduate. . .?
NO KUBERNETES
FOR 7/11 MONTHS
Conclusions & Future Work
Future of Kubernetes at CC
○ Learning curve is steep and time is precious (installing Kubernetes on bare
metal just to run your workflow is not worth it)
○ Lack of expertise with essential tools (yaml, docker, github)
○ Given an existing Kubernetes cluster, with a knowledgeable admin that can
assist you--Kubernetes offers a lot of benefits worth exploring
■ Completely automated, reproducible research workflows
■ Tools optimized for containerized, persistent services
■ Dependency hell eliminated
■ Roll back of Kubernetes versions can be fairly painless
To Kube or not to Kube?
Providers
● Offer Kubernetes for people to consume
● Get involved with the Kube community
● Learn as much as you can
● Provide outreach to researchers and
anyone that might need to be ramped up
Researchers
● Engage with research institutions
● Get involved with the Kube community
● Learn as much as you can
● Share your findings widely!
Future Research
- Performance Comparisons
- Git ops
- Syslabs.io’s “Slurm operator”
- Best practices for deploying
Kubernetes on prem
Thank You!
Useful Links
● CNCF Research User Group
● CNCF Academic Mailing List
● CNCF Academic Slack (#academia)
● Batch Jobs Channel (#kubernetes-batch-jobs)
● Kubernetes Big Data User Group
● Kubernetes Machine Learning Working Group
References
[1] G. M. Kurtzer, V. Sochat, and M. W. Bauer, “Singularity: Scientific containers for mobility of compute,” PLOS ONE, vol. 12, no. 5,
p. e0177459, May 2017. [Online]. Available: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0177459
[2] R. Priedhorsky and T. Randles, “Charliecloud: Unprivileged containers for user-defined software stacks in HPC,” p. 12.
[3] B. Burns, “The History of Kubernetes & the Community Behind It,” 2018. [Online]. Available:
https://kubernetes.io/blog/2018/07/20/
the-history-of-kubernetes--the-community-behind-it/
[4] B. Burns, B. Grant, D. Oppenheimer, E. Brewer, and J. Wilkes, “Borg, Omega, and Kubernetes,” p. 24.
[5] “CERN Case Study,” jun 2019. [Online]. Available: https://kubernetes.io/case-studies/cern/
[6] K. Sheets and S. Telfer, “Kubernetes, HPC and MPI,” Nov. 2018. [Online]. Available: https://www.stackhpc.com/k8s-mpi.html
[7] A. Ingersoll, “The full-time job of keeping up with Kubernetes,” https://gravitational.com/blog/kubernetes-release-cycle/. [Online].
Available: https://gravitational.com/blog/kubernetes-release-cycle/
[8] J. Orth, S. Houghten, and L. Tulloch, “Evaluation of the salmon algorithm,” in 2017 IEEE Conference on Computational
Intelligence
in Bioinformatics and Computational Biology (CIBCB), Aug. 2017, pp. 1–8.
[9] J. Orth, “The Salmon Algorithm-A New Population Based Search Metaheuristic,” Master’s Thesis, Brock University, 2012.
[Online].
Available: https://dr.library.brocku.ca/handle/10464/3929
[10] C. Pahl, A. Brogi, J. Soldani, and P. Jamshidi, “Cloud Container Technologies: a State-of-the-Art Review,” IEEE Transactions
on Cloud
Computing, vol. PP, pp. 1–1, May 2017.
[11] “Open Container Initiative, About,” https://www.opencontainers.org/faq, url = https://www.opencontainers.org/faq, language =
en-US, urldate = 2019-07-01, author = The Linux Foundation, journal = Open Containers Initiative, file = Snap-
shot:/home/banana/.zotero/zotero/7pdexnl0.default/zotero/storage/CJNUMT6R/faq.html:text/html.
References
[12] S. Telfer, “The State of HPC Containers,” https://www.stackhpc.com/the-state-of-hpc-containers.html. [Online]. Available:
https://www.stackhpc.com/the-state-of-hpc-containers.html
[13] C. Boettiger, “An introduction to Docker for reproducible research, with examples from the R environment,” ACM SIGOPS
Operating
Systems Review, vol. 49, no. 1, pp. 71–79, Jan. 2015, arXiv: 1410.0846. [Online]. Available: http://arxiv.org/abs/1410.0846
[14] “What is Kubernetes,” https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/. [Online]. Available:
https://kubernetes.io/docs/
concepts/overview/what-is-kubernetes/
[15] B. Gruening, O. Sallou, P. Moreno, F. da Veiga Leprevost, H. MĂ©nager, D. SĂžndergaard, H. Röst, T. Sachsenberg, B. O’Connor,
F. Madeira, V. Dominguez Del Angel, M. R. Crusoe, S. Varma, D. Blankenberg, R. C. Jimenez, BioContainers Community, and
Y. Perez-Riverol, “Recommendations for the packaging and containerizing of bioinformatics software,” F1000Research, vol. 7, p.
742,
Jun. 2018. [Online]. Available: https://f1000research.com/articles/7-742/v1
[16] D. M. Jacobsen and R. S. Canon, “Contain This, Unleashing Docker for HPC,” p. 8, 2015.
[17] A. Verma, L. Pedrosa, M. Korupolu, D. Oppenheimer, E. Tune, and J. Wilkes, “Large-scale cluster management at Google with
Borg,” in Proceedings of the Tenth European Conference on Computer Systems - EuroSys ’15. Bordeaux, France: ACM Press, 2015,
pp. 1–17. [Online]. Available: http://dl.acm.org/citation.cfm?doid=2741948.2741964
[18] Hutter, F., Hoos, H.H., LeytonBrown K., Stuzle, T., “ParamILS: An Automatic Algorithm Configuration Framework,” Journal
of Artificial Intelligence Research, vol. 36, pp. 267–306, Oct. 2009. [Online]. Available: http://www.cs.ubc.ca/labs/beta/Projects/
ParamILS/papers/09-JAIR-ParamILS.pdf
References
[19] G. M. MallĂ©n-Fullerton, J. A. Hughes, S. Houghten, and G. FernĂĄndez-Anaya, “Benchmark datasets for the dna fragment
assembly problem,” International Journal of Bio-Inspired Computation, vol. 5, no. 6, pp. 384–394, 2013. [Online]. Available:
http://www.inderscienceonline.com/doi/abs/10.1504/IJBIC.2013.058912
[20] R. M. Karp, “Reducibility among combinatorial problems,” in Complexity of Computer Computations: Proc. of a Symp. on the
Complexity of Computer Computations, ser. The IBM Research Symposia Series, R. E. Miller and J. W. Thatcher, Ed. New York,
NY: Plenum Press, 1972, pp. 85–103. [Online]. Available: http://cgi.di.uoa.gr/ ∌ sgk/teaching/grad/handouts/karp.pdf
[21] L. Tulloch and S. Houghten, “The Salmon Algorithm Return of the Parameters,” 2017.
[22] Gerhard Reinelt, “TSPLIB.” [Online]. Available: http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/
[23] J. A. Hughes, S. Houghten, and D. Ashlock, “Recentering and restarting a genetic algorithm using a generative representation
for an ordered gene problem1,” International Journal of Hybrid Intelligent Systems, vol. 11, no. 4, pp. 257–271, Sep. 2014. [Online].
Available: http://www.medra.org/servlet/aliasResolver?alias=iospress&doi=10.3233/HIS-140198[24] G. M. Mallén-Fullerton and G.
Fernandez-Anaya, “DNA fragment assembly using optimization,” in Evolutionary computation (CEC),
2013 IEEE congress on. IEEE, 2013, pp. 1570–1577. [Online]. Available: http://ieeexplore.ieee.org/abstract/document/6557749/
[25] J. Hughes, “A Study of Ordered Gene Problems Featuring DNA Error Correction and DNA Fragment Assembly with a Variety
of Heuristics, Genetic Algorithm Variations, and Dynamic Representations,” Master’s Thesis, Brock University, 2014. [Online].
Available: http://www.dr.library.brocku.ca/handle/10464/5600
[26] R. J. Parsons, S. Forrest, and C. Burks, “Genetic algorithms, operators, and DNA fragment assembly,” Machine Learning, vol.
21, no. 1, pp. 11–33, 1995. [Online]. Available: http://www.springerlink.com/index/P892188783H43M04.pdf
[27] A. Hughes, James, S. Houghten, and D. Ashlock, “Recentering and restarting a genetic algorithm using a generative
representation for an ordered gene problem,” International Journal of Hybrid Intelligent Systems, vol. 11, pp. 257–271, 2014.
[28] L. Tulloch, “Deploying research workflows with Argo on Openstack Kubernetes clusters through compute canada:
onyiny-ang/4f90-kubernetes,” Jul. 2019. [Online]. Available: https://github.com/onyiny-ang/4F90-kubernetes
References
[29] ——, “Base code and container build repository for the Salmon Algorithm and basic DNA Fragment Assembly benchmark
problems: onyiny-ang/salmon,” Jul. 2019, original-date: 2019-05-10T05:53:00Z. [Online]. Available:
https://github.com/onyiny-ang/salmon
[30] S. Team, “Introducing HPC Affinities to the Enterprise: A New Open Source Project Integrates Singularity and Slurm via
Kubernetes,” May 2019. [Online]. Available: https://www.sylabs.io/2019/05/
introducing-hpc-affinities-to-the-enterprise-a-new-open-source-project-integrates-singularity-and-slurm-via-kubernetes/
[31] F. da Veiga Leprevost, B. A. GrĂŒning, S. Alves Aflitos, H. L. Röst, J. Uszkoreit, H. Barsnes, M. Vaudel, P. Moreno, L. Gatto,
J. Weber, M. Bai, R. C. Jimenez, T. Sachsenberg, J. Pfeuffer, R. Vera Alvarez, J. Griss, A. I. Nesvizhskii, and Y. Perez-Riverol,
“BioContainers: an open-source and community-driven framework for software standardization,” Bioinformatics, vol. 33, no. 16, pp.
2580–2582, Aug. 2017. [Online]. Available: https://academic.oup.com/bioinformatics/article/33/16/2580/3096437
[32] J. A. Novella, P. Emami Khoonsari, S. Herman, D. Whitenack, M. Capuccini, J. Burman, K. Kultima, and O. Spjuth,
“Container-based bioinformatics with Pachyderm,” bioRxiv, Apr. 2018. [Online]. Available:
http://biorxiv.org/lookup/doi/10.1101/299032
[33] O. Spjuth, M. Capuccini, M. Carone, A. Larsson, W. Schaal, J. Novella, P. Di Tommaso, C. Notredame, P. Moreno, P. E.
Khoonsari, S. Herman, K. Kultima, and S. Lampa, “Approaches for containerized scientific workflows in cloud environments with
applications in life science,” August 2018. [Online]. Available: https://peerj.com/preprints/27141
[34] S. Turol, C. Gutierrez, and S. Matykevich, “A Multitude of Kubernetes Deployment Tools: Kubespray, kops, and kubeadm,” https:
//www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/, Jun. 2018. [Online]. Available:
https://www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/

Weitere Àhnliche Inhalte

Ähnlich wie The Salmon Algorithm Spawning with Kubernetes

Kubernetes the deltatre way the basics - introduction to containers and orc...
Kubernetes the deltatre way   the basics - introduction to containers and orc...Kubernetes the deltatre way   the basics - introduction to containers and orc...
Kubernetes the deltatre way the basics - introduction to containers and orc...Rauno De Pasquale
 
Cairo Kubernetes Meetup - October event Talk #1
Cairo Kubernetes Meetup - October event Talk #1Cairo Kubernetes Meetup - October event Talk #1
Cairo Kubernetes Meetup - October event Talk #1omehelba
 
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒ
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒ
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒinside-BigData.com
 
Kubernetes meetup bangalore december 2017 - v02
Kubernetes meetup bangalore   december 2017 - v02Kubernetes meetup bangalore   december 2017 - v02
Kubernetes meetup bangalore december 2017 - v02Kumar Gaurav
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetesGabriel Carro
 
Pydata 2020 containers meetup
Pydata  2020 containers meetup Pydata  2020 containers meetup
Pydata 2020 containers meetup Walid Shaari
 
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...Matt Ray
 
From chroot to Docker to Kubernetes
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to KubernetesAlex Glikson
 
Kubecon 2019 Recap
Kubecon 2019 RecapKubecon 2019 Recap
Kubecon 2019 RecapAarno Aukia
 
Modern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesModern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesSlim Baltagi
 
Cortex: Horizontally Scalable, Highly Available Prometheus
Cortex: Horizontally Scalable, Highly Available PrometheusCortex: Horizontally Scalable, Highly Available Prometheus
Cortex: Horizontally Scalable, Highly Available PrometheusGrafana Labs
 
Open Source Visualization of Scientific Data
Open Source Visualization of Scientific DataOpen Source Visualization of Scientific Data
Open Source Visualization of Scientific DataMarcus Hanwell
 
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...Lee Calcote
 
Kubernetes for All
Kubernetes for AllKubernetes for All
Kubernetes for AllWilliam Jimenez
 
Kubernetes kubecon-roundup
Kubernetes kubecon-roundupKubernetes kubecon-roundup
Kubernetes kubecon-roundupSebastien Goasguen
 
Kubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystemKubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystemSreenivas Makam
 
Security Challenges and the Pacific Research Platform
Security Challenges and the Pacific Research PlatformSecurity Challenges and the Pacific Research Platform
Security Challenges and the Pacific Research PlatformLarry Smarr
 
Democratizing machine learning on kubernetes
Democratizing machine learning on kubernetesDemocratizing machine learning on kubernetes
Democratizing machine learning on kubernetesDocker, Inc.
 
A Tale of Three Tools: Kubernetes, Jsonnet, and Bazel
A Tale of Three Tools: Kubernetes, Jsonnet, and BazelA Tale of Three Tools: Kubernetes, Jsonnet, and Bazel
A Tale of Three Tools: Kubernetes, Jsonnet, and BazelDatabricks
 

Ähnlich wie The Salmon Algorithm Spawning with Kubernetes (20)

Kubernetes the deltatre way the basics - introduction to containers and orc...
Kubernetes the deltatre way   the basics - introduction to containers and orc...Kubernetes the deltatre way   the basics - introduction to containers and orc...
Kubernetes the deltatre way the basics - introduction to containers and orc...
 
Cairo Kubernetes Meetup - October event Talk #1
Cairo Kubernetes Meetup - October event Talk #1Cairo Kubernetes Meetup - October event Talk #1
Cairo Kubernetes Meetup - October event Talk #1
 
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒ
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒ
ïżŒHPC Cluster Computing from 64 to 156,000 Cores ïżŒ
 
Kubernetes meetup bangalore december 2017 - v02
Kubernetes meetup bangalore   december 2017 - v02Kubernetes meetup bangalore   december 2017 - v02
Kubernetes meetup bangalore december 2017 - v02
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Pydata 2020 containers meetup
Pydata  2020 containers meetup Pydata  2020 containers meetup
Pydata 2020 containers meetup
 
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
 
From chroot to Docker to Kubernetes
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to Kubernetes
 
Kubecon 2019 Recap
Kubecon 2019 RecapKubecon 2019 Recap
Kubecon 2019 Recap
 
Modern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesModern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetes
 
Cortex: Horizontally Scalable, Highly Available Prometheus
Cortex: Horizontally Scalable, Highly Available PrometheusCortex: Horizontally Scalable, Highly Available Prometheus
Cortex: Horizontally Scalable, Highly Available Prometheus
 
Open Source Visualization of Scientific Data
Open Source Visualization of Scientific DataOpen Source Visualization of Scientific Data
Open Source Visualization of Scientific Data
 
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...
Create Great CNCF User-Base from Lessons Learned from Other Open Source Commu...
 
Kubernetes for All
Kubernetes for AllKubernetes for All
Kubernetes for All
 
Kubernetes 101 Workshop
Kubernetes 101 WorkshopKubernetes 101 Workshop
Kubernetes 101 Workshop
 
Kubernetes kubecon-roundup
Kubernetes kubecon-roundupKubernetes kubecon-roundup
Kubernetes kubecon-roundup
 
Kubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystemKubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystem
 
Security Challenges and the Pacific Research Platform
Security Challenges and the Pacific Research PlatformSecurity Challenges and the Pacific Research Platform
Security Challenges and the Pacific Research Platform
 
Democratizing machine learning on kubernetes
Democratizing machine learning on kubernetesDemocratizing machine learning on kubernetes
Democratizing machine learning on kubernetes
 
A Tale of Three Tools: Kubernetes, Jsonnet, and Bazel
A Tale of Three Tools: Kubernetes, Jsonnet, and BazelA Tale of Three Tools: Kubernetes, Jsonnet, and Bazel
A Tale of Three Tools: Kubernetes, Jsonnet, and Bazel
 

Mehr von CloudOps2005

Defense in Depth: Securing your new Kubernetes cluster from the challenges th...
Defense in Depth: Securing your new Kubernetes cluster from the challenges th...Defense in Depth: Securing your new Kubernetes cluster from the challenges th...
Defense in Depth: Securing your new Kubernetes cluster from the challenges th...CloudOps2005
 
Human No, Machine Yes: Welcome to the CDF with Incremental Confidence
Human No, Machine Yes: Welcome to the CDF with Incremental ConfidenceHuman No, Machine Yes: Welcome to the CDF with Incremental Confidence
Human No, Machine Yes: Welcome to the CDF with Incremental ConfidenceCloudOps2005
 
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019CloudOps2005
 
Plateformes et infrastructure infonuagique natif de ville de Montréall
Plateformes et infrastructure infonuagique natif de ville de MontréallPlateformes et infrastructure infonuagique natif de ville de Montréall
Plateformes et infrastructure infonuagique natif de ville de MontréallCloudOps2005
 
Using Rook to Manage Kubernetes Storage with Ceph
Using Rook to Manage Kubernetes Storage with CephUsing Rook to Manage Kubernetes Storage with Ceph
Using Rook to Manage Kubernetes Storage with CephCloudOps2005
 
Kafka on Kubernetes
Kafka on KubernetesKafka on Kubernetes
Kafka on KubernetesCloudOps2005
 
Kubernetes: Crossing the Chasm
Kubernetes: Crossing the ChasmKubernetes: Crossing the Chasm
Kubernetes: Crossing the ChasmCloudOps2005
 
Distributed Logging with Kubernetes
Distributed Logging with KubernetesDistributed Logging with Kubernetes
Distributed Logging with KubernetesCloudOps2005
 
Kubernetes Security with Calico and Open Policy Agent
Kubernetes Security with Calico and Open Policy AgentKubernetes Security with Calico and Open Policy Agent
Kubernetes Security with Calico and Open Policy AgentCloudOps2005
 
Advanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioAdvanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioCloudOps2005
 
GitOps with ArgoCD
GitOps with ArgoCDGitOps with ArgoCD
GitOps with ArgoCDCloudOps2005
 
Kubernetes Services are sooo Yesterday!
Kubernetes Services are sooo Yesterday!Kubernetes Services are sooo Yesterday!
Kubernetes Services are sooo Yesterday!CloudOps2005
 
Amazon EKS: the good, the bad, and the ugly
Amazon EKS: the good, the bad, and the uglyAmazon EKS: the good, the bad, and the ugly
Amazon EKS: the good, the bad, and the uglyCloudOps2005
 
Kubernetes, Terraform, Vault, and Consul
Kubernetes, Terraform, Vault, and ConsulKubernetes, Terraform, Vault, and Consul
Kubernetes, Terraform, Vault, and ConsulCloudOps2005
 
SIG Multicluster and the Path to Federation
SIG Multicluster and the Path to FederationSIG Multicluster and the Path to Federation
SIG Multicluster and the Path to FederationCloudOps2005
 
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
To Russia with Love: Deploying Kubernetes in Exotic Locations On PremTo Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
To Russia with Love: Deploying Kubernetes in Exotic Locations On PremCloudOps2005
 
Operator SDK for K8s using Go
Operator SDK for K8s using GoOperator SDK for K8s using Go
Operator SDK for K8s using GoCloudOps2005
 
How to Handle your Kubernetes Upgrades
How to Handle your Kubernetes UpgradesHow to Handle your Kubernetes Upgrades
How to Handle your Kubernetes UpgradesCloudOps2005
 
Kubernetes and Cloud Native Meetup - March, 2019
Kubernetes and Cloud Native Meetup - March, 2019Kubernetes and Cloud Native Meetup - March, 2019
Kubernetes and Cloud Native Meetup - March, 2019CloudOps2005
 
Prometheus and Thanos
Prometheus and ThanosPrometheus and Thanos
Prometheus and ThanosCloudOps2005
 

Mehr von CloudOps2005 (20)

Defense in Depth: Securing your new Kubernetes cluster from the challenges th...
Defense in Depth: Securing your new Kubernetes cluster from the challenges th...Defense in Depth: Securing your new Kubernetes cluster from the challenges th...
Defense in Depth: Securing your new Kubernetes cluster from the challenges th...
 
Human No, Machine Yes: Welcome to the CDF with Incremental Confidence
Human No, Machine Yes: Welcome to the CDF with Incremental ConfidenceHuman No, Machine Yes: Welcome to the CDF with Incremental Confidence
Human No, Machine Yes: Welcome to the CDF with Incremental Confidence
 
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019
Own your Destiny in the Cloud - Ian Rae - Cloud Native Day Montreal 2019
 
Plateformes et infrastructure infonuagique natif de ville de Montréall
Plateformes et infrastructure infonuagique natif de ville de MontréallPlateformes et infrastructure infonuagique natif de ville de Montréall
Plateformes et infrastructure infonuagique natif de ville de Montréall
 
Using Rook to Manage Kubernetes Storage with Ceph
Using Rook to Manage Kubernetes Storage with CephUsing Rook to Manage Kubernetes Storage with Ceph
Using Rook to Manage Kubernetes Storage with Ceph
 
Kafka on Kubernetes
Kafka on KubernetesKafka on Kubernetes
Kafka on Kubernetes
 
Kubernetes: Crossing the Chasm
Kubernetes: Crossing the ChasmKubernetes: Crossing the Chasm
Kubernetes: Crossing the Chasm
 
Distributed Logging with Kubernetes
Distributed Logging with KubernetesDistributed Logging with Kubernetes
Distributed Logging with Kubernetes
 
Kubernetes Security with Calico and Open Policy Agent
Kubernetes Security with Calico and Open Policy AgentKubernetes Security with Calico and Open Policy Agent
Kubernetes Security with Calico and Open Policy Agent
 
Advanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and IstioAdvanced Deployment Strategies with Kubernetes and Istio
Advanced Deployment Strategies with Kubernetes and Istio
 
GitOps with ArgoCD
GitOps with ArgoCDGitOps with ArgoCD
GitOps with ArgoCD
 
Kubernetes Services are sooo Yesterday!
Kubernetes Services are sooo Yesterday!Kubernetes Services are sooo Yesterday!
Kubernetes Services are sooo Yesterday!
 
Amazon EKS: the good, the bad, and the ugly
Amazon EKS: the good, the bad, and the uglyAmazon EKS: the good, the bad, and the ugly
Amazon EKS: the good, the bad, and the ugly
 
Kubernetes, Terraform, Vault, and Consul
Kubernetes, Terraform, Vault, and ConsulKubernetes, Terraform, Vault, and Consul
Kubernetes, Terraform, Vault, and Consul
 
SIG Multicluster and the Path to Federation
SIG Multicluster and the Path to FederationSIG Multicluster and the Path to Federation
SIG Multicluster and the Path to Federation
 
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
To Russia with Love: Deploying Kubernetes in Exotic Locations On PremTo Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
 
Operator SDK for K8s using Go
Operator SDK for K8s using GoOperator SDK for K8s using Go
Operator SDK for K8s using Go
 
How to Handle your Kubernetes Upgrades
How to Handle your Kubernetes UpgradesHow to Handle your Kubernetes Upgrades
How to Handle your Kubernetes Upgrades
 
Kubernetes and Cloud Native Meetup - March, 2019
Kubernetes and Cloud Native Meetup - March, 2019Kubernetes and Cloud Native Meetup - March, 2019
Kubernetes and Cloud Native Meetup - March, 2019
 
Prometheus and Thanos
Prometheus and ThanosPrometheus and Thanos
Prometheus and Thanos
 

KĂŒrzlich hochgeladen

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

KĂŒrzlich hochgeladen (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

The Salmon Algorithm Spawning with Kubernetes

  • 1. The Salmon Algorithm Spawning with Kubernetes Lindsey Tulloch
  • 2. Lindsey Tulloch Also likes: books, cats, coffee, bicycles, adventures https://github.com/kubernetes-sigs/federation-v2 - Software Engineering Intern @ Red Hat - Multicluster May 2017 - Aug 2018 - Tekton Extension May 2019 - Thursday - Kubernetes Release Team - 1.12, 1.14, 1.15, 1.16 Release Notes - Masters Student @ University of Waterloo (as of next week!)
  • 3. Spawning with Kubernetes ● Introduction and rationale ● Salmon ● Practical Considerations ● Containerization ● Compute Canada ● Implementation ● Experimental results ● Conclusion and Future Work
  • 6. The Salmon Algorithm ● John Orth, 2012 ● metaheuristic algorithm for combinatorial optimization problems inspired by: ○ Genetic Algorithms (population, generations, parent and child memories) ○ Ant Colony optimization (ïŹ‚ow of water attracts salmon) ○ Salmon spawning behaviour* Each salmon contains two lists: - tabu list: vertices in the current path under construction - memory list: copy of the parent's completed tabu list. *The behaviour of the software salmon is idealized. We make no claim that real salmon behave in exactly this fashion.
  • 7. The Salmon Algorithm Previous work: - Orth (2012): Error Correcting Codes, Code Clique Equivalence, TSP - Orth, Houghten,Tulloch (2017) and Tulloch, Houghten (2017): Param-ILS to tune Parameters, TSP, DNA Fragment Assembly - Shows promising results for TSP - might be useful on other combinatorial optimization problems.
  • 8. DNA Fragment Assembly Problem to TSP The layout phase of FAP can be translated into a TSP problem[19] (Mallen-Fullerton,Fernandez-Anaya) with the cities representing fragments and the distances representing overlap scores. Two minor changes: Negate Total: Minimization to Maximization Remove distance to last city since FAP is not circular (insertion of dummy city is one solution)
  • 9. Why Kube? (if it ain’t broke. . .) - Increased use of containers (including Singularity, Charliecloud, Docker). - Research moving away from strict “job” style workïŹ‚ows. - Adoption of data-streaming and in-ïŹ‚ight processing. - Greater use of interactive Science Gateways. - Dependence on other more persistent services--not aligned with HPC systems - Increasing demand for reproducibility. (if it ain’t broke. . .) optimal, ïŹx it!
  • 10. 10 Advantages: - Same API across ALL cloud resources with predictable results - Promise of gitops: abstract away the running and processing of research jobs - Very popular, lots of talented engineers working on it, thriving community - Long-term outlook looks good Does Kubernetes make sense as a research platform?
  • 12. Compute Canada Regional and Government Partners
  • 13.
  • 14. Compute Canada ● Not-for-proïŹt corporation ● Membership includes most of Canada’s major research universities ● All Canadian faculty members have access to Compute Canada systems and can sponsor others: - students - postdocs - external collaborators ● No fee for Canadian university faculty ● Reduced fee for federal laboratories and not-for-proïŹt orgs
  • 15. Compute Canada ● Compute and storage resources, data centres ● Team of ~200 experts in utilization of advanced research computing ● 100s of research software packages ● Cloud compute and storage (openstack, owncloud) ● 5-10 Data Centres ● 300,000 cores ● 12 PïŹ‚ops, 50+ PB
  • 16. Compute Canada Researchers drive innovation ● The CC user base is broadening, bringing a broader set of needs. ● Tremendous interest in services enabling Research Data Management (RDM)
  • 18. Docker This is Docker This is Docker on HPC
  • 20. 20 Advantages: - Same API across ALL cloud resources with predictable results - GitOps - Very popular, Disadvantages: - Complete overhaul of existing systems (Kubernetes and HPC are not compatible at present) - Huge learning curve - + yaml, docker, github, argo, kubeïŹ‚ow - Desert of Expertise in academia - Concern that corporate open source may not be as friendly for academia as we’d like to think Does Kubernetes make sense as a research platform?
  • 22. Salmon on Kubernetes ● Arbutus Cloud Project Access ○ Openstack ○ Maximum Resource Allocation ■ 5 Instances, 16 VCPUs, 36GB RAM, 5 Volumes, 70GB Volume Storage ■ 5 Floating IPs, 6 Security Groups ● Deploy Kubernetes with Kubespray, Terraform and Ansible ● Containerize the Salmon Algorithm ● Create Argo workïŹ‚ow Salmon on Kubernetes
  • 24.
  • 25. Salmon on KubernetesQuay Container Registry
  • 28. Salmon runs with Argouns
  • 31. Ease of Deployment For a 12 month project. . . August - Started preliminary brainstorming ahead of time September - OïŹƒcial project start October - Meetings with Compute Canada staff interested in Kubernetes November - Request RAS - End of November--actual RAS allocation
  • 32. Ease of Deployment For a 12 month project. . . December - Kubecon Seattle, meet Compute Canada staff working on Kubernetes F2F - Ryan Taylor (@ Compute Canada) and Bob Killen (@ U of Michigan) offer support January - Figuring out how to get Kubernetes up and running on Openstack February - Need more resources than originally requested - Still working through oddities in the Kubernetes deployment
  • 33. Ease of Deployment For a 12 month project. . . March - Kubernetes deployed!!! 🙌🙌🙌🙌 April - Containerizing the salmon algorithm for TSP - Figuring out and deploying Argo workïŹ‚ows May - Argo workïŹ‚ows successful - DNA Fragment Assembly containers - Salmon container git repo with CI June - Cluster Flakes due to maintenance - Paper writing
  • 34. Ease of Deployment For a 12 month project. . . July - Paper writing and submissions - Presentation - Graduate. . .? NO KUBERNETES FOR 7/11 MONTHS
  • 36. Future of Kubernetes at CC ○ Learning curve is steep and time is precious (installing Kubernetes on bare metal just to run your workflow is not worth it) ○ Lack of expertise with essential tools (yaml, docker, github) ○ Given an existing Kubernetes cluster, with a knowledgeable admin that can assist you--Kubernetes offers a lot of benefits worth exploring ■ Completely automated, reproducible research workflows ■ Tools optimized for containerized, persistent services ■ Dependency hell eliminated ■ Roll back of Kubernetes versions can be fairly painless To Kube or not to Kube?
  • 37. Providers ● Offer Kubernetes for people to consume ● Get involved with the Kube community ● Learn as much as you can ● Provide outreach to researchers and anyone that might need to be ramped up
  • 38. Researchers ● Engage with research institutions ● Get involved with the Kube community ● Learn as much as you can ● Share your findings widely!
  • 39. Future Research - Performance Comparisons - Git ops - Syslabs.io’s “Slurm operator” - Best practices for deploying Kubernetes on prem
  • 41. Useful Links ● CNCF Research User Group ● CNCF Academic Mailing List ● CNCF Academic Slack (#academia) ● Batch Jobs Channel (#kubernetes-batch-jobs) ● Kubernetes Big Data User Group ● Kubernetes Machine Learning Working Group
  • 42. References [1] G. M. Kurtzer, V. Sochat, and M. W. Bauer, “Singularity: Scientific containers for mobility of compute,” PLOS ONE, vol. 12, no. 5, p. e0177459, May 2017. [Online]. Available: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0177459 [2] R. Priedhorsky and T. Randles, “Charliecloud: Unprivileged containers for user-defined software stacks in HPC,” p. 12. [3] B. Burns, “The History of Kubernetes & the Community Behind It,” 2018. [Online]. Available: https://kubernetes.io/blog/2018/07/20/ the-history-of-kubernetes--the-community-behind-it/ [4] B. Burns, B. Grant, D. Oppenheimer, E. Brewer, and J. Wilkes, “Borg, Omega, and Kubernetes,” p. 24. [5] “CERN Case Study,” jun 2019. [Online]. Available: https://kubernetes.io/case-studies/cern/ [6] K. Sheets and S. Telfer, “Kubernetes, HPC and MPI,” Nov. 2018. [Online]. Available: https://www.stackhpc.com/k8s-mpi.html [7] A. Ingersoll, “The full-time job of keeping up with Kubernetes,” https://gravitational.com/blog/kubernetes-release-cycle/. [Online]. Available: https://gravitational.com/blog/kubernetes-release-cycle/ [8] J. Orth, S. Houghten, and L. Tulloch, “Evaluation of the salmon algorithm,” in 2017 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB), Aug. 2017, pp. 1–8. [9] J. Orth, “The Salmon Algorithm-A New Population Based Search Metaheuristic,” Master’s Thesis, Brock University, 2012. [Online]. Available: https://dr.library.brocku.ca/handle/10464/3929 [10] C. Pahl, A. Brogi, J. Soldani, and P. Jamshidi, “Cloud Container Technologies: a State-of-the-Art Review,” IEEE Transactions on Cloud Computing, vol. PP, pp. 1–1, May 2017. [11] “Open Container Initiative, About,” https://www.opencontainers.org/faq, url = https://www.opencontainers.org/faq, language = en-US, urldate = 2019-07-01, author = The Linux Foundation, journal = Open Containers Initiative, file = Snap- shot:/home/banana/.zotero/zotero/7pdexnl0.default/zotero/storage/CJNUMT6R/faq.html:text/html.
  • 43. References [12] S. Telfer, “The State of HPC Containers,” https://www.stackhpc.com/the-state-of-hpc-containers.html. [Online]. Available: https://www.stackhpc.com/the-state-of-hpc-containers.html [13] C. Boettiger, “An introduction to Docker for reproducible research, with examples from the R environment,” ACM SIGOPS Operating Systems Review, vol. 49, no. 1, pp. 71–79, Jan. 2015, arXiv: 1410.0846. [Online]. Available: http://arxiv.org/abs/1410.0846 [14] “What is Kubernetes,” https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/. [Online]. Available: https://kubernetes.io/docs/ concepts/overview/what-is-kubernetes/ [15] B. Gruening, O. Sallou, P. Moreno, F. da Veiga Leprevost, H. MĂ©nager, D. SĂžndergaard, H. Röst, T. Sachsenberg, B. O’Connor, F. Madeira, V. Dominguez Del Angel, M. R. Crusoe, S. Varma, D. Blankenberg, R. C. Jimenez, BioContainers Community, and Y. Perez-Riverol, “Recommendations for the packaging and containerizing of bioinformatics software,” F1000Research, vol. 7, p. 742, Jun. 2018. [Online]. Available: https://f1000research.com/articles/7-742/v1 [16] D. M. Jacobsen and R. S. Canon, “Contain This, Unleashing Docker for HPC,” p. 8, 2015. [17] A. Verma, L. Pedrosa, M. Korupolu, D. Oppenheimer, E. Tune, and J. Wilkes, “Large-scale cluster management at Google with Borg,” in Proceedings of the Tenth European Conference on Computer Systems - EuroSys ’15. Bordeaux, France: ACM Press, 2015, pp. 1–17. [Online]. Available: http://dl.acm.org/citation.cfm?doid=2741948.2741964 [18] Hutter, F., Hoos, H.H., LeytonBrown K., Stuzle, T., “ParamILS: An Automatic Algorithm Configuration Framework,” Journal of Artificial Intelligence Research, vol. 36, pp. 267–306, Oct. 2009. [Online]. Available: http://www.cs.ubc.ca/labs/beta/Projects/ ParamILS/papers/09-JAIR-ParamILS.pdf
  • 44. References [19] G. M. MallĂ©n-Fullerton, J. A. Hughes, S. Houghten, and G. FernĂĄndez-Anaya, “Benchmark datasets for the dna fragment assembly problem,” International Journal of Bio-Inspired Computation, vol. 5, no. 6, pp. 384–394, 2013. [Online]. Available: http://www.inderscienceonline.com/doi/abs/10.1504/IJBIC.2013.058912 [20] R. M. Karp, “Reducibility among combinatorial problems,” in Complexity of Computer Computations: Proc. of a Symp. on the Complexity of Computer Computations, ser. The IBM Research Symposia Series, R. E. Miller and J. W. Thatcher, Ed. New York, NY: Plenum Press, 1972, pp. 85–103. [Online]. Available: http://cgi.di.uoa.gr/ ∌ sgk/teaching/grad/handouts/karp.pdf [21] L. Tulloch and S. Houghten, “The Salmon Algorithm Return of the Parameters,” 2017. [22] Gerhard Reinelt, “TSPLIB.” [Online]. Available: http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/ [23] J. A. Hughes, S. Houghten, and D. Ashlock, “Recentering and restarting a genetic algorithm using a generative representation for an ordered gene problem1,” International Journal of Hybrid Intelligent Systems, vol. 11, no. 4, pp. 257–271, Sep. 2014. [Online]. Available: http://www.medra.org/servlet/aliasResolver?alias=iospress&doi=10.3233/HIS-140198[24] G. M. MallĂ©n-Fullerton and G. Fernandez-Anaya, “DNA fragment assembly using optimization,” in Evolutionary computation (CEC), 2013 IEEE congress on. IEEE, 2013, pp. 1570–1577. [Online]. Available: http://ieeexplore.ieee.org/abstract/document/6557749/ [25] J. Hughes, “A Study of Ordered Gene Problems Featuring DNA Error Correction and DNA Fragment Assembly with a Variety of Heuristics, Genetic Algorithm Variations, and Dynamic Representations,” Master’s Thesis, Brock University, 2014. [Online]. Available: http://www.dr.library.brocku.ca/handle/10464/5600 [26] R. J. Parsons, S. Forrest, and C. Burks, “Genetic algorithms, operators, and DNA fragment assembly,” Machine Learning, vol. 21, no. 1, pp. 11–33, 1995. [Online]. Available: http://www.springerlink.com/index/P892188783H43M04.pdf [27] A. Hughes, James, S. Houghten, and D. Ashlock, “Recentering and restarting a genetic algorithm using a generative representation for an ordered gene problem,” International Journal of Hybrid Intelligent Systems, vol. 11, pp. 257–271, 2014. [28] L. Tulloch, “Deploying research workflows with Argo on Openstack Kubernetes clusters through compute canada: onyiny-ang/4f90-kubernetes,” Jul. 2019. [Online]. Available: https://github.com/onyiny-ang/4F90-kubernetes
  • 45. References [29] ——, “Base code and container build repository for the Salmon Algorithm and basic DNA Fragment Assembly benchmark problems: onyiny-ang/salmon,” Jul. 2019, original-date: 2019-05-10T05:53:00Z. [Online]. Available: https://github.com/onyiny-ang/salmon [30] S. Team, “Introducing HPC Affinities to the Enterprise: A New Open Source Project Integrates Singularity and Slurm via Kubernetes,” May 2019. [Online]. Available: https://www.sylabs.io/2019/05/ introducing-hpc-affinities-to-the-enterprise-a-new-open-source-project-integrates-singularity-and-slurm-via-kubernetes/ [31] F. da Veiga Leprevost, B. A. GrĂŒning, S. Alves Aflitos, H. L. Röst, J. Uszkoreit, H. Barsnes, M. Vaudel, P. Moreno, L. Gatto, J. Weber, M. Bai, R. C. Jimenez, T. Sachsenberg, J. Pfeuffer, R. Vera Alvarez, J. Griss, A. I. Nesvizhskii, and Y. Perez-Riverol, “BioContainers: an open-source and community-driven framework for software standardization,” Bioinformatics, vol. 33, no. 16, pp. 2580–2582, Aug. 2017. [Online]. Available: https://academic.oup.com/bioinformatics/article/33/16/2580/3096437 [32] J. A. Novella, P. Emami Khoonsari, S. Herman, D. Whitenack, M. Capuccini, J. Burman, K. Kultima, and O. Spjuth, “Container-based bioinformatics with Pachyderm,” bioRxiv, Apr. 2018. [Online]. Available: http://biorxiv.org/lookup/doi/10.1101/299032 [33] O. Spjuth, M. Capuccini, M. Carone, A. Larsson, W. Schaal, J. Novella, P. Di Tommaso, C. Notredame, P. Moreno, P. E. Khoonsari, S. Herman, K. Kultima, and S. Lampa, “Approaches for containerized scientific workflows in cloud environments with applications in life science,” August 2018. [Online]. Available: https://peerj.com/preprints/27141 [34] S. Turol, C. Gutierrez, and S. Matykevich, “A Multitude of Kubernetes Deployment Tools: Kubespray, kops, and kubeadm,” https: //www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/, Jun. 2018. [Online]. Available: https://www.altoros.com/blog/a-multitude-of-kubernetes-deployment-tools-kubespray-kops-and-kubeadm/