forked from openebs/mayastor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(helm): clean up deploy yamls and improve helm templates
List of changes: * use defined storage class from storage-class.yaml in pvc.yaml * use develop tags on develop branch * generate pool.yaml from flexible template * add cpu-count, hugepages and image-pull-policy chart parameters * avoid hardcoded namespace in yamls * remove unused mayastor-daemonset-config.yaml * remove grafana monitor files that aren't maintained anymore * remove namespace.yaml and use "kubectl create namespace mayastor" instead Future directions: 1. We can use the new helm template to generate pool yaml according to our needs in e2e install test avoiding duplicate pool yaml. 2. scripts/generate-deploy-yamls.sh should be a highlevel tool with profile name argument (i.e. release, develop, test, ...) to make it really useful. For test profile we can generate config with two cpus per mayastor, for release we can use just one, etc. The point being that this is the recommended config for given env.
- Loading branch information
Jan Kryl
committed
Feb 10, 2021
1 parent
a3977c0
commit a14faff
Showing
27 changed files
with
96 additions
and
902 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
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
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
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,15 @@ | ||
{{- range .Values.mayastorPools }} | ||
--- | ||
apiVersion: "openebs.io/v1alpha1" | ||
kind: MayastorPool | ||
metadata: | ||
# Name can be anything as long as it is unique | ||
name: pool-on-{{ .node }} | ||
# or let k8s to generate a unique pool name | ||
#generateName: pool- | ||
namespace: {{ $.Release.Namespace }} | ||
spec: | ||
node: {{ .node }} | ||
# ATM only one disk device is supported (i.e. /dev/nvme1n1) | ||
disks: ["{{ .device }}"] | ||
{{- end }} |
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 |
---|---|---|
@@ -1,2 +1,8 @@ | ||
mayastorImagesTag: latest | ||
mayastorImagesTag: develop | ||
mayastorImagePullPolicy: Always | ||
mayastorCpuCount: "2" | ||
mayastorHugePagesGiB: "1" | ||
mayastorImagesRepo: "" | ||
mayastorPools: | ||
- node: "NODE_NAME" | ||
device: "DEVICE" |
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
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.