1
0
Fork 0
molgenis-ops-docker-helm/README.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

2018-05-30 23:21:29 +02:00
# MOLGENIS Helm templates
2018-06-27 15:17:32 +02:00
These are the Helm templates that we will use for MOLGENIS operations. There are some prerequisites you need.
2018-05-30 23:21:29 +02:00
2018-06-27 15:17:32 +02:00
- docker
- minikube
2018-06-22 21:01:27 +02:00
## Useful commands for Kubernetes
2018-05-30 23:21:29 +02:00
2018-06-27 15:17:32 +02:00
Commands that can be used to get information from a kubernetes cluster
2018-05-30 23:21:29 +02:00
- kubectl get pods
Gets alls running instances of containers from a certain deployment
- kubectl get services
Gets all services from a deployment
- kubectl get pv
Gets all persistant volumes
- kubectl get pvc
Gets all persistent volume claims
- kubectl get deployments
Gets all deployments (comparable with docker-compose)
2018-06-27 15:17:32 +02:00
When you want to see what is running on the clusters at the CIT you have to make a context switch.
You can access the cluster with kubeconfig-files. You can obtain these by downloading them from the
MOLGENIS kubernetes cluster.
- Goto https://rancher.molgenis.org:7443
- Goto
2018-06-22 21:01:27 +02:00
## Useful commands for Helm
2018-05-30 23:21:29 +02:00
- helm install .
Do it in the root of the project where the Chart.yaml is located
It installs a release of a kubernetes stack. You also store this as an artifact in a kubernetes repository
- helm list
Lists all installed releases
- helm delete #release#
2018-06-22 21:01:27 +02:00
Performs a sort of mvn clean on your workspace. Very handy for zombie persistent volumes or claims.