Compare commits
No commits in common. "851bc64e502a4d697caf7248e808afd52dbafde6" and "e91ea8d22f9511e75578792fdb0820af5ac777bd" have entirely different histories.
851bc64e50
...
e91ea8d22f
39
README.md
39
README.md
@ -33,43 +33,21 @@ When you want to use kubernetes there are some commands you need to know. Also r
|
||||
|
||||
Commands that can be used to get information from a kubernetes cluster
|
||||
|
||||
**Pods**
|
||||
|
||||
- ```kubectl get pods (optional: [--all-namspaces])```
|
||||
- ```kubectl get pods```
|
||||
|
||||
Gets alls running instances of containers from a certain deployment
|
||||
|
||||
- ```kubectl describe pod #pod name# --namespace=#namesspace#```
|
||||
|
||||
Describes the pod initialization, also displays error messages more accurately if they occur
|
||||
|
||||
- ```kubectl remove pod #pod name# --namespace=#namespace# (optional: [--force] [--grace-period=0])```
|
||||
|
||||
Removes a pod from the system (but will restart if the option is set in the deployment,yaml *[see note]*).
|
||||
|
||||
**note:** You can not do this while the deployment of the service is still there
|
||||
|
||||
**Services**
|
||||
|
||||
- ```kubectl get services```
|
||||
|
||||
Gets all services from a deployment
|
||||
|
||||
**Volumes**
|
||||
|
||||
Gets all services from a deployment
|
||||
- ```kubectl get pv```
|
||||
|
||||
Gets all persistant volumes
|
||||
- ```kubectl get pvc```
|
||||
|
||||
Gets all persistent volume claims
|
||||
|
||||
**Deployments**
|
||||
|
||||
- ```kubectl get deployments```
|
||||
|
||||
Gets all deployments (comparable with docker-compose)
|
||||
|
||||
|
||||
## Remote clusters
|
||||
|
||||
@ -85,7 +63,7 @@ MOLGENIS kubernetes cluster.
|
||||
*Example*:
|
||||
```bash
|
||||
# When you added the MOLGENIS configuration to the original configuration
|
||||
kubectl config use-context molgenis
|
||||
kubectl config user-context molgenis
|
||||
|
||||
# or when you placed the MOLGENIS configuration besides the original one
|
||||
kubectl config use-context molgenis --kubeconfig=*full path to molgenis config*
|
||||
@ -106,15 +84,6 @@ This repository is serves also as a catalogue for Rancher. We have serveral apps
|
||||
- [HTTPD](molgenis-httpd/README.md)
|
||||
|
||||
### Useful commands
|
||||
You can you need to know to easily develop and deploy helm-charts
|
||||
|
||||
- ```helm lint .```
|
||||
|
||||
To test your helm chart for code errors.
|
||||
|
||||
- ```helm install . --dry-run --debug```
|
||||
|
||||
Check if your configuration deploys on a kubernetes cluster and check the configuration
|
||||
|
||||
- ```helm install .```
|
||||
|
||||
@ -123,7 +92,7 @@ You can you need to know to easily develop and deploy helm-charts
|
||||
- ```helm list```
|
||||
|
||||
Lists all installed releases
|
||||
- ```helm delete #release#```
|
||||
- ```helm delete #release#a```
|
||||
|
||||
Performs a sort of mvn clean on your workspace. Very handy for zombie persistent volumes or claims.
|
||||
|
@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Nexus stack for MOLGENIS
|
||||
name: molgenis-nexus
|
||||
version: 0.2.0
|
||||
sources:
|
||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-nexus/catalogIcon-molgenis-nexus.svg
|
@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Values.httpd.name }}
|
||||
labels:
|
||||
app: {{ .Values.httpd.name }}
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: {{ .Values.httpd.name }}
|
||||
port: {{ .Values.httpd.port }}
|
||||
selector:
|
||||
app: {{ .Values.httpd.selector }}
|
6
molgenis-nexus/v0.2.x/Chart.yaml
Normal file
6
molgenis-nexus/v0.2.x/Chart.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Nexus stack for MOLGENIS
|
||||
name: molgenis-nexus
|
||||
version: 0.2.0
|
||||
icon: https://github.com/sidohaakma/molgenis-docker-helm/blob/master/nexus/catalogIcon-molgenis-nexus.svg
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Loading…
Reference in New Issue
Block a user